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";
22 compatible = "fsl,lite5200b\0generic-mpc5200";
33 d-cache-line-size = <20>;
34 i-cache-line-size = <20>;
35 d-cache-size = <4000>; // L1, 16K
36 i-cache-size = <4000>; // L1, 16K
37 timebase-frequency = <0>; // from bootloader
38 bus-frequency = <0>; // from bootloader
39 clock-frequency = <0>; // from bootloader
45 device_type = "memory";
46 reg = <00000000 10000000>; // 256MB
50 model = "fsl,mpc5200b";
51 compatible = "mpc5200";
52 revision = ""; // from bootloader
53 #interrupt-cells = <3>;
55 ranges = <0 f0000000 f0010000>;
56 reg = <f0000000 00010000>;
57 bus-frequency = <0>; // from bootloader
58 system-frequency = <0>; // from bootloader
61 compatible = "mpc5200b-cdm\0mpc5200-cdm";
66 // 5200 interrupts are encoded into two levels;
67 linux,phandle = <500>;
69 #interrupt-cells = <3>;
70 device_type = "interrupt-controller";
71 compatible = "mpc5200b-pic\0mpc5200-pic";
76 gpt@600 { // General Purpose Timer
77 compatible = "mpc5200b-gpt\0mpc5200-gpt";
82 interrupt-parent = <500>;
86 gpt@610 { // General Purpose Timer
87 compatible = "mpc5200b-gpt\0mpc5200-gpt";
92 interrupt-parent = <500>;
95 gpt@620 { // General Purpose Timer
96 compatible = "mpc5200b-gpt\0mpc5200-gpt";
100 interrupts = <1 b 0>;
101 interrupt-parent = <500>;
104 gpt@630 { // General Purpose Timer
105 compatible = "mpc5200b-gpt\0mpc5200-gpt";
109 interrupts = <1 c 0>;
110 interrupt-parent = <500>;
113 gpt@640 { // General Purpose Timer
114 compatible = "mpc5200b-gpt\0mpc5200-gpt";
118 interrupts = <1 d 0>;
119 interrupt-parent = <500>;
122 gpt@650 { // General Purpose Timer
123 compatible = "mpc5200b-gpt\0mpc5200-gpt";
127 interrupts = <1 e 0>;
128 interrupt-parent = <500>;
131 gpt@660 { // General Purpose Timer
132 compatible = "mpc5200b-gpt\0mpc5200-gpt";
136 interrupts = <1 f 0>;
137 interrupt-parent = <500>;
140 gpt@670 { // General Purpose Timer
141 compatible = "mpc5200b-gpt\0mpc5200-gpt";
145 interrupts = <1 10 0>;
146 interrupt-parent = <500>;
149 rtc@800 { // Real time clock
150 compatible = "mpc5200b-rtc\0mpc5200-rtc";
153 interrupts = <1 5 0 1 6 0>;
154 interrupt-parent = <500>;
158 device_type = "mscan";
159 compatible = "mpc5200b-mscan\0mpc5200-mscan";
161 interrupts = <2 11 0>;
162 interrupt-parent = <500>;
167 device_type = "mscan";
168 compatible = "mpc5200b-mscan\0mpc5200-mscan";
170 interrupts = <2 12 0>;
171 interrupt-parent = <500>;
176 compatible = "mpc5200b-gpio\0mpc5200-gpio";
178 interrupts = <1 7 0>;
179 interrupt-parent = <500>;
183 compatible = "mpc5200b-gpio-wkup\0mpc5200-gpio-wkup";
185 interrupts = <1 8 0 0 3 0>;
186 interrupt-parent = <500>;
190 #interrupt-cells = <1>;
192 #address-cells = <3>;
194 compatible = "mpc5200b-pci\0mpc5200-pci";
196 interrupt-map-mask = <f800 0 0 7>;
197 interrupt-map = <c000 0 0 1 500 0 0 3 // 1st slot
202 c800 0 0 1 500 1 1 3 // 2nd slot
205 c800 0 0 4 500 0 0 3>;
206 clock-frequency = <0>; // From boot loader
207 interrupts = <2 8 0 2 9 0 2 a 0>;
208 interrupt-parent = <500>;
210 ranges = <42000000 0 80000000 80000000 0 20000000
211 02000000 0 a0000000 a0000000 0 10000000
212 01000000 0 00000000 b0000000 0 01000000>;
217 compatible = "mpc5200b-spi\0mpc5200-spi";
219 interrupts = <2 d 0 2 e 0>;
220 interrupt-parent = <500>;
224 device_type = "usb-ohci-be";
225 compatible = "mpc5200b-ohci\0mpc5200-ohci\0ohci-be";
227 interrupts = <2 6 0>;
228 interrupt-parent = <500>;
232 device_type = "dma-controller";
233 compatible = "mpc5200b-bestcomm\0mpc5200-bestcomm";
235 interrupts = <3 0 0 3 1 0 3 2 0 3 3 0
236 3 4 0 3 5 0 3 6 0 3 7 0
237 3 8 0 3 9 0 3 a 0 3 b 0
238 3 c 0 3 d 0 3 e 0 3 f 0>;
239 interrupt-parent = <500>;
243 compatible = "mpc5200b-xlb\0mpc5200-xlb";
247 serial@2000 { // PSC1
248 device_type = "serial";
249 compatible = "mpc5200b-psc-uart\0mpc5200-psc-uart";
250 port-number = <0>; // Logical port assignment
253 interrupts = <2 1 0>;
254 interrupt-parent = <500>;
257 // PSC2 in ac97 mode example
258 //ac97@2200 { // PSC2
259 // device_type = "sound";
260 // compatible = "mpc5200b-psc-ac97\0mpc5200-psc-ac97";
263 // interrupts = <2 2 0>;
264 // interrupt-parent = <500>;
267 // PSC3 in CODEC mode example
269 // device_type = "sound";
270 // compatible = "mpc5200b-psc-i2s"; //not 5200 compatible
273 // interrupts = <2 3 0>;
274 // interrupt-parent = <500>;
277 // PSC4 in uart mode example
278 //serial@2600 { // PSC4
279 // device_type = "serial";
280 // compatible = "mpc5200b-psc-uart\0mpc5200-psc-uart";
283 // interrupts = <2 b 0>;
284 // interrupt-parent = <500>;
287 // PSC5 in uart mode example
288 //serial@2800 { // PSC5
289 // device_type = "serial";
290 // compatible = "mpc5200b-psc-uart\0mpc5200-psc-uart";
293 // interrupts = <2 c 0>;
294 // interrupt-parent = <500>;
297 // PSC6 in spi mode example
299 // device_type = "spi";
300 // compatible = "mpc5200b-psc-spi\0mpc5200-psc-spi";
303 // interrupts = <2 4 0>;
304 // interrupt-parent = <500>;
308 device_type = "network";
309 compatible = "mpc5200b-fec\0mpc5200-fec";
311 mac-address = [ 02 03 04 05 06 07 ]; // Bad!
312 interrupts = <2 5 0>;
313 interrupt-parent = <500>;
318 compatible = "mpc5200b-ata\0mpc5200-ata";
320 interrupts = <2 7 0>;
321 interrupt-parent = <500>;
326 compatible = "mpc5200b-i2c\0mpc5200-i2c\0fsl-i2c";
329 interrupts = <2 f 0>;
330 interrupt-parent = <500>;
336 compatible = "mpc5200b-i2c\0mpc5200-i2c\0fsl-i2c";
339 interrupts = <2 10 0>;
340 interrupt-parent = <500>;
344 device_type = "sram";
345 compatible = "mpc5200b-sram\0mpc5200-sram\0sram";