← Documents Documentation/devicetree/bindings/mips/cavium/ciu2.txt GitHub 원문 ↗

Linux 6.18.37 · Devicetree Bindings

Cavium Central Interrupt Unit 2

Octeon CIU2의 64개 bank·64개 bit interrupt 바인딩입니다.

Source pathDocumentation/devicetree/bindings/mips/cavium/ciu2.txt
Source versionLinux v6.18.37
TranslationDUJINLABS 전문 번역 + 해설

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

1. 요약·해설

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

요약과 해설

ciu2.txt:1-27

CIU2의 확장 bank 범위와 68XX register 예제를 설명합니다.

2. 영어 원문 전체

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

원문 전체 펼치기
1 * Central Interrupt Unit
2
3 Properties:
4 - compatible: "cavium,octeon-6880-ciu2"
5
6 Compatibility with 68XX SOCs.
7
8 - interrupt-controller: This is an interrupt controller.
9
10 - reg: The base address of the CIU's register bank.
11
12 - #interrupt-cells: Must be <2>. The first cell is the bank within
13 the CIU and may have a value between 0 and 63. The second cell is
14 the bit within the bank and may also have a value between 0 and 63.
15
16 Example:
17 interrupt-controller@1070100000000 {
18 compatible = "cavium,octeon-6880-ciu2";
19 interrupt-controller;
20 /* Interrupts are specified by two parts:
21 * 1) Controller register (0..63)
22 * 2) Bit within the register (0..63)
23 */
24 #address-cells = <0>;
25 #interrupt-cells = <2>;
26 reg = <0x10701 0x00000000 0x0 0x4000000>;
27 };
28

3. 한국어 전문 번역

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

Octeon CIU2

1-15

CIU2의 `compatible`은 `cavium,octeon-6880-ciu2`이며 68XX SoC와 호환됩니다. `interrupt-controller`를 선언하고 `reg`는 CIU register bank base address입니다.

`#interrupt-cells`는 `<2>`입니다. 첫 cell은 0부터 63까지의 bank, 둘째 cell도 0부터 63까지의 bank 내부 bit입니다.

CIU2 interrupt specifier
Cell의미범위
0Controller register bank0..63
1Bank 내부 bit0..63

CIU2는 bank와 bit 모두 6-bit 범위를 사용합니다.

CIU2 대형 register-bank 예제

16-27

예제는 `#address-cells = <0>`, 두 cell interrupt specifier와 `0x1070100000000`에서 시작하는 길이 `0x4000000`의 register bank를 선언합니다.

interrupt-controller@1070100000000 {
        compatible = "cavium,octeon-6880-ciu2";
        interrupt-controller;
        /* Interrupts are specified by two parts:
         * 1) Controller register (0..63)
         * 2) Bit within the register (0..63)
         */
        #address-cells = <0>;
        #interrupt-cells = <2>;
        reg = <0x10701 0x00000000 0x0 0x4000000>;
};