요약·해설과 원문, 전문 번역을 서로 분리했습니다. API 이름, symbol, source path는 원문 표기를 사용합니다.
1. 요약·해설
원문의 핵심 논리와 kernel programming 관점의 보충 설명입니다. 아래의 전문 번역과는 별도로 작성했습니다.
2. 영어 원문 전체
번역 기준이 된 Linux v6.18.37 원문입니다. 줄 번호는 이 버전의 파일 좌표입니다.
원문 전체 펼치기
Nintendo Wii device tree
========================
0) The root node
This node represents the Nintendo Wii video game console.
Required properties:
- model : Should be "nintendo,wii"
- compatible : Should be "nintendo,wii"
1) The "hollywood" node
This node represents the multi-function "Hollywood" chip, which packages
many of the devices found in the Nintendo Wii.
Required properties:
- compatible : Should be "nintendo,hollywood"
1.a) The Video Interface (VI) node
Represents the interface between the graphics processor and a external
video encoder.
Required properties:
- compatible : should be "nintendo,hollywood-vi","nintendo,flipper-vi"
- reg : should contain the VI registers location and length
- interrupts : should contain the VI interrupt
1.b) The Processor Interface (PI) node
Represents the data and control interface between the main processor
and graphics and audio processor.
Required properties:
- compatible : should be "nintendo,hollywood-pi","nintendo,flipper-pi"
- reg : should contain the PI registers location and length
1.b.i) The "Flipper" interrupt controller node
Represents the "Flipper" interrupt controller within the "Hollywood" chip.
The node for the "Flipper" interrupt controller must be placed under
the PI node.
Required properties:
- #interrupt-cells : <1>
- compatible : should be "nintendo,flipper-pic"
- interrupt-controller
1.c) The Digital Signal Processor (DSP) node
Represents the digital signal processor interface, designed to offload
audio related tasks.
Required properties:
- compatible : should be "nintendo,hollywood-dsp","nintendo,flipper-dsp"
- reg : should contain the DSP registers location and length
- interrupts : should contain the DSP interrupt
1.d) The Serial Interface (SI) node
Represents the interface to the four single bit serial interfaces.
The SI is a proprietary serial interface used normally to control gamepads.
It's NOT a RS232-type interface.
Required properties:
- compatible : should be "nintendo,hollywood-si","nintendo,flipper-si"
- reg : should contain the SI registers location and length
- interrupts : should contain the SI interrupt
1.e) The Audio Interface (AI) node
Represents the interface to the external 16-bit stereo digital-to-analog
converter.
Required properties:
- compatible : should be "nintendo,hollywood-ai","nintendo,flipper-ai"
- reg : should contain the AI registers location and length
- interrupts : should contain the AI interrupt
1.f) The External Interface (EXI) node
Represents the multi-channel SPI-like interface.
Required properties:
- compatible : should be "nintendo,hollywood-exi","nintendo,flipper-exi"
- reg : should contain the EXI registers location and length
- interrupts : should contain the EXI interrupt
1.h) The Enhanced Host Controller Interface (EHCI) node
Represents the USB 2.0 Enhanced Host Controller Interface.
Required properties:
- compatible : should be "nintendo,hollywood-usb-ehci","usb-ehci"
- reg : should contain the EHCI registers location and length
- interrupts : should contain the EHCI interrupt
1.i) The Secure Digital Host Controller Interface (SDHCI) nodes
Represent the Secure Digital Host Controller Interfaces.
Required properties:
- compatible : should be "nintendo,hollywood-sdhci","sdhci"
- reg : should contain the SDHCI registers location and length
- interrupts : should contain the SDHCI interrupt
1.j) The Inter-Processor Communication (IPC) node
Represent the Inter-Processor Communication interface. This interface
enables communications between the Broadway and the Starlet processors.
- compatible : should be "nintendo,hollywood-ipc"
- reg : should contain the IPC registers location and length
- interrupts : should contain the IPC interrupt
1.k) The "Hollywood" interrupt controller node
Represents the "Hollywood" interrupt controller within the
"Hollywood" chip.
Required properties:
- #interrupt-cells : <1>
- compatible : should be "nintendo,hollywood-pic"
- reg : should contain the controller registers location and length
- interrupt-controller
- interrupts : should contain the cascade interrupt of the "flipper" pic
1.m) The control node
Represents the control interface used to setup several miscellaneous
settings of the "Hollywood" chip like boot memory mappings, resets,
disk interface mode, etc.
Required properties:
- compatible : should be "nintendo,hollywood-control"
- reg : should contain the control registers location and length
1.n) The Disk Interface (DI) node
Represents the interface used to communicate with mass storage devices.
Required properties:
- compatible : should be "nintendo,hollywood-di"
- reg : should contain the DI registers location and length
- interrupts : should contain the DI interrupt
3. 한국어 전문 번역
영어 원문의 문단 순서와 의미를 유지한 전체 번역입니다. 코드, 함수명, symbol과 URL은 원문 표기를 유지합니다.
Wii root와 Hollywood
1-22Root node는 Nintendo Wii console을 나타내며 필수 `model`과 `compatible`은 모두 `nintendo,wii`입니다. Multi-function Hollywood chip node는 Wii의 여러 device를 포함하고 필수 `compatible`은 `nintendo,hollywood`입니다.
VI·PI·Flipper PIC
23-55VI는 graphics processor와 외부 video encoder를 연결하며 `nintendo,hollywood-vi`, `nintendo,flipper-vi` compatible, register 범위와 interrupt를 가집니다. PI는 processor 사이 data·control interface이며 `nintendo,hollywood-pi`, `nintendo,flipper-pi` compatible과 register 범위를 가집니다.
Hollywood 내부 Flipper interrupt controller는 PI 아래에 배치하며 `#interrupt-cells = <1>`, `nintendo,flipper-pic`, 빈 `interrupt-controller` property가 필요합니다.
DSP·SI·AI·EXI
56-99DSP는 audio offload용이며 `nintendo,hollywood-dsp`, `nintendo,flipper-dsp` compatible, register 범위와 interrupt를 사용합니다. SI는 RS232가 아닌 gamepad용 proprietary serial interface이며 `nintendo,hollywood-si`, `nintendo,flipper-si` compatible을 사용합니다.
AI는 외부 16-bit stereo DAC interface이며 `nintendo,hollywood-ai`, `nintendo,flipper-ai` compatible을 사용합니다. EXI는 multi-channel SPI-like interface이며 `nintendo,hollywood-exi`, `nintendo,flipper-exi` compatible을 사용합니다. 두 node 모두 해당 register 범위와 interrupt가 필요합니다.
EHCI·SDHCI·IPC·Hollywood PIC
100-141USB 2.0 EHCI node는 `nintendo,hollywood-usb-ehci`, `usb-ehci` compatible을, SDHCI node는 `nintendo,hollywood-sdhci`, `sdhci` compatible을 사용하며 register 범위와 interrupt가 필요합니다.
IPC는 Broadway와 Starlet processor 사이 통신 interface이며 `nintendo,hollywood-ipc`, register 범위와 interrupt를 사용합니다.
Hollywood PIC는 `#interrupt-cells = <1>`, `nintendo,hollywood-pic`, register 범위, 빈 `interrupt-controller`와 Flipper PIC의 cascade interrupt가 필요합니다.
Hollywood control과 Disk Interface
142-162Control node는 boot memory mapping, reset, disk-interface mode 등 Hollywood의 miscellaneous setting을 구성하며 `nintendo,hollywood-control` compatible과 register 범위를 가집니다.
DI는 mass-storage 통신용이며 `nintendo,hollywood-di` compatible, DI register 범위와 interrupt가 필요합니다.
요약과 해설
wii.txt:1-162GameCube 호환 interface와 Wii 전용 EHCI·SDHCI·IPC·Hollywood PIC·control node를 구분합니다.