18c2ecf20Sopenharmony_ci
28c2ecf20Sopenharmony_ciNintendo Wii device tree
38c2ecf20Sopenharmony_ci========================
48c2ecf20Sopenharmony_ci
58c2ecf20Sopenharmony_ci0) The root node
68c2ecf20Sopenharmony_ci
78c2ecf20Sopenharmony_ci  This node represents the Nintendo Wii video game console.
88c2ecf20Sopenharmony_ci
98c2ecf20Sopenharmony_ci  Required properties:
108c2ecf20Sopenharmony_ci
118c2ecf20Sopenharmony_ci   - model : Should be "nintendo,wii"
128c2ecf20Sopenharmony_ci   - compatible : Should be "nintendo,wii"
138c2ecf20Sopenharmony_ci
148c2ecf20Sopenharmony_ci1) The "hollywood" node
158c2ecf20Sopenharmony_ci
168c2ecf20Sopenharmony_ci  This node represents the multi-function "Hollywood" chip, which packages
178c2ecf20Sopenharmony_ci  many of the devices found in the Nintendo Wii.
188c2ecf20Sopenharmony_ci
198c2ecf20Sopenharmony_ci  Required properties:
208c2ecf20Sopenharmony_ci
218c2ecf20Sopenharmony_ci   - compatible : Should be "nintendo,hollywood"
228c2ecf20Sopenharmony_ci
238c2ecf20Sopenharmony_ci1.a) The Video Interface (VI) node
248c2ecf20Sopenharmony_ci
258c2ecf20Sopenharmony_ci  Represents the interface between the graphics processor and a external
268c2ecf20Sopenharmony_ci  video encoder.
278c2ecf20Sopenharmony_ci
288c2ecf20Sopenharmony_ci  Required properties:
298c2ecf20Sopenharmony_ci
308c2ecf20Sopenharmony_ci   - compatible : should be "nintendo,hollywood-vi","nintendo,flipper-vi"
318c2ecf20Sopenharmony_ci   - reg : should contain the VI registers location and length
328c2ecf20Sopenharmony_ci   - interrupts : should contain the VI interrupt
338c2ecf20Sopenharmony_ci
348c2ecf20Sopenharmony_ci1.b) The Processor Interface (PI) node
358c2ecf20Sopenharmony_ci
368c2ecf20Sopenharmony_ci  Represents the data and control interface between the main processor
378c2ecf20Sopenharmony_ci  and graphics and audio processor.
388c2ecf20Sopenharmony_ci
398c2ecf20Sopenharmony_ci  Required properties:
408c2ecf20Sopenharmony_ci
418c2ecf20Sopenharmony_ci  - compatible : should be "nintendo,hollywood-pi","nintendo,flipper-pi"
428c2ecf20Sopenharmony_ci  - reg : should contain the PI registers location and length
438c2ecf20Sopenharmony_ci
448c2ecf20Sopenharmony_ci1.b.i) The "Flipper" interrupt controller node
458c2ecf20Sopenharmony_ci
468c2ecf20Sopenharmony_ci  Represents the "Flipper" interrupt controller within the "Hollywood" chip.
478c2ecf20Sopenharmony_ci  The node for the "Flipper" interrupt controller must be placed under
488c2ecf20Sopenharmony_ci  the PI node.
498c2ecf20Sopenharmony_ci
508c2ecf20Sopenharmony_ci  Required properties:
518c2ecf20Sopenharmony_ci
528c2ecf20Sopenharmony_ci  - #interrupt-cells : <1>
538c2ecf20Sopenharmony_ci  - compatible : should be "nintendo,flipper-pic"
548c2ecf20Sopenharmony_ci  - interrupt-controller
558c2ecf20Sopenharmony_ci
568c2ecf20Sopenharmony_ci1.c) The Digital Signal Procesor (DSP) node
578c2ecf20Sopenharmony_ci
588c2ecf20Sopenharmony_ci  Represents the digital signal processor interface, designed to offload
598c2ecf20Sopenharmony_ci  audio related tasks.
608c2ecf20Sopenharmony_ci
618c2ecf20Sopenharmony_ci  Required properties:
628c2ecf20Sopenharmony_ci
638c2ecf20Sopenharmony_ci   - compatible : should be "nintendo,hollywood-dsp","nintendo,flipper-dsp"
648c2ecf20Sopenharmony_ci   - reg : should contain the DSP registers location and length
658c2ecf20Sopenharmony_ci   - interrupts : should contain the DSP interrupt
668c2ecf20Sopenharmony_ci
678c2ecf20Sopenharmony_ci1.d) The Serial Interface (SI) node
688c2ecf20Sopenharmony_ci
698c2ecf20Sopenharmony_ci  Represents the interface to the four single bit serial interfaces.
708c2ecf20Sopenharmony_ci  The SI is a proprietary serial interface used normally to control gamepads.
718c2ecf20Sopenharmony_ci  It's NOT a RS232-type interface.
728c2ecf20Sopenharmony_ci
738c2ecf20Sopenharmony_ci  Required properties:
748c2ecf20Sopenharmony_ci
758c2ecf20Sopenharmony_ci   - compatible : should be "nintendo,hollywood-si","nintendo,flipper-si"
768c2ecf20Sopenharmony_ci   - reg : should contain the SI registers location and length
778c2ecf20Sopenharmony_ci   - interrupts : should contain the SI interrupt
788c2ecf20Sopenharmony_ci
798c2ecf20Sopenharmony_ci1.e) The Audio Interface (AI) node
808c2ecf20Sopenharmony_ci
818c2ecf20Sopenharmony_ci  Represents the interface to the external 16-bit stereo digital-to-analog
828c2ecf20Sopenharmony_ci  converter.
838c2ecf20Sopenharmony_ci
848c2ecf20Sopenharmony_ci  Required properties:
858c2ecf20Sopenharmony_ci
868c2ecf20Sopenharmony_ci   - compatible : should be "nintendo,hollywood-ai","nintendo,flipper-ai"
878c2ecf20Sopenharmony_ci   - reg : should contain the AI registers location and length
888c2ecf20Sopenharmony_ci   - interrupts : should contain the AI interrupt
898c2ecf20Sopenharmony_ci
908c2ecf20Sopenharmony_ci1.f) The External Interface (EXI) node
918c2ecf20Sopenharmony_ci
928c2ecf20Sopenharmony_ci  Represents the multi-channel SPI-like interface.
938c2ecf20Sopenharmony_ci
948c2ecf20Sopenharmony_ci  Required properties:
958c2ecf20Sopenharmony_ci
968c2ecf20Sopenharmony_ci   - compatible : should be "nintendo,hollywood-exi","nintendo,flipper-exi"
978c2ecf20Sopenharmony_ci   - reg : should contain the EXI registers location and length
988c2ecf20Sopenharmony_ci   - interrupts : should contain the EXI interrupt
998c2ecf20Sopenharmony_ci
1008c2ecf20Sopenharmony_ci1.g) The Open Host Controller Interface (OHCI) nodes
1018c2ecf20Sopenharmony_ci
1028c2ecf20Sopenharmony_ci  Represent the USB 1.x Open Host Controller Interfaces.
1038c2ecf20Sopenharmony_ci
1048c2ecf20Sopenharmony_ci  Required properties:
1058c2ecf20Sopenharmony_ci
1068c2ecf20Sopenharmony_ci   - compatible : should be "nintendo,hollywood-usb-ohci","usb-ohci"
1078c2ecf20Sopenharmony_ci   - reg : should contain the OHCI registers location and length
1088c2ecf20Sopenharmony_ci   - interrupts : should contain the OHCI interrupt
1098c2ecf20Sopenharmony_ci
1108c2ecf20Sopenharmony_ci1.h) The Enhanced Host Controller Interface (EHCI) node
1118c2ecf20Sopenharmony_ci
1128c2ecf20Sopenharmony_ci  Represents the USB 2.0 Enhanced Host Controller Interface.
1138c2ecf20Sopenharmony_ci
1148c2ecf20Sopenharmony_ci  Required properties:
1158c2ecf20Sopenharmony_ci
1168c2ecf20Sopenharmony_ci   - compatible : should be "nintendo,hollywood-usb-ehci","usb-ehci"
1178c2ecf20Sopenharmony_ci   - reg : should contain the EHCI registers location and length
1188c2ecf20Sopenharmony_ci   - interrupts : should contain the EHCI interrupt
1198c2ecf20Sopenharmony_ci
1208c2ecf20Sopenharmony_ci1.i) The Secure Digital Host Controller Interface (SDHCI) nodes
1218c2ecf20Sopenharmony_ci
1228c2ecf20Sopenharmony_ci  Represent the Secure Digital Host Controller Interfaces.
1238c2ecf20Sopenharmony_ci
1248c2ecf20Sopenharmony_ci  Required properties:
1258c2ecf20Sopenharmony_ci
1268c2ecf20Sopenharmony_ci   - compatible : should be "nintendo,hollywood-sdhci","sdhci"
1278c2ecf20Sopenharmony_ci   - reg : should contain the SDHCI registers location and length
1288c2ecf20Sopenharmony_ci   - interrupts : should contain the SDHCI interrupt
1298c2ecf20Sopenharmony_ci
1308c2ecf20Sopenharmony_ci1.j) The Inter-Processor Communication (IPC) node
1318c2ecf20Sopenharmony_ci
1328c2ecf20Sopenharmony_ci  Represent the Inter-Processor Communication interface. This interface
1338c2ecf20Sopenharmony_ci  enables communications between the Broadway and the Starlet processors.
1348c2ecf20Sopenharmony_ci
1358c2ecf20Sopenharmony_ci   - compatible : should be "nintendo,hollywood-ipc"
1368c2ecf20Sopenharmony_ci   - reg : should contain the IPC registers location and length
1378c2ecf20Sopenharmony_ci   - interrupts : should contain the IPC interrupt
1388c2ecf20Sopenharmony_ci
1398c2ecf20Sopenharmony_ci1.k) The "Hollywood" interrupt controller node
1408c2ecf20Sopenharmony_ci
1418c2ecf20Sopenharmony_ci  Represents the "Hollywood" interrupt controller within the
1428c2ecf20Sopenharmony_ci  "Hollywood" chip.
1438c2ecf20Sopenharmony_ci
1448c2ecf20Sopenharmony_ci  Required properties:
1458c2ecf20Sopenharmony_ci
1468c2ecf20Sopenharmony_ci  - #interrupt-cells : <1>
1478c2ecf20Sopenharmony_ci  - compatible : should be "nintendo,hollywood-pic"
1488c2ecf20Sopenharmony_ci  - reg : should contain the controller registers location and length
1498c2ecf20Sopenharmony_ci  - interrupt-controller
1508c2ecf20Sopenharmony_ci  - interrupts : should contain the cascade interrupt of the "flipper" pic
1518c2ecf20Sopenharmony_ci
1528c2ecf20Sopenharmony_ci1.l) The General Purpose I/O (GPIO) controller node
1538c2ecf20Sopenharmony_ci
1548c2ecf20Sopenharmony_ci  see Documentation/devicetree/bindings/gpio/nintendo,hollywood-gpio.txt
1558c2ecf20Sopenharmony_ci
1568c2ecf20Sopenharmony_ci1.m) The control node
1578c2ecf20Sopenharmony_ci
1588c2ecf20Sopenharmony_ci  Represents the control interface used to setup several miscellaneous
1598c2ecf20Sopenharmony_ci  settings of the "Hollywood" chip like boot memory mappings, resets,
1608c2ecf20Sopenharmony_ci  disk interface mode, etc.
1618c2ecf20Sopenharmony_ci
1628c2ecf20Sopenharmony_ci  Required properties:
1638c2ecf20Sopenharmony_ci
1648c2ecf20Sopenharmony_ci   - compatible : should be "nintendo,hollywood-control"
1658c2ecf20Sopenharmony_ci   - reg : should contain the control registers location and length
1668c2ecf20Sopenharmony_ci
1678c2ecf20Sopenharmony_ci1.n) The Disk Interface (DI) node
1688c2ecf20Sopenharmony_ci
1698c2ecf20Sopenharmony_ci  Represents the interface used to communicate with mass storage devices.
1708c2ecf20Sopenharmony_ci
1718c2ecf20Sopenharmony_ci  Required properties:
1728c2ecf20Sopenharmony_ci
1738c2ecf20Sopenharmony_ci   - compatible : should be "nintendo,hollywood-di"
1748c2ecf20Sopenharmony_ci   - reg : should contain the DI registers location and length
1758c2ecf20Sopenharmony_ci   - interrupts : should contain the DI interrupt
1768c2ecf20Sopenharmony_ci
177