← Documents Documentation/devicetree/bindings/spi/sqi-pic32.txt GitHub 원문 ↗

Linux 6.18.37 · Devicetree Bindings / SPI

Microchip PIC32 Quad SPI

PIC32 SQI의 bus·controller clock 순서와 interrupt 자원을 설명합니다.

Source pathDocumentation/devicetree/bindings/spi/sqi-pic32.txt
Source versionLinux v6.18.37
TranslationDUJINLABS 전문 번역 + 해설

요약·해설과 원문, 전문 번역을 서로 분리했습니다. API 이름, symbol, source path는 원문 표기를 사용합니다.

1. 요약·해설

원문의 핵심 논리와 kernel programming 관점의 보충 설명입니다. 아래의 전문 번역과는 별도로 작성했습니다.

요약과 해설

sqi-pic32.txt:1-18

PIC32 SQI의 bus·controller clock 순서와 interrupt 자원을 설명합니다. 접을 수 있는 영어 원문 전체와 줄 좌표를 보존하고, 한국어 전문 번역에서는 compatible·property·symbol·source path·수치·예제 코드를 원형대로 유지합니다.

2. 영어 원문 전체

번역 기준이 된 Linux v6.18.37 원문입니다. 줄 번호는 이 버전의 파일 좌표입니다.

원문 전체 펼치기
1 Microchip PIC32 Quad SPI controller
2 -----------------------------------
3 Required properties:
4 - compatible: Should be "microchip,pic32mzda-sqi".
5 - reg: Address and length of SQI controller register space.
6 - interrupts: Should contain SQI interrupt.
7 - clocks: Should contain phandle of two clocks in sequence, one that drives
8 clock on SPI bus and other that drives SQI controller.
9 - clock-names: Should be "spi_ck" and "reg_ck" in order.
10
11 Example:
12 sqi1: spi@1f8e2000 {
13 compatible = "microchip,pic32mzda-sqi";
14 reg = <0x1f8e2000 0x200>;
15 clocks = <&rootclk REF2CLK>, <&rootclk PB5CLK>;
16 clock-names = "spi_ck", "reg_ck";
17 interrupts = <169 IRQ_TYPE_LEVEL_HIGH>;
18 };
19

3. 한국어 전문 번역

영어 원문의 문단 순서와 의미를 유지한 전체 번역입니다. 코드, 함수명, symbol과 URL은 원문 표기를 유지합니다.

Microchip PIC32 Quad SPI

1-2

이 문서는 Microchip PIC32 Quad SPI(SQI) controller binding을 설명합니다.

필수 register, interrupt와 clock

3-10

`compatible`은 `microchip,pic32mzda-sqi`입니다. `reg`는 SQI controller register 공간의 주소와 길이이고 `interrupts`는 SQI interrupt입니다.

`clocks`는 SPI bus clock을 구동하는 clock과 SQI controller를 구동하는 clock 순서의 두 phandle입니다. `clock-names`는 같은 순서로 `spi_ck`, `reg_ck`입니다.

PIC32 SQI1 예제

11-18

예제의 `sqi1: spi@1f8e2000`은 `REF2CLK`을 `spi_ck`, `PB5CLK`을 `reg_ck`로 사용하고 level-high interrupt 169를 연결합니다.

sqi1: spi@1f8e2000 {
        compatible = "microchip,pic32mzda-sqi";
        reg = <0x1f8e2000 0x200>;
        clocks = <&rootclk REF2CLK>, <&rootclk PB5CLK>;
        clock-names = "spi_ck", "reg_ck";
        interrupts = <169 IRQ_TYPE_LEVEL_HIGH>;
};