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

Linux 6.18.37 · Devicetree Bindings

Cavium Central Interrupt Unit

Octeon CIU의 두 bank와 64-bit interrupt specifier 바인딩입니다.

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

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

1. 요약·해설

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

요약과 해설

ciu.txt:1-26

Bank 0·1과 bit 0~63의 두 cell 주소 방식을 설명합니다.

2. 영어 원문 전체

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

원문 전체 펼치기
1 * Central Interrupt Unit
2
3 Properties:
4 - compatible: "cavium,octeon-3860-ciu"
5
6 Compatibility with all cn3XXX, cn5XXX and cn63XX 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 of 0 or 1. The second cell is the bit
14 within the bank and may have a value between 0 and 63.
15
16 Example:
17 interrupt-controller@1070000000000 {
18 compatible = "cavium,octeon-3860-ciu";
19 interrupt-controller;
20 /* Interrupts are specified by two parts:
21 * 1) Controller register (0 or 1)
22 * 2) Bit within the register (0..63)
23 */
24 #interrupt-cells = <2>;
25 reg = <0x10700 0x00000000 0x0 0x7000>;
26 };
27

3. 한국어 전문 번역

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

Octeon Central Interrupt Unit

1-15

기본 CIU의 `compatible`은 `cavium,octeon-3860-ciu`이며 모든 cn3XXX, cn5XXX, cn63XX SoC와 호환됩니다. `interrupt-controller`를 선언하고 `reg`에 CIU register bank의 base address를 둡니다.

`#interrupt-cells`는 `<2>`입니다. 첫 cell은 CIU 내부 bank로 0 또는 1이고, 둘째 cell은 해당 bank 내부 bit로 0부터 63까지입니다.

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

기본 CIU의 두 cell 범위입니다.

CIU register-bank 예제

16-26

예제는 `0x1070000000000`에서 시작하는 길이 `0x7000`의 CIU register bank와 두 cell interrupt specifier를 선언합니다.

interrupt-controller@1070000000000 {
        compatible = "cavium,octeon-3860-ciu";
        interrupt-controller;
        /* Interrupts are specified by two parts:
         * 1) Controller register (0 or 1)
         * 2) Bit within the register (0..63)
         */
        #interrupt-cells = <2>;
        reg = <0x10700 0x00000000 0x0 0x7000>;
};