]> bbs.cooldavid.org Git - net-next-2.6.git/blame - arch/powerpc/boot/dts/lite5200.dts
Merge branch 'fix/hda' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound-2.6
[net-next-2.6.git] / arch / powerpc / boot / dts / lite5200.dts
CommitLineData
c6d4d657
GL
1/*
2 * Lite5200 board Device Tree Source
3 *
05cbbc69 4 * Copyright 2006-2007 Secret Lab Technologies Ltd.
c6d4d657
GL
5 * Grant Likely <grant.likely@secretlab.ca>
6 *
7 * This program is free software; you can redistribute it and/or modify it
8 * under the terms of the GNU General Public License as published by the
9 * Free Software Foundation; either version 2 of the License, or (at your
10 * option) any later version.
11 */
12
a2884f37
GL
13/dts-v1/;
14
c6d4d657 15/ {
05cbbc69 16 model = "fsl,lite5200";
5b5820d0 17 compatible = "fsl,lite5200";
c6d4d657
GL
18 #address-cells = <1>;
19 #size-cells = <1>;
b8842451 20 interrupt-parent = <&mpc5200_pic>;
c6d4d657
GL
21
22 cpus {
c6d4d657
GL
23 #address-cells = <1>;
24 #size-cells = <0>;
25
26 PowerPC,5200@0 {
27 device_type = "cpu";
28 reg = <0>;
a2884f37
GL
29 d-cache-line-size = <32>;
30 i-cache-line-size = <32>;
31 d-cache-size = <0x4000>; // L1, 16K
32 i-cache-size = <0x4000>; // L1, 16K
c6d4d657
GL
33 timebase-frequency = <0>; // from bootloader
34 bus-frequency = <0>; // from bootloader
35 clock-frequency = <0>; // from bootloader
c6d4d657
GL
36 };
37 };
38
39 memory {
40 device_type = "memory";
a2884f37 41 reg = <0x00000000 0x04000000>; // 64MB
c6d4d657
GL
42 };
43
44 soc5200@f0000000 {
58a5be39
PG
45 #address-cells = <1>;
46 #size-cells = <1>;
24ce6bc4 47 compatible = "fsl,mpc5200-immr";
a2884f37
GL
48 ranges = <0 0xf0000000 0x0000c000>;
49 reg = <0xf0000000 0x00000100>;
c6d4d657 50 bus-frequency = <0>; // from bootloader
05cbbc69 51 system-frequency = <0>; // from bootloader
c6d4d657
GL
52
53 cdm@200 {
24ce6bc4 54 compatible = "fsl,mpc5200-cdm";
a2884f37 55 reg = <0x200 0x38>;
c6d4d657
GL
56 };
57
24ce6bc4 58 mpc5200_pic: interrupt-controller@500 {
c6d4d657 59 // 5200 interrupts are encoded into two levels;
c6d4d657
GL
60 interrupt-controller;
61 #interrupt-cells = <3>;
24ce6bc4 62 compatible = "fsl,mpc5200-pic";
a2884f37 63 reg = <0x500 0x80>;
c6d4d657
GL
64 };
65
24ce6bc4 66 timer@600 { // General Purpose Timer
d24bc314 67 compatible = "fsl,mpc5200-gpt";
a2884f37 68 reg = <0x600 0x10>;
c6d4d657 69 interrupts = <1 9 0>;
d24bc314 70 fsl,has-wdt;
c6d4d657
GL
71 };
72
24ce6bc4 73 timer@610 { // General Purpose Timer
d24bc314 74 compatible = "fsl,mpc5200-gpt";
a2884f37
GL
75 reg = <0x610 0x10>;
76 interrupts = <1 10 0>;
c6d4d657
GL
77 };
78
24ce6bc4 79 timer@620 { // General Purpose Timer
d24bc314 80 compatible = "fsl,mpc5200-gpt";
a2884f37
GL
81 reg = <0x620 0x10>;
82 interrupts = <1 11 0>;
c6d4d657
GL
83 };
84
24ce6bc4 85 timer@630 { // General Purpose Timer
d24bc314 86 compatible = "fsl,mpc5200-gpt";
a2884f37
GL
87 reg = <0x630 0x10>;
88 interrupts = <1 12 0>;
c6d4d657
GL
89 };
90
24ce6bc4 91 timer@640 { // General Purpose Timer
d24bc314 92 compatible = "fsl,mpc5200-gpt";
a2884f37
GL
93 reg = <0x640 0x10>;
94 interrupts = <1 13 0>;
c6d4d657
GL
95 };
96
24ce6bc4 97 timer@650 { // General Purpose Timer
d24bc314 98 compatible = "fsl,mpc5200-gpt";
a2884f37
GL
99 reg = <0x650 0x10>;
100 interrupts = <1 14 0>;
c6d4d657
GL
101 };
102
24ce6bc4 103 timer@660 { // General Purpose Timer
d24bc314 104 compatible = "fsl,mpc5200-gpt";
a2884f37
GL
105 reg = <0x660 0x10>;
106 interrupts = <1 15 0>;
c6d4d657
GL
107 };
108
24ce6bc4 109 timer@670 { // General Purpose Timer
d24bc314 110 compatible = "fsl,mpc5200-gpt";
a2884f37
GL
111 reg = <0x670 0x10>;
112 interrupts = <1 16 0>;
c6d4d657
GL
113 };
114
115 rtc@800 { // Real time clock
24ce6bc4 116 compatible = "fsl,mpc5200-rtc";
a2884f37 117 reg = <0x800 0x100>;
c6d4d657 118 interrupts = <1 5 0 1 6 0>;
c6d4d657
GL
119 };
120
24ce6bc4
GL
121 can@900 {
122 compatible = "fsl,mpc5200-mscan";
a2884f37 123 interrupts = <2 17 0>;
a2884f37 124 reg = <0x900 0x80>;
c6d4d657
GL
125 };
126
24ce6bc4
GL
127 can@980 {
128 compatible = "fsl,mpc5200-mscan";
a2884f37 129 interrupts = <2 18 0>;
a2884f37 130 reg = <0x980 0x80>;
c6d4d657
GL
131 };
132
133 gpio@b00 {
24ce6bc4 134 compatible = "fsl,mpc5200-gpio";
a2884f37 135 reg = <0xb00 0x40>;
c6d4d657 136 interrupts = <1 7 0>;
a2c9a603
DES
137 gpio-controller;
138 #gpio-cells = <2>;
c6d4d657
GL
139 };
140
24ce6bc4
GL
141 gpio@c00 {
142 compatible = "fsl,mpc5200-gpio-wkup";
a2884f37 143 reg = <0xc00 0x40>;
c6d4d657 144 interrupts = <1 8 0 0 3 0>;
a2c9a603
DES
145 gpio-controller;
146 #gpio-cells = <2>;
c6d4d657
GL
147 };
148
c6d4d657 149 spi@f00 {
24ce6bc4 150 compatible = "fsl,mpc5200-spi";
a2884f37
GL
151 reg = <0xf00 0x20>;
152 interrupts = <2 13 0 2 14 0>;
c6d4d657
GL
153 };
154
155 usb@1000 {
24ce6bc4 156 compatible = "fsl,mpc5200-ohci","ohci-be";
a2884f37 157 reg = <0x1000 0xff>;
c6d4d657 158 interrupts = <2 6 0>;
c6d4d657
GL
159 };
160
24ce6bc4 161 dma-controller@1200 {
24ce6bc4 162 compatible = "fsl,mpc5200-bestcomm";
a2884f37 163 reg = <0x1200 0x80>;
c6d4d657
GL
164 interrupts = <3 0 0 3 1 0 3 2 0 3 3 0
165 3 4 0 3 5 0 3 6 0 3 7 0
a2884f37
GL
166 3 8 0 3 9 0 3 10 0 3 11 0
167 3 12 0 3 13 0 3 14 0 3 15 0>;
c6d4d657
GL
168 };
169
170 xlb@1f00 {
24ce6bc4 171 compatible = "fsl,mpc5200-xlb";
a2884f37 172 reg = <0x1f00 0x100>;
c6d4d657
GL
173 };
174
175 serial@2000 { // PSC1
24ce6bc4 176 compatible = "fsl,mpc5200-psc-uart";
05cbbc69 177 cell-index = <0>;
a2884f37 178 reg = <0x2000 0x100>;
c6d4d657 179 interrupts = <2 1 0>;
c6d4d657
GL
180 };
181
05cbbc69
GL
182 // PSC2 in ac97 mode example
183 //ac97@2200 { // PSC2
24ce6bc4 184 // compatible = "fsl,mpc5200-psc-ac97";
05cbbc69 185 // cell-index = <1>;
a2884f37 186 // reg = <0x2200 0x100>;
05cbbc69 187 // interrupts = <2 2 0>;
05cbbc69 188 //};
c6d4d657
GL
189
190 // PSC3 in CODEC mode example
05cbbc69 191 //i2s@2400 { // PSC3
24ce6bc4 192 // compatible = "fsl,mpc5200-psc-i2s";
05cbbc69 193 // cell-index = <2>;
a2884f37 194 // reg = <0x2400 0x100>;
05cbbc69 195 // interrupts = <2 3 0>;
05cbbc69 196 //};
c6d4d657 197
05cbbc69 198 // PSC4 in uart mode example
c6d4d657 199 //serial@2600 { // PSC4
24ce6bc4 200 // compatible = "fsl,mpc5200-psc-uart";
05cbbc69 201 // cell-index = <3>;
a2884f37
GL
202 // reg = <0x2600 0x100>;
203 // interrupts = <2 11 0>;
c6d4d657
GL
204 //};
205
05cbbc69 206 // PSC5 in uart mode example
c6d4d657 207 //serial@2800 { // PSC5
24ce6bc4 208 // compatible = "fsl,mpc5200-psc-uart";
05cbbc69 209 // cell-index = <4>;
a2884f37
GL
210 // reg = <0x2800 0x100>;
211 // interrupts = <2 12 0>;
c6d4d657
GL
212 //};
213
05cbbc69
GL
214 // PSC6 in spi mode example
215 //spi@2c00 { // PSC6
24ce6bc4 216 // compatible = "fsl,mpc5200-psc-spi";
05cbbc69 217 // cell-index = <5>;
a2884f37 218 // reg = <0x2c00 0x100>;
05cbbc69 219 // interrupts = <2 4 0>;
05cbbc69 220 //};
c6d4d657
GL
221
222 ethernet@3000 {
24ce6bc4 223 compatible = "fsl,mpc5200-fec";
a2884f37 224 reg = <0x3000 0x400>;
24ce6bc4 225 local-mac-address = [ 00 00 00 00 00 00 ];
c6d4d657 226 interrupts = <2 5 0>;
8d813941
RB
227 phy-handle = <&phy0>;
228 };
229
230 mdio@3000 {
231 #address-cells = <1>;
232 #size-cells = <0>;
233 compatible = "fsl,mpc5200-mdio";
a2884f37 234 reg = <0x3000 0x400>; // fec range, since we need to setup fec interrupts
8d813941 235 interrupts = <2 5 0>; // these are for "mii command finished", not link changes & co.
8d813941 236
2b07be24
DES
237 phy0: ethernet-phy@0 {
238 reg = <0>;
8d813941 239 };
c6d4d657
GL
240 };
241
242 ata@3a00 {
24ce6bc4 243 compatible = "fsl,mpc5200-ata";
a2884f37 244 reg = <0x3a00 0x100>;
c6d4d657 245 interrupts = <2 7 0>;
c6d4d657
GL
246 };
247
248 i2c@3d00 {
ec9686c4
KG
249 #address-cells = <1>;
250 #size-cells = <0>;
24ce6bc4 251 compatible = "fsl,mpc5200-i2c","fsl-i2c";
a2884f37
GL
252 reg = <0x3d00 0x40>;
253 interrupts = <2 15 0>;
c6d4d657
GL
254 };
255
256 i2c@3d40 {
ec9686c4
KG
257 #address-cells = <1>;
258 #size-cells = <0>;
24ce6bc4 259 compatible = "fsl,mpc5200-i2c","fsl-i2c";
a2884f37
GL
260 reg = <0x3d40 0x40>;
261 interrupts = <2 16 0>;
a2c9a603
DES
262
263 eeprom@50 {
264 compatible = "atmel,24c02";
265 reg = <0x50>;
266 };
c6d4d657 267 };
a2c9a603 268
c6d4d657 269 sram@8000 {
b8842451 270 compatible = "fsl,mpc5200-sram";
a2884f37 271 reg = <0x8000 0x4000>;
c6d4d657
GL
272 };
273 };
1b3c5cda
KG
274
275 pci@f0000d00 {
276 #interrupt-cells = <1>;
277 #size-cells = <2>;
278 #address-cells = <3>;
279 device_type = "pci";
24ce6bc4 280 compatible = "fsl,mpc5200-pci";
a2884f37
GL
281 reg = <0xf0000d00 0x100>;
282 interrupt-map-mask = <0xf800 0 0 7>;
283 interrupt-map = <0xc000 0 0 1 &mpc5200_pic 0 0 3
284 0xc000 0 0 2 &mpc5200_pic 0 0 3
285 0xc000 0 0 3 &mpc5200_pic 0 0 3
286 0xc000 0 0 4 &mpc5200_pic 0 0 3>;
1b3c5cda 287 clock-frequency = <0>; // From boot loader
a2884f37 288 interrupts = <2 8 0 2 9 0 2 10 0>;
1b3c5cda 289 bus-range = <0 0>;
a2884f37
GL
290 ranges = <0x42000000 0 0x80000000 0x80000000 0 0x20000000
291 0x02000000 0 0xa0000000 0xa0000000 0 0x10000000
292 0x01000000 0 0x00000000 0xb0000000 0 0x01000000>;
1b3c5cda 293 };
a2c9a603
DES
294
295 localbus {
296 compatible = "fsl,mpc5200-lpb","simple-bus";
297 #address-cells = <2>;
298 #size-cells = <1>;
299
300 ranges = <0 0 0xff000000 0x01000000>;
301
302 flash@0,0 {
303 compatible = "amd,am29lv652d", "cfi-flash";
304 reg = <0 0 0x01000000>;
305 bank-width = <1>;
306 };
307 };
c6d4d657 308};