162306a36Sopenharmony_ci
262306a36Sopenharmony_ciNintendo Wii device tree
362306a36Sopenharmony_ci========================
462306a36Sopenharmony_ci
562306a36Sopenharmony_ci0) The root node
662306a36Sopenharmony_ci
762306a36Sopenharmony_ci  This node represents the Nintendo Wii video game console.
862306a36Sopenharmony_ci
962306a36Sopenharmony_ci  Required properties:
1062306a36Sopenharmony_ci
1162306a36Sopenharmony_ci   - model : Should be "nintendo,wii"
1262306a36Sopenharmony_ci   - compatible : Should be "nintendo,wii"
1362306a36Sopenharmony_ci
1462306a36Sopenharmony_ci1) The "hollywood" node
1562306a36Sopenharmony_ci
1662306a36Sopenharmony_ci  This node represents the multi-function "Hollywood" chip, which packages
1762306a36Sopenharmony_ci  many of the devices found in the Nintendo Wii.
1862306a36Sopenharmony_ci
1962306a36Sopenharmony_ci  Required properties:
2062306a36Sopenharmony_ci
2162306a36Sopenharmony_ci   - compatible : Should be "nintendo,hollywood"
2262306a36Sopenharmony_ci
2362306a36Sopenharmony_ci1.a) The Video Interface (VI) node
2462306a36Sopenharmony_ci
2562306a36Sopenharmony_ci  Represents the interface between the graphics processor and a external
2662306a36Sopenharmony_ci  video encoder.
2762306a36Sopenharmony_ci
2862306a36Sopenharmony_ci  Required properties:
2962306a36Sopenharmony_ci
3062306a36Sopenharmony_ci   - compatible : should be "nintendo,hollywood-vi","nintendo,flipper-vi"
3162306a36Sopenharmony_ci   - reg : should contain the VI registers location and length
3262306a36Sopenharmony_ci   - interrupts : should contain the VI interrupt
3362306a36Sopenharmony_ci
3462306a36Sopenharmony_ci1.b) The Processor Interface (PI) node
3562306a36Sopenharmony_ci
3662306a36Sopenharmony_ci  Represents the data and control interface between the main processor
3762306a36Sopenharmony_ci  and graphics and audio processor.
3862306a36Sopenharmony_ci
3962306a36Sopenharmony_ci  Required properties:
4062306a36Sopenharmony_ci
4162306a36Sopenharmony_ci  - compatible : should be "nintendo,hollywood-pi","nintendo,flipper-pi"
4262306a36Sopenharmony_ci  - reg : should contain the PI registers location and length
4362306a36Sopenharmony_ci
4462306a36Sopenharmony_ci1.b.i) The "Flipper" interrupt controller node
4562306a36Sopenharmony_ci
4662306a36Sopenharmony_ci  Represents the "Flipper" interrupt controller within the "Hollywood" chip.
4762306a36Sopenharmony_ci  The node for the "Flipper" interrupt controller must be placed under
4862306a36Sopenharmony_ci  the PI node.
4962306a36Sopenharmony_ci
5062306a36Sopenharmony_ci  Required properties:
5162306a36Sopenharmony_ci
5262306a36Sopenharmony_ci  - #interrupt-cells : <1>
5362306a36Sopenharmony_ci  - compatible : should be "nintendo,flipper-pic"
5462306a36Sopenharmony_ci  - interrupt-controller
5562306a36Sopenharmony_ci
5662306a36Sopenharmony_ci1.c) The Digital Signal Processor (DSP) node
5762306a36Sopenharmony_ci
5862306a36Sopenharmony_ci  Represents the digital signal processor interface, designed to offload
5962306a36Sopenharmony_ci  audio related tasks.
6062306a36Sopenharmony_ci
6162306a36Sopenharmony_ci  Required properties:
6262306a36Sopenharmony_ci
6362306a36Sopenharmony_ci   - compatible : should be "nintendo,hollywood-dsp","nintendo,flipper-dsp"
6462306a36Sopenharmony_ci   - reg : should contain the DSP registers location and length
6562306a36Sopenharmony_ci   - interrupts : should contain the DSP interrupt
6662306a36Sopenharmony_ci
6762306a36Sopenharmony_ci1.d) The Serial Interface (SI) node
6862306a36Sopenharmony_ci
6962306a36Sopenharmony_ci  Represents the interface to the four single bit serial interfaces.
7062306a36Sopenharmony_ci  The SI is a proprietary serial interface used normally to control gamepads.
7162306a36Sopenharmony_ci  It's NOT a RS232-type interface.
7262306a36Sopenharmony_ci
7362306a36Sopenharmony_ci  Required properties:
7462306a36Sopenharmony_ci
7562306a36Sopenharmony_ci   - compatible : should be "nintendo,hollywood-si","nintendo,flipper-si"
7662306a36Sopenharmony_ci   - reg : should contain the SI registers location and length
7762306a36Sopenharmony_ci   - interrupts : should contain the SI interrupt
7862306a36Sopenharmony_ci
7962306a36Sopenharmony_ci1.e) The Audio Interface (AI) node
8062306a36Sopenharmony_ci
8162306a36Sopenharmony_ci  Represents the interface to the external 16-bit stereo digital-to-analog
8262306a36Sopenharmony_ci  converter.
8362306a36Sopenharmony_ci
8462306a36Sopenharmony_ci  Required properties:
8562306a36Sopenharmony_ci
8662306a36Sopenharmony_ci   - compatible : should be "nintendo,hollywood-ai","nintendo,flipper-ai"
8762306a36Sopenharmony_ci   - reg : should contain the AI registers location and length
8862306a36Sopenharmony_ci   - interrupts : should contain the AI interrupt
8962306a36Sopenharmony_ci
9062306a36Sopenharmony_ci1.f) The External Interface (EXI) node
9162306a36Sopenharmony_ci
9262306a36Sopenharmony_ci  Represents the multi-channel SPI-like interface.
9362306a36Sopenharmony_ci
9462306a36Sopenharmony_ci  Required properties:
9562306a36Sopenharmony_ci
9662306a36Sopenharmony_ci   - compatible : should be "nintendo,hollywood-exi","nintendo,flipper-exi"
9762306a36Sopenharmony_ci   - reg : should contain the EXI registers location and length
9862306a36Sopenharmony_ci   - interrupts : should contain the EXI interrupt
9962306a36Sopenharmony_ci
10062306a36Sopenharmony_ci1.h) The Enhanced Host Controller Interface (EHCI) node
10162306a36Sopenharmony_ci
10262306a36Sopenharmony_ci  Represents the USB 2.0 Enhanced Host Controller Interface.
10362306a36Sopenharmony_ci
10462306a36Sopenharmony_ci  Required properties:
10562306a36Sopenharmony_ci
10662306a36Sopenharmony_ci   - compatible : should be "nintendo,hollywood-usb-ehci","usb-ehci"
10762306a36Sopenharmony_ci   - reg : should contain the EHCI registers location and length
10862306a36Sopenharmony_ci   - interrupts : should contain the EHCI interrupt
10962306a36Sopenharmony_ci
11062306a36Sopenharmony_ci1.i) The Secure Digital Host Controller Interface (SDHCI) nodes
11162306a36Sopenharmony_ci
11262306a36Sopenharmony_ci  Represent the Secure Digital Host Controller Interfaces.
11362306a36Sopenharmony_ci
11462306a36Sopenharmony_ci  Required properties:
11562306a36Sopenharmony_ci
11662306a36Sopenharmony_ci   - compatible : should be "nintendo,hollywood-sdhci","sdhci"
11762306a36Sopenharmony_ci   - reg : should contain the SDHCI registers location and length
11862306a36Sopenharmony_ci   - interrupts : should contain the SDHCI interrupt
11962306a36Sopenharmony_ci
12062306a36Sopenharmony_ci1.j) The Inter-Processor Communication (IPC) node
12162306a36Sopenharmony_ci
12262306a36Sopenharmony_ci  Represent the Inter-Processor Communication interface. This interface
12362306a36Sopenharmony_ci  enables communications between the Broadway and the Starlet processors.
12462306a36Sopenharmony_ci
12562306a36Sopenharmony_ci   - compatible : should be "nintendo,hollywood-ipc"
12662306a36Sopenharmony_ci   - reg : should contain the IPC registers location and length
12762306a36Sopenharmony_ci   - interrupts : should contain the IPC interrupt
12862306a36Sopenharmony_ci
12962306a36Sopenharmony_ci1.k) The "Hollywood" interrupt controller node
13062306a36Sopenharmony_ci
13162306a36Sopenharmony_ci  Represents the "Hollywood" interrupt controller within the
13262306a36Sopenharmony_ci  "Hollywood" chip.
13362306a36Sopenharmony_ci
13462306a36Sopenharmony_ci  Required properties:
13562306a36Sopenharmony_ci
13662306a36Sopenharmony_ci  - #interrupt-cells : <1>
13762306a36Sopenharmony_ci  - compatible : should be "nintendo,hollywood-pic"
13862306a36Sopenharmony_ci  - reg : should contain the controller registers location and length
13962306a36Sopenharmony_ci  - interrupt-controller
14062306a36Sopenharmony_ci  - interrupts : should contain the cascade interrupt of the "flipper" pic
14162306a36Sopenharmony_ci
14262306a36Sopenharmony_ci1.l) The General Purpose I/O (GPIO) controller node
14362306a36Sopenharmony_ci
14462306a36Sopenharmony_ci  see Documentation/devicetree/bindings/gpio/nintendo,hollywood-gpio.txt
14562306a36Sopenharmony_ci
14662306a36Sopenharmony_ci1.m) The control node
14762306a36Sopenharmony_ci
14862306a36Sopenharmony_ci  Represents the control interface used to setup several miscellaneous
14962306a36Sopenharmony_ci  settings of the "Hollywood" chip like boot memory mappings, resets,
15062306a36Sopenharmony_ci  disk interface mode, etc.
15162306a36Sopenharmony_ci
15262306a36Sopenharmony_ci  Required properties:
15362306a36Sopenharmony_ci
15462306a36Sopenharmony_ci   - compatible : should be "nintendo,hollywood-control"
15562306a36Sopenharmony_ci   - reg : should contain the control registers location and length
15662306a36Sopenharmony_ci
15762306a36Sopenharmony_ci1.n) The Disk Interface (DI) node
15862306a36Sopenharmony_ci
15962306a36Sopenharmony_ci  Represents the interface used to communicate with mass storage devices.
16062306a36Sopenharmony_ci
16162306a36Sopenharmony_ci  Required properties:
16262306a36Sopenharmony_ci
16362306a36Sopenharmony_ci   - compatible : should be "nintendo,hollywood-di"
16462306a36Sopenharmony_ci   - reg : should contain the DI registers location and length
16562306a36Sopenharmony_ci   - interrupts : should contain the DI interrupt
16662306a36Sopenharmony_ci
167