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","generic-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
44 device_type = "memory";
45 reg = <00000000 10000000>; // 256MB
49 model = "fsl,mpc5200b";
50 compatible = "mpc5200";
51 revision = ""; // from bootloader
53 ranges = <0 f0000000 0000c000>;
54 reg = <f0000000 00000100>;
55 bus-frequency = <0>; // from bootloader
56 system-frequency = <0>; // from bootloader
59 compatible = "mpc5200b-cdm","mpc5200-cdm";
63 mpc5200_pic: pic@500 {
64 // 5200 interrupts are encoded into two levels;
66 #interrupt-cells = <3>;
67 device_type = "interrupt-controller";
68 compatible = "mpc5200b-pic","mpc5200-pic";
72 gpt@600 { // General Purpose Timer
73 compatible = "fsl,mpc5200b-gpt","fsl,mpc5200-gpt";
77 interrupt-parent = <&mpc5200_pic>;
81 gpt@610 { // General Purpose Timer
82 compatible = "fsl,mpc5200b-gpt","fsl,mpc5200-gpt";
86 interrupt-parent = <&mpc5200_pic>;
89 gpt@620 { // General Purpose Timer
90 compatible = "fsl,mpc5200b-gpt","fsl,mpc5200-gpt";
94 interrupt-parent = <&mpc5200_pic>;
97 gpt@630 { // General Purpose Timer
98 compatible = "fsl,mpc5200b-gpt","fsl,mpc5200-gpt";
101 interrupts = <1 c 0>;
102 interrupt-parent = <&mpc5200_pic>;
105 gpt@640 { // General Purpose Timer
106 compatible = "fsl,mpc5200b-gpt","fsl,mpc5200-gpt";
109 interrupts = <1 d 0>;
110 interrupt-parent = <&mpc5200_pic>;
113 gpt@650 { // General Purpose Timer
114 compatible = "fsl,mpc5200b-gpt","fsl,mpc5200-gpt";
117 interrupts = <1 e 0>;
118 interrupt-parent = <&mpc5200_pic>;
121 gpt@660 { // General Purpose Timer
122 compatible = "fsl,mpc5200b-gpt","fsl,mpc5200-gpt";
125 interrupts = <1 f 0>;
126 interrupt-parent = <&mpc5200_pic>;
129 gpt@670 { // General Purpose Timer
130 compatible = "fsl,mpc5200b-gpt","fsl,mpc5200-gpt";
133 interrupts = <1 10 0>;
134 interrupt-parent = <&mpc5200_pic>;
137 rtc@800 { // Real time clock
138 compatible = "mpc5200b-rtc","mpc5200-rtc";
141 interrupts = <1 5 0 1 6 0>;
142 interrupt-parent = <&mpc5200_pic>;
146 device_type = "mscan";
147 compatible = "mpc5200b-mscan","mpc5200-mscan";
149 interrupts = <2 11 0>;
150 interrupt-parent = <&mpc5200_pic>;
155 device_type = "mscan";
156 compatible = "mpc5200b-mscan","mpc5200-mscan";
158 interrupts = <2 12 0>;
159 interrupt-parent = <&mpc5200_pic>;
164 compatible = "mpc5200b-gpio","mpc5200-gpio";
166 interrupts = <1 7 0>;
167 interrupt-parent = <&mpc5200_pic>;
171 compatible = "mpc5200b-gpio-wkup","mpc5200-gpio-wkup";
173 interrupts = <1 8 0 0 3 0>;
174 interrupt-parent = <&mpc5200_pic>;
179 compatible = "mpc5200b-spi","mpc5200-spi";
181 interrupts = <2 d 0 2 e 0>;
182 interrupt-parent = <&mpc5200_pic>;
186 device_type = "usb-ohci-be";
187 compatible = "mpc5200b-ohci","mpc5200-ohci","ohci-be";
189 interrupts = <2 6 0>;
190 interrupt-parent = <&mpc5200_pic>;
194 device_type = "dma-controller";
195 compatible = "mpc5200b-bestcomm","mpc5200-bestcomm";
197 interrupts = <3 0 0 3 1 0 3 2 0 3 3 0
198 3 4 0 3 5 0 3 6 0 3 7 0
199 3 8 0 3 9 0 3 a 0 3 b 0
200 3 c 0 3 d 0 3 e 0 3 f 0>;
201 interrupt-parent = <&mpc5200_pic>;
205 compatible = "mpc5200b-xlb","mpc5200-xlb";
209 serial@2000 { // PSC1
210 device_type = "serial";
211 compatible = "mpc5200b-psc-uart","mpc5200-psc-uart";
212 port-number = <0>; // Logical port assignment
215 interrupts = <2 1 0>;
216 interrupt-parent = <&mpc5200_pic>;
219 // PSC2 in ac97 mode example
220 //ac97@2200 { // PSC2
221 // device_type = "sound";
222 // compatible = "mpc5200b-psc-ac97","mpc5200-psc-ac97";
225 // interrupts = <2 2 0>;
226 // interrupt-parent = <&mpc5200_pic>;
229 // PSC3 in CODEC mode example
231 // device_type = "sound";
232 // compatible = "mpc5200b-psc-i2s"; //not 5200 compatible
235 // interrupts = <2 3 0>;
236 // interrupt-parent = <&mpc5200_pic>;
239 // PSC4 in uart mode example
240 //serial@2600 { // PSC4
241 // device_type = "serial";
242 // compatible = "mpc5200b-psc-uart","mpc5200-psc-uart";
245 // interrupts = <2 b 0>;
246 // interrupt-parent = <&mpc5200_pic>;
249 // PSC5 in uart mode example
250 //serial@2800 { // PSC5
251 // device_type = "serial";
252 // compatible = "mpc5200b-psc-uart","mpc5200-psc-uart";
255 // interrupts = <2 c 0>;
256 // interrupt-parent = <&mpc5200_pic>;
259 // PSC6 in spi mode example
261 // device_type = "spi";
262 // compatible = "mpc5200b-psc-spi","mpc5200-psc-spi";
265 // interrupts = <2 4 0>;
266 // interrupt-parent = <&mpc5200_pic>;
270 device_type = "network";
271 compatible = "mpc5200b-fec","mpc5200-fec";
273 mac-address = [ 02 03 04 05 06 07 ]; // Bad!
274 interrupts = <2 5 0>;
275 interrupt-parent = <&mpc5200_pic>;
276 phy-handle = <&phy0>;
280 #address-cells = <1>;
282 device_type = "mdio";
283 compatible = "mpc5200b-fec-phy";
284 reg = <3000 400>; // fec range, since we need to setup fec interrupts
285 interrupts = <2 5 0>; // these are for "mii command finished", not link changes & co.
286 interrupt-parent = <&mpc5200_pic>;
288 phy0:ethernet-phy@0 {
289 device_type = "ethernet-phy";
296 compatible = "mpc5200b-ata","mpc5200-ata";
298 interrupts = <2 7 0>;
299 interrupt-parent = <&mpc5200_pic>;
303 #address-cells = <1>;
305 compatible = "mpc5200b-i2c","mpc5200-i2c","fsl-i2c";
308 interrupts = <2 f 0>;
309 interrupt-parent = <&mpc5200_pic>;
314 #address-cells = <1>;
316 compatible = "mpc5200b-i2c","mpc5200-i2c","fsl-i2c";
319 interrupts = <2 10 0>;
320 interrupt-parent = <&mpc5200_pic>;
324 device_type = "sram";
325 compatible = "mpc5200b-sram","mpc5200-sram","sram";
331 #interrupt-cells = <1>;
333 #address-cells = <3>;
335 compatible = "mpc5200b-pci","mpc5200-pci";
336 reg = <f0000d00 100>;
337 interrupt-map-mask = <f800 0 0 7>;
338 interrupt-map = <c000 0 0 1 &mpc5200_pic 0 0 3 // 1st slot
339 c000 0 0 2 &mpc5200_pic 1 1 3
340 c000 0 0 3 &mpc5200_pic 1 2 3
341 c000 0 0 4 &mpc5200_pic 1 3 3
343 c800 0 0 1 &mpc5200_pic 1 1 3 // 2nd slot
344 c800 0 0 2 &mpc5200_pic 1 2 3
345 c800 0 0 3 &mpc5200_pic 1 3 3
346 c800 0 0 4 &mpc5200_pic 0 0 3>;
347 clock-frequency = <0>; // From boot loader
348 interrupts = <2 8 0 2 9 0 2 a 0>;
349 interrupt-parent = <&mpc5200_pic>;
351 ranges = <42000000 0 80000000 80000000 0 20000000
352 02000000 0 a0000000 a0000000 0 10000000
353 01000000 0 00000000 b0000000 0 01000000>;