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.
16 model = "fsl,lite5200b";
17 compatible = "fsl,lite5200b";
28 d-cache-line-size = <32>;
29 i-cache-line-size = <32>;
30 d-cache-size = <0x4000>; // L1, 16K
31 i-cache-size = <0x4000>; // L1, 16K
32 timebase-frequency = <0>; // from bootloader
33 bus-frequency = <0>; // from bootloader
34 clock-frequency = <0>; // from bootloader
39 device_type = "memory";
40 reg = <0x00000000 0x10000000>; // 256MB
46 compatible = "fsl,mpc5200b-immr";
47 ranges = <0 0xf0000000 0x0000c000>;
48 reg = <0xf0000000 0x00000100>;
49 bus-frequency = <0>; // from bootloader
50 system-frequency = <0>; // from bootloader
53 compatible = "fsl,mpc5200b-cdm","fsl,mpc5200-cdm";
57 mpc5200_pic: interrupt-controller@500 {
58 // 5200 interrupts are encoded into two levels;
60 #interrupt-cells = <3>;
61 device_type = "interrupt-controller";
62 compatible = "fsl,mpc5200b-pic","fsl,mpc5200-pic";
66 timer@600 { // General Purpose Timer
67 compatible = "fsl,mpc5200b-gpt","fsl,mpc5200-gpt";
71 interrupt-parent = <&mpc5200_pic>;
75 timer@610 { // General Purpose Timer
76 compatible = "fsl,mpc5200b-gpt","fsl,mpc5200-gpt";
79 interrupts = <1 10 0>;
80 interrupt-parent = <&mpc5200_pic>;
83 timer@620 { // General Purpose Timer
84 compatible = "fsl,mpc5200b-gpt","fsl,mpc5200-gpt";
87 interrupts = <1 11 0>;
88 interrupt-parent = <&mpc5200_pic>;
91 timer@630 { // General Purpose Timer
92 compatible = "fsl,mpc5200b-gpt","fsl,mpc5200-gpt";
95 interrupts = <1 12 0>;
96 interrupt-parent = <&mpc5200_pic>;
99 timer@640 { // General Purpose Timer
100 compatible = "fsl,mpc5200b-gpt","fsl,mpc5200-gpt";
103 interrupts = <1 13 0>;
104 interrupt-parent = <&mpc5200_pic>;
107 timer@650 { // General Purpose Timer
108 compatible = "fsl,mpc5200b-gpt","fsl,mpc5200-gpt";
111 interrupts = <1 14 0>;
112 interrupt-parent = <&mpc5200_pic>;
115 timer@660 { // General Purpose Timer
116 compatible = "fsl,mpc5200b-gpt","fsl,mpc5200-gpt";
119 interrupts = <1 15 0>;
120 interrupt-parent = <&mpc5200_pic>;
123 timer@670 { // General Purpose Timer
124 compatible = "fsl,mpc5200b-gpt","fsl,mpc5200-gpt";
127 interrupts = <1 16 0>;
128 interrupt-parent = <&mpc5200_pic>;
131 rtc@800 { // Real time clock
132 compatible = "fsl,mpc5200b-rtc","fsl,mpc5200-rtc";
135 interrupts = <1 5 0 1 6 0>;
136 interrupt-parent = <&mpc5200_pic>;
140 compatible = "fsl,mpc5200b-mscan","fsl,mpc5200-mscan";
142 interrupts = <2 17 0>;
143 interrupt-parent = <&mpc5200_pic>;
148 compatible = "fsl,mpc5200b-mscan","fsl,mpc5200-mscan";
150 interrupts = <2 18 0>;
151 interrupt-parent = <&mpc5200_pic>;
156 compatible = "fsl,mpc5200b-gpio","fsl,mpc5200-gpio";
158 interrupts = <1 7 0>;
159 interrupt-parent = <&mpc5200_pic>;
163 compatible = "fsl,mpc5200b-gpio-wkup","fsl,mpc5200-gpio-wkup";
165 interrupts = <1 8 0 0 3 0>;
166 interrupt-parent = <&mpc5200_pic>;
170 compatible = "fsl,mpc5200b-spi","fsl,mpc5200-spi";
172 interrupts = <2 13 0 2 14 0>;
173 interrupt-parent = <&mpc5200_pic>;
177 compatible = "fsl,mpc5200b-ohci","fsl,mpc5200-ohci","ohci-be";
179 interrupts = <2 6 0>;
180 interrupt-parent = <&mpc5200_pic>;
183 dma-controller@1200 {
184 device_type = "dma-controller";
185 compatible = "fsl,mpc5200b-bestcomm","fsl,mpc5200-bestcomm";
187 interrupts = <3 0 0 3 1 0 3 2 0 3 3 0
188 3 4 0 3 5 0 3 6 0 3 7 0
189 3 8 0 3 9 0 3 10 0 3 11 0
190 3 12 0 3 13 0 3 14 0 3 15 0>;
191 interrupt-parent = <&mpc5200_pic>;
195 compatible = "fsl,mpc5200b-xlb","fsl,mpc5200-xlb";
196 reg = <0x1f00 0x100>;
199 serial@2000 { // PSC1
200 device_type = "serial";
201 compatible = "fsl,mpc5200b-psc-uart","fsl,mpc5200-psc-uart";
202 port-number = <0>; // Logical port assignment
204 reg = <0x2000 0x100>;
205 interrupts = <2 1 0>;
206 interrupt-parent = <&mpc5200_pic>;
209 // PSC2 in ac97 mode example
210 //ac97@2200 { // PSC2
211 // compatible = "fsl,mpc5200b-psc-ac97","fsl,mpc5200-psc-ac97";
213 // reg = <0x2200 0x100>;
214 // interrupts = <2 2 0>;
215 // interrupt-parent = <&mpc5200_pic>;
218 // PSC3 in CODEC mode example
220 // compatible = "fsl,mpc5200b-psc-i2s"; //not 5200 compatible
222 // reg = <0x2400 0x100>;
223 // interrupts = <2 3 0>;
224 // interrupt-parent = <&mpc5200_pic>;
227 // PSC4 in uart mode example
228 //serial@2600 { // PSC4
229 // device_type = "serial";
230 // compatible = "fsl,mpc5200b-psc-uart","fsl,mpc5200-psc-uart";
232 // reg = <0x2600 0x100>;
233 // interrupts = <2 11 0>;
234 // interrupt-parent = <&mpc5200_pic>;
237 // PSC5 in uart mode example
238 //serial@2800 { // PSC5
239 // device_type = "serial";
240 // compatible = "fsl,mpc5200b-psc-uart","fsl,mpc5200-psc-uart";
242 // reg = <0x2800 0x100>;
243 // interrupts = <2 12 0>;
244 // interrupt-parent = <&mpc5200_pic>;
247 // PSC6 in spi mode example
249 // compatible = "fsl,mpc5200b-psc-spi","fsl,mpc5200-psc-spi";
251 // reg = <0x2c00 0x100>;
252 // interrupts = <2 4 0>;
253 // interrupt-parent = <&mpc5200_pic>;
257 device_type = "network";
258 compatible = "fsl,mpc5200b-fec","fsl,mpc5200-fec";
259 reg = <0x3000 0x400>;
260 local-mac-address = [ 00 00 00 00 00 00 ];
261 interrupts = <2 5 0>;
262 interrupt-parent = <&mpc5200_pic>;
263 phy-handle = <&phy0>;
267 #address-cells = <1>;
269 compatible = "fsl,mpc5200b-mdio", "fsl,mpc5200-mdio";
270 reg = <0x3000 0x400>; // fec range, since we need to setup fec interrupts
271 interrupts = <2 5 0>; // these are for "mii command finished", not link changes & co.
272 interrupt-parent = <&mpc5200_pic>;
274 phy0: ethernet-phy@0 {
275 device_type = "ethernet-phy";
282 compatible = "fsl,mpc5200b-ata","fsl,mpc5200-ata";
283 reg = <0x3a00 0x100>;
284 interrupts = <2 7 0>;
285 interrupt-parent = <&mpc5200_pic>;
289 #address-cells = <1>;
291 compatible = "fsl,mpc5200b-i2c","fsl,mpc5200-i2c","fsl-i2c";
294 interrupts = <2 15 0>;
295 interrupt-parent = <&mpc5200_pic>;
300 #address-cells = <1>;
302 compatible = "fsl,mpc5200b-i2c","fsl,mpc5200-i2c","fsl-i2c";
305 interrupts = <2 16 0>;
306 interrupt-parent = <&mpc5200_pic>;
310 compatible = "fsl,mpc5200b-sram","fsl,mpc5200-sram","sram";
311 reg = <0x8000 0x4000>;
316 #interrupt-cells = <1>;
318 #address-cells = <3>;
320 compatible = "fsl,mpc5200b-pci","fsl,mpc5200-pci";
321 reg = <0xf0000d00 0x100>;
322 interrupt-map-mask = <0xf800 0 0 7>;
323 interrupt-map = <0xc000 0 0 1 &mpc5200_pic 0 0 3 // 1st slot
324 0xc000 0 0 2 &mpc5200_pic 1 1 3
325 0xc000 0 0 3 &mpc5200_pic 1 2 3
326 0xc000 0 0 4 &mpc5200_pic 1 3 3
328 0xc800 0 0 1 &mpc5200_pic 1 1 3 // 2nd slot
329 0xc800 0 0 2 &mpc5200_pic 1 2 3
330 0xc800 0 0 3 &mpc5200_pic 1 3 3
331 0xc800 0 0 4 &mpc5200_pic 0 0 3>;
332 clock-frequency = <0>; // From boot loader
333 interrupts = <2 8 0 2 9 0 2 10 0>;
334 interrupt-parent = <&mpc5200_pic>;
336 ranges = <0x42000000 0 0x80000000 0x80000000 0 0x20000000
337 0x02000000 0 0xa0000000 0xa0000000 0 0x10000000
338 0x01000000 0 0x00000000 0xb0000000 0 0x01000000>;