2 * phyCORE-MPC5200B-tiny (pcm030) board Device Tree Source
4 * Copyright 2006 Pengutronix
5 * Sascha Hauer <s.hauer@pengutronix.de>
6 * Copyright 2007 Pengutronix
7 * Juergen Beisert <j.beisert@pengutronix.de>
9 * This program is free software; you can redistribute it and/or modify it
10 * under the terms of the GNU General Public License as published by the
11 * Free Software Foundation; either version 2 of the License, or (at your
12 * option) any later version.
18 model = "phytec,pcm030";
19 compatible = "phytec,pcm030";
30 d-cache-line-size = <32>;
31 i-cache-line-size = <32>;
32 d-cache-size = <0x4000>; /* L1, 16K */
33 i-cache-size = <0x4000>; /* L1, 16K */
34 timebase-frequency = <0>; /* From Bootloader */
35 bus-frequency = <0>; /* From Bootloader */
36 clock-frequency = <0>; /* From Bootloader */
41 device_type = "memory";
42 reg = <0x00000000 0x04000000>; /* 64MB */
48 compatible = "fsl,mpc5200b-immr";
49 ranges = <0x0 0xf0000000 0x0000c000>;
50 bus-frequency = <0>; /* From bootloader */
51 system-frequency = <0>; /* From bootloader */
54 compatible = "fsl,mpc5200b-cdm","fsl,mpc5200-cdm";
58 mpc5200_pic: interrupt-controller@500 {
59 /* 5200 interrupts are encoded into two levels; */
61 #interrupt-cells = <3>;
62 device_type = "interrupt-controller";
63 compatible = "fsl,mpc5200b-pic","fsl,mpc5200-pic";
67 timer@600 { /* General Purpose Timer */
68 compatible = "fsl,mpc5200b-gpt","fsl,mpc5200-gpt";
71 interrupts = <0x1 0x9 0x0>;
72 interrupt-parent = <&mpc5200_pic>;
76 timer@610 { /* General Purpose Timer */
77 compatible = "fsl,mpc5200b-gpt","fsl,mpc5200-gpt";
80 interrupts = <0x1 0xa 0x0>;
81 interrupt-parent = <&mpc5200_pic>;
84 gpt2: timer@620 { /* General Purpose Timer in GPIO mode */
85 compatible = "fsl,mpc5200b-gpt-gpio","fsl,mpc5200-gpt-gpio";
88 interrupts = <0x1 0xb 0x0>;
89 interrupt-parent = <&mpc5200_pic>;
94 gpt3: timer@630 { /* General Purpose Timer in GPIO mode */
95 compatible = "fsl,mpc5200b-gpt-gpio","fsl,mpc5200-gpt-gpio";
98 interrupts = <0x1 0xc 0x0>;
99 interrupt-parent = <&mpc5200_pic>;
104 gpt4: timer@640 { /* General Purpose Timer in GPIO mode */
105 compatible = "fsl,mpc5200b-gpt-gpio","fsl,mpc5200-gpt-gpio";
108 interrupts = <0x1 0xd 0x0>;
109 interrupt-parent = <&mpc5200_pic>;
114 gpt5: timer@650 { /* General Purpose Timer in GPIO mode */
115 compatible = "fsl,mpc5200b-gpt-gpio","fsl,mpc5200-gpt-gpio";
118 interrupts = <0x1 0xe 0x0>;
119 interrupt-parent = <&mpc5200_pic>;
124 gpt6: timer@660 { /* General Purpose Timer in GPIO mode */
125 compatible = "fsl,mpc5200b-gpt-gpio","fsl,mpc5200-gpt-gpio";
128 interrupts = <0x1 0xf 0x0>;
129 interrupt-parent = <&mpc5200_pic>;
134 gpt7: timer@670 { /* General Purpose Timer in GPIO mode */
135 compatible = "fsl,mpc5200b-gpt-gpio","fsl,mpc5200-gpt-gpio";
138 interrupts = <0x1 0x10 0x0>;
139 interrupt-parent = <&mpc5200_pic>;
144 rtc@800 { // Real time clock
145 compatible = "fsl,mpc5200b-rtc","fsl,mpc5200-rtc";
147 interrupts = <0x1 0x5 0x0 0x1 0x6 0x0>;
148 interrupt-parent = <&mpc5200_pic>;
152 compatible = "fsl,mpc5200b-mscan","fsl,mpc5200-mscan";
154 interrupts = <0x2 0x11 0x0>;
155 interrupt-parent = <&mpc5200_pic>;
160 compatible = "fsl,mpc5200b-mscan","fsl,mpc5200-mscan";
162 interrupts = <0x2 0x12 0x0>;
163 interrupt-parent = <&mpc5200_pic>;
167 gpio_simple: gpio@b00 {
168 compatible = "fsl,mpc5200b-gpio","fsl,mpc5200-gpio";
170 interrupts = <0x1 0x7 0x0>;
171 interrupt-parent = <&mpc5200_pic>;
176 gpio_wkup: gpio-wkup@c00 {
177 compatible = "fsl,mpc5200b-gpio-wkup","fsl,mpc5200-gpio-wkup";
179 interrupts = <0x1 0x8 0x0 0x0 0x3 0x0>;
180 interrupt-parent = <&mpc5200_pic>;
186 compatible = "fsl,mpc5200b-spi","fsl,mpc5200-spi";
188 interrupts = <0x2 0xd 0x0 0x2 0xe 0x0>;
189 interrupt-parent = <&mpc5200_pic>;
193 compatible = "fsl,mpc5200b-ohci","fsl,mpc5200-ohci","ohci-be";
195 interrupts = <0x2 0x6 0x0>;
196 interrupt-parent = <&mpc5200_pic>;
199 dma-controller@1200 {
200 device_type = "dma-controller";
201 compatible = "fsl,mpc5200b-bestcomm","fsl,mpc5200-bestcomm";
203 interrupts = <0x3 0x0 0x0 0x3 0x1 0x0 0x3 0x2 0x0 0x3 0x3 0x0
204 0x3 0x4 0x0 0x3 0x5 0x0 0x3 0x6 0x0 0x3 0x7 0x0
205 0x3 0x8 0x0 0x3 0x9 0x0 0x3 0xa 0x0 0x3 0xb 0x0
206 0x3 0xc 0x0 0x3 0xd 0x0 0x3 0xe 0x0 0x3 0xf 0x0>;
207 interrupt-parent = <&mpc5200_pic>;
211 compatible = "fsl,mpc5200b-xlb","fsl,mpc5200-xlb";
212 reg = <0x1f00 0x100>;
215 ac97@2000 { /* PSC1 in ac97 mode */
216 device_type = "sound";
217 compatible = "mpc5200b-psc-ac97","fsl,mpc5200b-psc-ac97";
219 reg = <0x2000 0x100>;
220 interrupts = <0x2 0x2 0x0>;
221 interrupt-parent = <&mpc5200_pic>;
224 /* PSC2 port is used by CAN1/2 */
226 serial@2400 { /* PSC3 in UART mode */
227 device_type = "serial";
228 compatible = "fsl,mpc5200b-psc-uart","fsl,mpc5200-psc-uart";
231 reg = <0x2400 0x100>;
232 interrupts = <0x2 0x3 0x0>;
233 interrupt-parent = <&mpc5200_pic>;
240 serial@2c00 { /* PSC6 in UART mode */
241 device_type = "serial";
242 compatible = "fsl,mpc5200b-psc-uart","fsl,mpc5200-psc-uart";
245 reg = <0x2c00 0x100>;
246 interrupts = <0x2 0x4 0x0>;
247 interrupt-parent = <&mpc5200_pic>;
251 device_type = "network";
252 compatible = "fsl,mpc5200b-fec","fsl,mpc5200-fec";
253 reg = <0x3000 0x400>;
254 local-mac-address = [00 00 00 00 00 00];
255 interrupts = <0x2 0x5 0x0>;
256 interrupt-parent = <&mpc5200_pic>;
257 phy-handle = <&phy0>;
261 #address-cells = <1>;
263 compatible = "fsl,mpc5200b-mdio", "fsl,mpc5200-mdio";
264 reg = <0x3000 0x400>; /* fec range, since we need to setup fec interrupts */
265 interrupts = <0x2 0x5 0x0>; /* these are for "mii command finished", not link changes & co. */
266 interrupt-parent = <&mpc5200_pic>;
268 phy0:ethernet-phy@0 {
269 device_type = "ethernet-phy";
276 compatible = "fsl,mpc5200b-ata","fsl,mpc5200-ata";
277 reg = <0x3a00 0x100>;
278 interrupts = <0x2 0x7 0x0>;
279 interrupt-parent = <&mpc5200_pic>;
283 #address-cells = <1>;
285 compatible = "fsl,mpc5200b-i2c","fsl,mpc5200-i2c","fsl-i2c";
288 interrupts = <0x2 0xf 0x0>;
289 interrupt-parent = <&mpc5200_pic>;
294 #address-cells = <1>;
296 compatible = "fsl,mpc5200b-i2c","fsl,mpc5200-i2c","fsl-i2c";
299 interrupts = <0x2 0x10 0x0>;
300 interrupt-parent = <&mpc5200_pic>;
303 compatible = "nxp,pcf8563";
310 compatible = "fsl,mpc5200b-sram","fsl,mpc5200-sram","sram";
311 reg = <0x8000 0x4000>;
314 /* This is only an example device to show the usage of gpios. It maps all available
315 * gpios to the "gpio-provider" device.
318 compatible = "gpio-provider";
320 /* mpc52xx exp.con patchfield */
321 gpios = <&gpio_wkup 0 0 /* GPIO_WKUP_7 11d jp13-3 */
322 &gpio_wkup 1 0 /* GPIO_WKUP_6 14c */
323 &gpio_wkup 6 0 /* PSC2_4 43c x5-11 */
324 &gpio_simple 2 0 /* IRDA_1 24c x7-6 set GPS_PORT_CONFIG[IRDA] = 0 */
325 &gpio_simple 3 0 /* IRDA_0 x8-5 set GPS_PORT_CONFIG[IRDA] = 0 */
326 &gpt2 0 0 /* timer2 12d x4-4 */
327 &gpt3 0 0 /* timer3 13d x6-4 */
328 &gpt4 0 0 /* timer4 61c x2-16 */
329 &gpt5 0 0 /* timer5 44c x7-11 */
330 &gpt6 0 0 /* timer6 60c x8-15 */
331 &gpt7 0 0 /* timer7 36a x17-9 */
337 #interrupt-cells = <1>;
339 #address-cells = <3>;
341 compatible = "fsl,mpc5200b-pci","fsl,mpc5200-pci";
342 reg = <0xf0000d00 0x100>;
343 interrupt-map-mask = <0xf800 0x0 0x0 0x7>;
344 interrupt-map = <0xc000 0x0 0x0 0x1 &mpc5200_pic 0x0 0x0 0x3 /* 1st slot */
345 0xc000 0x0 0x0 0x2 &mpc5200_pic 0x1 0x1 0x3
346 0xc000 0x0 0x0 0x3 &mpc5200_pic 0x1 0x2 0x3
347 0xc000 0x0 0x0 0x4 &mpc5200_pic 0x1 0x3 0x3
349 0xc800 0x0 0x0 0x1 &mpc5200_pic 0x1 0x1 0x3 /* 2nd slot */
350 0xc800 0x0 0x0 0x2 &mpc5200_pic 0x1 0x2 0x3
351 0xc800 0x0 0x0 0x3 &mpc5200_pic 0x1 0x3 0x3
352 0xc800 0x0 0x0 0x4 &mpc5200_pic 0x0 0x0 0x3>;
353 clock-frequency = <0>; // From boot loader
354 interrupts = <0x2 0x8 0x0 0x2 0x9 0x0 0x2 0xa 0x0>;
355 interrupt-parent = <&mpc5200_pic>;
357 ranges = <0x42000000 0x0 0x80000000 0x80000000 0x0 0x20000000
358 0x02000000 0x0 0xa0000000 0xa0000000 0x0 0x10000000
359 0x01000000 0x0 0x00000000 0xb0000000 0x0 0x01000000>;