2 * Lite5200B board Device Tree Source
4 * Copyright 2006-2007 Secret Lab Technologies Ltd.
5 * Grant Likely <grant.likely@secretlab.ca>
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.
14 * WARNING: Do not depend on this tree layout remaining static just yet.
15 * The MPC5200 device tree conventions are still in flux
16 * Keep an eye on the linuxppc-dev mailing list for more details
20 model = "fsl,lite5200b";
21 compatible = "fsl,lite5200b";
32 d-cache-line-size = <20>;
33 i-cache-line-size = <20>;
34 d-cache-size = <4000>; // L1, 16K
35 i-cache-size = <4000>; // L1, 16K
36 timebase-frequency = <0>; // from bootloader
37 bus-frequency = <0>; // from bootloader
38 clock-frequency = <0>; // from bootloader
43 device_type = "memory";
44 reg = <00000000 10000000>; // 256MB
50 compatible = "fsl,mpc5200b-immr";
51 ranges = <0 f0000000 0000c000>;
52 reg = <f0000000 00000100>;
53 bus-frequency = <0>; // from bootloader
54 system-frequency = <0>; // from bootloader
57 compatible = "fsl,mpc5200b-cdm","fsl,mpc5200-cdm";
61 mpc5200_pic: interrupt-controller@500 {
62 // 5200 interrupts are encoded into two levels;
64 #interrupt-cells = <3>;
65 device_type = "interrupt-controller";
66 compatible = "fsl,mpc5200b-pic","fsl,mpc5200-pic";
70 timer@600 { // General Purpose Timer
71 compatible = "fsl,mpc5200b-gpt","fsl,mpc5200-gpt";
75 interrupt-parent = <&mpc5200_pic>;
79 timer@610 { // General Purpose Timer
80 compatible = "fsl,mpc5200b-gpt","fsl,mpc5200-gpt";
84 interrupt-parent = <&mpc5200_pic>;
87 timer@620 { // General Purpose Timer
88 compatible = "fsl,mpc5200b-gpt","fsl,mpc5200-gpt";
92 interrupt-parent = <&mpc5200_pic>;
95 timer@630 { // General Purpose Timer
96 compatible = "fsl,mpc5200b-gpt","fsl,mpc5200-gpt";
100 interrupt-parent = <&mpc5200_pic>;
103 timer@640 { // General Purpose Timer
104 compatible = "fsl,mpc5200b-gpt","fsl,mpc5200-gpt";
107 interrupts = <1 d 0>;
108 interrupt-parent = <&mpc5200_pic>;
111 timer@650 { // General Purpose Timer
112 compatible = "fsl,mpc5200b-gpt","fsl,mpc5200-gpt";
115 interrupts = <1 e 0>;
116 interrupt-parent = <&mpc5200_pic>;
119 timer@660 { // General Purpose Timer
120 compatible = "fsl,mpc5200b-gpt","fsl,mpc5200-gpt";
123 interrupts = <1 f 0>;
124 interrupt-parent = <&mpc5200_pic>;
127 timer@670 { // General Purpose Timer
128 compatible = "fsl,mpc5200b-gpt","fsl,mpc5200-gpt";
131 interrupts = <1 10 0>;
132 interrupt-parent = <&mpc5200_pic>;
135 rtc@800 { // Real time clock
136 compatible = "fsl,mpc5200b-rtc","fsl,mpc5200-rtc";
139 interrupts = <1 5 0 1 6 0>;
140 interrupt-parent = <&mpc5200_pic>;
144 compatible = "fsl,mpc5200b-mscan","fsl,mpc5200-mscan";
146 interrupts = <2 11 0>;
147 interrupt-parent = <&mpc5200_pic>;
152 compatible = "fsl,mpc5200b-mscan","fsl,mpc5200-mscan";
154 interrupts = <2 12 0>;
155 interrupt-parent = <&mpc5200_pic>;
160 compatible = "fsl,mpc5200b-gpio","fsl,mpc5200-gpio";
162 interrupts = <1 7 0>;
163 interrupt-parent = <&mpc5200_pic>;
167 compatible = "fsl,mpc5200b-gpio-wkup","fsl,mpc5200-gpio-wkup";
169 interrupts = <1 8 0 0 3 0>;
170 interrupt-parent = <&mpc5200_pic>;
174 compatible = "fsl,mpc5200b-spi","fsl,mpc5200-spi";
176 interrupts = <2 d 0 2 e 0>;
177 interrupt-parent = <&mpc5200_pic>;
181 compatible = "fsl,mpc5200b-ohci","fsl,mpc5200-ohci","ohci-be";
183 interrupts = <2 6 0>;
184 interrupt-parent = <&mpc5200_pic>;
187 dma-controller@1200 {
188 device_type = "dma-controller";
189 compatible = "fsl,mpc5200b-bestcomm","fsl,mpc5200-bestcomm";
191 interrupts = <3 0 0 3 1 0 3 2 0 3 3 0
192 3 4 0 3 5 0 3 6 0 3 7 0
193 3 8 0 3 9 0 3 a 0 3 b 0
194 3 c 0 3 d 0 3 e 0 3 f 0>;
195 interrupt-parent = <&mpc5200_pic>;
199 compatible = "fsl,mpc5200b-xlb","fsl,mpc5200-xlb";
203 serial@2000 { // PSC1
204 device_type = "serial";
205 compatible = "fsl,mpc5200b-psc-uart","fsl,mpc5200-psc-uart";
206 port-number = <0>; // Logical port assignment
209 interrupts = <2 1 0>;
210 interrupt-parent = <&mpc5200_pic>;
213 // PSC2 in ac97 mode example
214 //ac97@2200 { // PSC2
215 // compatible = "fsl,mpc5200b-psc-ac97","fsl,mpc5200-psc-ac97";
218 // interrupts = <2 2 0>;
219 // interrupt-parent = <&mpc5200_pic>;
222 // PSC3 in CODEC mode example
224 // compatible = "fsl,mpc5200b-psc-i2s"; //not 5200 compatible
227 // interrupts = <2 3 0>;
228 // interrupt-parent = <&mpc5200_pic>;
231 // PSC4 in uart mode example
232 //serial@2600 { // PSC4
233 // device_type = "serial";
234 // compatible = "fsl,mpc5200b-psc-uart","fsl,mpc5200-psc-uart";
237 // interrupts = <2 b 0>;
238 // interrupt-parent = <&mpc5200_pic>;
241 // PSC5 in uart mode example
242 //serial@2800 { // PSC5
243 // device_type = "serial";
244 // compatible = "fsl,mpc5200b-psc-uart","fsl,mpc5200-psc-uart";
247 // interrupts = <2 c 0>;
248 // interrupt-parent = <&mpc5200_pic>;
251 // PSC6 in spi mode example
253 // compatible = "fsl,mpc5200b-psc-spi","fsl,mpc5200-psc-spi";
256 // interrupts = <2 4 0>;
257 // interrupt-parent = <&mpc5200_pic>;
261 device_type = "network";
262 compatible = "fsl,mpc5200b-fec","fsl,mpc5200-fec";
264 local-mac-address = [ 00 00 00 00 00 00 ];
265 interrupts = <2 5 0>;
266 interrupt-parent = <&mpc5200_pic>;
267 phy-handle = <&phy0>;
271 #address-cells = <1>;
273 compatible = "fsl,mpc5200b-mdio";
274 reg = <3000 400>; // fec range, since we need to setup fec interrupts
275 interrupts = <2 5 0>; // these are for "mii command finished", not link changes & co.
276 interrupt-parent = <&mpc5200_pic>;
278 phy0:ethernet-phy@0 {
279 device_type = "ethernet-phy";
286 compatible = "fsl,mpc5200b-ata","fsl,mpc5200-ata";
288 interrupts = <2 7 0>;
289 interrupt-parent = <&mpc5200_pic>;
293 #address-cells = <1>;
295 compatible = "fsl,mpc5200b-i2c","fsl,mpc5200-i2c","fsl-i2c";
298 interrupts = <2 f 0>;
299 interrupt-parent = <&mpc5200_pic>;
304 #address-cells = <1>;
306 compatible = "fsl,mpc5200b-i2c","fsl,mpc5200-i2c","fsl-i2c";
309 interrupts = <2 10 0>;
310 interrupt-parent = <&mpc5200_pic>;
314 compatible = "fsl,mpc5200b-sram","fsl,mpc5200-sram","sram";
320 #interrupt-cells = <1>;
322 #address-cells = <3>;
324 compatible = "fsl,mpc5200b-pci","fsl,mpc5200-pci";
325 reg = <f0000d00 100>;
326 interrupt-map-mask = <f800 0 0 7>;
327 interrupt-map = <c000 0 0 1 &mpc5200_pic 0 0 3 // 1st slot
328 c000 0 0 2 &mpc5200_pic 1 1 3
329 c000 0 0 3 &mpc5200_pic 1 2 3
330 c000 0 0 4 &mpc5200_pic 1 3 3
332 c800 0 0 1 &mpc5200_pic 1 1 3 // 2nd slot
333 c800 0 0 2 &mpc5200_pic 1 2 3
334 c800 0 0 3 &mpc5200_pic 1 3 3
335 c800 0 0 4 &mpc5200_pic 0 0 3>;
336 clock-frequency = <0>; // From boot loader
337 interrupts = <2 8 0 2 9 0 2 a 0>;
338 interrupt-parent = <&mpc5200_pic>;
340 ranges = <42000000 0 80000000 80000000 0 20000000
341 02000000 0 a0000000 a0000000 0 10000000
342 01000000 0 00000000 b0000000 0 01000000>;