2 * arch/powerpc/boot/dts/wii.dts
4 * Nintendo Wii platform device tree source
5 * Copyright (C) 2008-2009 The GameCube Linux Team
6 * Copyright (C) 2008,2009 Albert Herranz
8 * This program is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU General Public License
10 * as published by the Free Software Foundation; either version 2
11 * of the License, or (at your option) any later version.
16 #include <dt-bindings/gpio/gpio.h>
19 * This is commented-out for now.
20 * Until a later patch is merged, the kernel can use only the first
21 * contiguous RAM range and will BUG() if the memreserve is outside
24 /*/memreserve/ 0x10000000 0x0004000;*/ /* DSP RAM */
27 model = "nintendo,wii";
28 compatible = "nintendo,wii";
33 bootargs = "root=/dev/mmcblk0p2 rootwait udbg-immortal";
37 device_type = "memory";
38 reg = <0x00000000 0x01800000 /* MEM1 24MB 1T-SRAM */
39 0x10000000 0x04000000>; /* MEM2 64MB GDDR3 */
49 clock-frequency = <729000000>; /* 729MHz */
50 bus-frequency = <243000000>; /* 243MHz core-to-bus 3x */
51 timebase-frequency = <60750000>; /* 243MHz / 4 */
52 i-cache-line-size = <32>;
53 d-cache-line-size = <32>;
54 i-cache-size = <32768>;
55 d-cache-size = <32768>;
59 /* devices contained in the hollywood chipset */
63 compatible = "nintendo,hollywood";
64 ranges = <0x0c000000 0x0c000000 0x01000000
65 0x0d000000 0x0d000000 0x00800000
66 0x0d800000 0x0d800000 0x00800000>;
67 interrupt-parent = <&PIC0>;
70 compatible = "nintendo,hollywood-vi",
71 "nintendo,flipper-vi";
72 reg = <0x0c002000 0x100>;
76 processor-interface@c003000 {
77 compatible = "nintendo,hollywood-pi",
78 "nintendo,flipper-pi";
79 reg = <0x0c003000 0x100>;
82 #interrupt-cells = <1>;
83 compatible = "nintendo,flipper-pic";
91 compatible = "nintendo,hollywood-dsp",
92 "nintendo,flipper-dsp";
93 reg = <0x0c005000 0x200>;
97 gamepad-controller@d006400 {
98 compatible = "nintendo,hollywood-si",
99 "nintendo,flipper-si";
100 reg = <0x0d006400 0x100>;
105 compatible = "nintendo,hollywood-ai",
106 "nintendo,flipper-ai";
107 reg = <0x0d006c00 0x20>;
111 /* External Interface bus */
113 compatible = "nintendo,hollywood-exi",
114 "nintendo,flipper-exi";
115 reg = <0x0d006800 0x40>;
116 virtual-reg = <0x0d006800>;
121 compatible = "nintendo,hollywood-usb-ehci",
123 reg = <0x0d040000 0x100>;
125 interrupt-parent = <&PIC1>;
129 compatible = "nintendo,hollywood-usb-ohci",
131 reg = <0x0d050000 0x100>;
133 interrupt-parent = <&PIC1>;
137 compatible = "nintendo,hollywood-usb-ohci",
139 reg = <0x0d060000 0x100>;
141 interrupt-parent = <&PIC1>;
145 compatible = "nintendo,hollywood-sdhci",
147 reg = <0x0d070000 0x200>;
149 interrupt-parent = <&PIC1>;
153 compatible = "nintendo,hollywood-sdhci",
155 reg = <0x0d080000 0x200>;
157 interrupt-parent = <&PIC1>;
161 compatible = "nintendo,hollywood-ipc";
162 reg = <0x0d000000 0x10>;
164 interrupt-parent = <&PIC1>;
168 #interrupt-cells = <1>;
169 compatible = "nintendo,hollywood-pic";
170 reg = <0x0d800030 0x10>;
171 interrupt-controller;
177 compatible = "nintendo,hollywood-gpio";
178 reg = <0x0d8000c0 0x40>;
183 "POWER", "SHUTDOWN", "FAN", "DC_DC",
184 "DI_SPIN", "SLOT_LED", "EJECT_BTN", "SLOT_IN",
185 "SENSOR_BAR", "DO_EJECT", "EEP_CS", "EEP_CLK",
186 "EEP_MOSI", "EEP_MISO", "AVE_SCL", "AVE_SDA",
187 "DEBUG0", "DEBUG1", "DEBUG2", "DEBUG3",
188 "DEBUG4", "DEBUG5", "DEBUG6", "DEBUG7";
191 * This is commented out while a standard binding
192 * for i2c over gpio is defined.
196 #address-cells = <1>;
198 compatible = "i2c-gpio";
202 clock-frequency = <250000>;
208 AVE: audio-video-encoder@70 {
209 compatible = "nintendo,wii-audio-video-encoder";
217 compatible = "nintendo,hollywood-control";
218 reg = <0x0d800100 0x300>;
222 compatible = "nintendo,hollywood-di";
223 reg = <0x0d806000 0x40>;
229 compatible = "gpio-leds";
231 /* This is the blue LED in the disk drive slot */
233 label = "wii:blue:drive_slot";
234 gpios = <&GPIO 5 GPIO_ACTIVE_HIGH>;