xref: /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/powerpc/nintendo/wii.txt (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun
2*4882a593SmuzhiyunNintendo Wii device tree
3*4882a593Smuzhiyun========================
4*4882a593Smuzhiyun
5*4882a593Smuzhiyun0) The root node
6*4882a593Smuzhiyun
7*4882a593Smuzhiyun  This node represents the Nintendo Wii video game console.
8*4882a593Smuzhiyun
9*4882a593Smuzhiyun  Required properties:
10*4882a593Smuzhiyun
11*4882a593Smuzhiyun   - model : Should be "nintendo,wii"
12*4882a593Smuzhiyun   - compatible : Should be "nintendo,wii"
13*4882a593Smuzhiyun
14*4882a593Smuzhiyun1) The "hollywood" node
15*4882a593Smuzhiyun
16*4882a593Smuzhiyun  This node represents the multi-function "Hollywood" chip, which packages
17*4882a593Smuzhiyun  many of the devices found in the Nintendo Wii.
18*4882a593Smuzhiyun
19*4882a593Smuzhiyun  Required properties:
20*4882a593Smuzhiyun
21*4882a593Smuzhiyun   - compatible : Should be "nintendo,hollywood"
22*4882a593Smuzhiyun
23*4882a593Smuzhiyun1.a) The Video Interface (VI) node
24*4882a593Smuzhiyun
25*4882a593Smuzhiyun  Represents the interface between the graphics processor and a external
26*4882a593Smuzhiyun  video encoder.
27*4882a593Smuzhiyun
28*4882a593Smuzhiyun  Required properties:
29*4882a593Smuzhiyun
30*4882a593Smuzhiyun   - compatible : should be "nintendo,hollywood-vi","nintendo,flipper-vi"
31*4882a593Smuzhiyun   - reg : should contain the VI registers location and length
32*4882a593Smuzhiyun   - interrupts : should contain the VI interrupt
33*4882a593Smuzhiyun
34*4882a593Smuzhiyun1.b) The Processor Interface (PI) node
35*4882a593Smuzhiyun
36*4882a593Smuzhiyun  Represents the data and control interface between the main processor
37*4882a593Smuzhiyun  and graphics and audio processor.
38*4882a593Smuzhiyun
39*4882a593Smuzhiyun  Required properties:
40*4882a593Smuzhiyun
41*4882a593Smuzhiyun  - compatible : should be "nintendo,hollywood-pi","nintendo,flipper-pi"
42*4882a593Smuzhiyun  - reg : should contain the PI registers location and length
43*4882a593Smuzhiyun
44*4882a593Smuzhiyun1.b.i) The "Flipper" interrupt controller node
45*4882a593Smuzhiyun
46*4882a593Smuzhiyun  Represents the "Flipper" interrupt controller within the "Hollywood" chip.
47*4882a593Smuzhiyun  The node for the "Flipper" interrupt controller must be placed under
48*4882a593Smuzhiyun  the PI node.
49*4882a593Smuzhiyun
50*4882a593Smuzhiyun  Required properties:
51*4882a593Smuzhiyun
52*4882a593Smuzhiyun  - #interrupt-cells : <1>
53*4882a593Smuzhiyun  - compatible : should be "nintendo,flipper-pic"
54*4882a593Smuzhiyun  - interrupt-controller
55*4882a593Smuzhiyun
56*4882a593Smuzhiyun1.c) The Digital Signal Procesor (DSP) node
57*4882a593Smuzhiyun
58*4882a593Smuzhiyun  Represents the digital signal processor interface, designed to offload
59*4882a593Smuzhiyun  audio related tasks.
60*4882a593Smuzhiyun
61*4882a593Smuzhiyun  Required properties:
62*4882a593Smuzhiyun
63*4882a593Smuzhiyun   - compatible : should be "nintendo,hollywood-dsp","nintendo,flipper-dsp"
64*4882a593Smuzhiyun   - reg : should contain the DSP registers location and length
65*4882a593Smuzhiyun   - interrupts : should contain the DSP interrupt
66*4882a593Smuzhiyun
67*4882a593Smuzhiyun1.d) The Serial Interface (SI) node
68*4882a593Smuzhiyun
69*4882a593Smuzhiyun  Represents the interface to the four single bit serial interfaces.
70*4882a593Smuzhiyun  The SI is a proprietary serial interface used normally to control gamepads.
71*4882a593Smuzhiyun  It's NOT a RS232-type interface.
72*4882a593Smuzhiyun
73*4882a593Smuzhiyun  Required properties:
74*4882a593Smuzhiyun
75*4882a593Smuzhiyun   - compatible : should be "nintendo,hollywood-si","nintendo,flipper-si"
76*4882a593Smuzhiyun   - reg : should contain the SI registers location and length
77*4882a593Smuzhiyun   - interrupts : should contain the SI interrupt
78*4882a593Smuzhiyun
79*4882a593Smuzhiyun1.e) The Audio Interface (AI) node
80*4882a593Smuzhiyun
81*4882a593Smuzhiyun  Represents the interface to the external 16-bit stereo digital-to-analog
82*4882a593Smuzhiyun  converter.
83*4882a593Smuzhiyun
84*4882a593Smuzhiyun  Required properties:
85*4882a593Smuzhiyun
86*4882a593Smuzhiyun   - compatible : should be "nintendo,hollywood-ai","nintendo,flipper-ai"
87*4882a593Smuzhiyun   - reg : should contain the AI registers location and length
88*4882a593Smuzhiyun   - interrupts : should contain the AI interrupt
89*4882a593Smuzhiyun
90*4882a593Smuzhiyun1.f) The External Interface (EXI) node
91*4882a593Smuzhiyun
92*4882a593Smuzhiyun  Represents the multi-channel SPI-like interface.
93*4882a593Smuzhiyun
94*4882a593Smuzhiyun  Required properties:
95*4882a593Smuzhiyun
96*4882a593Smuzhiyun   - compatible : should be "nintendo,hollywood-exi","nintendo,flipper-exi"
97*4882a593Smuzhiyun   - reg : should contain the EXI registers location and length
98*4882a593Smuzhiyun   - interrupts : should contain the EXI interrupt
99*4882a593Smuzhiyun
100*4882a593Smuzhiyun1.g) The Open Host Controller Interface (OHCI) nodes
101*4882a593Smuzhiyun
102*4882a593Smuzhiyun  Represent the USB 1.x Open Host Controller Interfaces.
103*4882a593Smuzhiyun
104*4882a593Smuzhiyun  Required properties:
105*4882a593Smuzhiyun
106*4882a593Smuzhiyun   - compatible : should be "nintendo,hollywood-usb-ohci","usb-ohci"
107*4882a593Smuzhiyun   - reg : should contain the OHCI registers location and length
108*4882a593Smuzhiyun   - interrupts : should contain the OHCI interrupt
109*4882a593Smuzhiyun
110*4882a593Smuzhiyun1.h) The Enhanced Host Controller Interface (EHCI) node
111*4882a593Smuzhiyun
112*4882a593Smuzhiyun  Represents the USB 2.0 Enhanced Host Controller Interface.
113*4882a593Smuzhiyun
114*4882a593Smuzhiyun  Required properties:
115*4882a593Smuzhiyun
116*4882a593Smuzhiyun   - compatible : should be "nintendo,hollywood-usb-ehci","usb-ehci"
117*4882a593Smuzhiyun   - reg : should contain the EHCI registers location and length
118*4882a593Smuzhiyun   - interrupts : should contain the EHCI interrupt
119*4882a593Smuzhiyun
120*4882a593Smuzhiyun1.i) The Secure Digital Host Controller Interface (SDHCI) nodes
121*4882a593Smuzhiyun
122*4882a593Smuzhiyun  Represent the Secure Digital Host Controller Interfaces.
123*4882a593Smuzhiyun
124*4882a593Smuzhiyun  Required properties:
125*4882a593Smuzhiyun
126*4882a593Smuzhiyun   - compatible : should be "nintendo,hollywood-sdhci","sdhci"
127*4882a593Smuzhiyun   - reg : should contain the SDHCI registers location and length
128*4882a593Smuzhiyun   - interrupts : should contain the SDHCI interrupt
129*4882a593Smuzhiyun
130*4882a593Smuzhiyun1.j) The Inter-Processor Communication (IPC) node
131*4882a593Smuzhiyun
132*4882a593Smuzhiyun  Represent the Inter-Processor Communication interface. This interface
133*4882a593Smuzhiyun  enables communications between the Broadway and the Starlet processors.
134*4882a593Smuzhiyun
135*4882a593Smuzhiyun   - compatible : should be "nintendo,hollywood-ipc"
136*4882a593Smuzhiyun   - reg : should contain the IPC registers location and length
137*4882a593Smuzhiyun   - interrupts : should contain the IPC interrupt
138*4882a593Smuzhiyun
139*4882a593Smuzhiyun1.k) The "Hollywood" interrupt controller node
140*4882a593Smuzhiyun
141*4882a593Smuzhiyun  Represents the "Hollywood" interrupt controller within the
142*4882a593Smuzhiyun  "Hollywood" chip.
143*4882a593Smuzhiyun
144*4882a593Smuzhiyun  Required properties:
145*4882a593Smuzhiyun
146*4882a593Smuzhiyun  - #interrupt-cells : <1>
147*4882a593Smuzhiyun  - compatible : should be "nintendo,hollywood-pic"
148*4882a593Smuzhiyun  - reg : should contain the controller registers location and length
149*4882a593Smuzhiyun  - interrupt-controller
150*4882a593Smuzhiyun  - interrupts : should contain the cascade interrupt of the "flipper" pic
151*4882a593Smuzhiyun
152*4882a593Smuzhiyun1.l) The General Purpose I/O (GPIO) controller node
153*4882a593Smuzhiyun
154*4882a593Smuzhiyun  see Documentation/devicetree/bindings/gpio/nintendo,hollywood-gpio.txt
155*4882a593Smuzhiyun
156*4882a593Smuzhiyun1.m) The control node
157*4882a593Smuzhiyun
158*4882a593Smuzhiyun  Represents the control interface used to setup several miscellaneous
159*4882a593Smuzhiyun  settings of the "Hollywood" chip like boot memory mappings, resets,
160*4882a593Smuzhiyun  disk interface mode, etc.
161*4882a593Smuzhiyun
162*4882a593Smuzhiyun  Required properties:
163*4882a593Smuzhiyun
164*4882a593Smuzhiyun   - compatible : should be "nintendo,hollywood-control"
165*4882a593Smuzhiyun   - reg : should contain the control registers location and length
166*4882a593Smuzhiyun
167*4882a593Smuzhiyun1.n) The Disk Interface (DI) node
168*4882a593Smuzhiyun
169*4882a593Smuzhiyun  Represents the interface used to communicate with mass storage devices.
170*4882a593Smuzhiyun
171*4882a593Smuzhiyun  Required properties:
172*4882a593Smuzhiyun
173*4882a593Smuzhiyun   - compatible : should be "nintendo,hollywood-di"
174*4882a593Smuzhiyun   - reg : should contain the DI registers location and length
175*4882a593Smuzhiyun   - interrupts : should contain the DI interrupt
176*4882a593Smuzhiyun
177