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 = "digispeaker,dspeak01";
19 compatible = "digispeaker,dspeak01";
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 rtc@800 { // Real time clock
135 compatible = "fsl,mpc5200b-rtc","fsl,mpc5200-rtc";
138 interrupts = <0x1 0x5 0x0 0x1 0x6 0x0>;
139 interrupt-parent = <&mpc5200_pic>;
142 gpio_simple: gpio@b00 {
143 compatible = "fsl,mpc5200b-gpio","fsl,mpc5200-gpio";
145 interrupts = <0x1 0x7 0x0>;
146 interrupt-parent = <&mpc5200_pic>;
151 gpio_wkup: gpio-wkup@c00 {
152 compatible = "fsl,mpc5200b-gpio-wkup","fsl,mpc5200-gpio-wkup";
154 interrupts = <0x1 0x8 0x0 0x0 0x3 0x0>;
155 interrupt-parent = <&mpc5200_pic>;
161 compatible = "fsl,mpc5200b-ohci","fsl,mpc5200-ohci","ohci-be";
163 interrupts = <0x2 0x6 0x0>;
164 interrupt-parent = <&mpc5200_pic>;
167 dma-controller@1200 {
168 device_type = "dma-controller";
169 compatible = "fsl,mpc5200b-bestcomm","fsl,mpc5200-bestcomm";
171 interrupts = <0x3 0x0 0x0 0x3 0x1 0x0 0x3 0x2 0x0 0x3 0x3 0x0
172 0x3 0x4 0x0 0x3 0x5 0x0 0x3 0x6 0x0 0x3 0x7 0x0
173 0x3 0x8 0x0 0x3 0x9 0x0 0x3 0xa 0x0 0x3 0xb 0x0
174 0x3 0xc 0x0 0x3 0xd 0x0 0x3 0xe 0x0 0x3 0xf 0x0>;
175 interrupt-parent = <&mpc5200_pic>;
179 compatible = "fsl,mpc5200b-xlb","fsl,mpc5200-xlb";
180 reg = <0x1f00 0x100>;
183 i2s@2000 { /* PSC1 in i2s mode */
184 compatible = "fsl,mpc5200b-psc-i2s","fsl,mpc5200-psc-i2s";
186 reg = <0x2000 0x100>;
187 interrupts = <0x2 0x1 0x0>;
188 interrupt-parent = <&mpc5200_pic>;
189 codec-handle = <&pcm0>;
192 i2s@2200 { /* PSC2 in i2s mode */
193 compatible = "fsl,mpc5200b-psc-i2s","fsl,mpc5200-psc-i2s";
195 reg = <0x2200 0x100>;
196 interrupts = <0x2 0x2 0x0>;
197 interrupt-parent = <&mpc5200_pic>;
200 serial@2400 { /* PSC3 in UART mode */
201 device_type = "serial";
202 compatible = "fsl,mpc5200b-psc-uart","fsl,mpc5200-psc-uart";
205 reg = <0x2400 0x100>;
206 interrupts = <0x2 0x3 0x0>;
207 interrupt-parent = <&mpc5200_pic>;
214 spi@2c00 { /* PSC6 in SPI mode */
215 compatible = "fsl,mpc5200-psc-spi";
217 reg = <0x2c00 0x100>;
218 interrupts = <0x2 0x4 0x0>;
219 interrupt-parent = <&mpc5200_pic>;
221 #address-cells = <1>;
225 compatible = "mmc-spi-slot";
227 spi-max-frequency = <50000000>;
228 /* Unregulated slot. */
229 voltage-range = <3300 3300>;
230 /*gpios = <&sdcsr_pio 1 0 /* WP */
231 /* &sdcsr_pio 0 1>; /* nCD */
236 device_type = "network";
237 compatible = "fsl,mpc5200b-fec","fsl,mpc5200-fec";
238 reg = <0x3000 0x400>;
239 local-mac-address = [00 00 00 00 00 00];
240 interrupts = <0x2 0x5 0x0>;
241 interrupt-parent = <&mpc5200_pic>;
242 phy-handle = <&phy0>;
246 #address-cells = <1>;
248 compatible = "fsl,mpc5200b-mdio", "fsl,mpc5200-mdio";
249 reg = <0x3000 0x400>; /* fec range, since we need to setup fec interrupts */
250 interrupts = <0x2 0x5 0x0>; /* these are for "mii command finished", not link changes & co. */
251 interrupt-parent = <&mpc5200_pic>;
253 phy0:ethernet-phy@0 {
254 device_type = "ethernet-phy";
261 compatible = "fsl,mpc5200b-ata","fsl,mpc5200-ata";
262 reg = <0x3a00 0x100>;
263 interrupts = <0x2 0x7 0x0>;
264 interrupt-parent = <&mpc5200_pic>;
268 #address-cells = <1>;
270 compatible = "fsl,mpc5200b-i2c","fsl,mpc5200-i2c","fsl-i2c";
273 interrupts = <0x2 0xf 0x0>;
274 interrupt-parent = <&mpc5200_pic>;
278 compatible = "ti,pcm1690";
281 &gpt2 0 0 /* Reset */
288 #address-cells = <1>;
290 compatible = "fsl,mpc5200b-i2c","fsl,mpc5200-i2c","fsl-i2c";
293 interrupts = <0x2 0x10 0x0>;
294 interrupt-parent = <&mpc5200_pic>;
299 compatible = "epson,rtc8564";
303 compatible = "atmel,24c32", "eeprom";
309 compatible = "fsl,mpc5200b-sram","fsl,mpc5200-sram","sram";
310 reg = <0x8000 0x4000>;
313 ir0@670 { /* General Purpose Timer 6 in Input mode */
314 compatible = "gpt-ir";
317 interrupts = <0x1 0x10 0x0>;
318 interrupt-parent = <&mpc5200_pic>;
321 /* This is only an example device to show the usage of gpios. It maps all available
322 * gpios to the "gpio-provider" device.
325 compatible = "gpio-provider";
327 /* mpc52xx exp.con patchfield */
328 gpios = <&gpio_wkup 0 0 /* GPIO_WKUP_7 11d jp13-3 */
329 &gpio_wkup 1 0 /* GPIO_WKUP_6 14c */
330 &gpio_wkup 6 0 /* PSC2_4 43c x5-11 */
331 &gpio_simple 2 0 /* IRDA_1 24c x7-6 set GPS_PORT_CONFIG[IRDA] = 0 */
332 &gpio_simple 3 0 /* IRDA_0 x8-5 set GPS_PORT_CONFIG[IRDA] = 0 */
333 &gpt3 0 0 /* timer3 13d x6-4 */
334 &gpt4 0 0 /* timer4 61c x2-16 */
335 &gpt6 0 0 /* timer6 60c x8-15 */
341 compatible = "fsl,lpb", "simple-bus";
342 #address-cells = <2>;
344 ranges = <0 0 0xff000000 0x01000000>;
347 compatible = "cfi-flash";
348 reg = <0 0 0x01000000>;
352 #address-cells = <1>;
355 reg = <0x00000000 0x00040000>;
359 reg = <0x00040000 0x001c0000>;
363 reg = <0x00200000 0x00D00000>;
367 reg = <0x00f00000 0x00040000>;
371 reg = <0x00f40000 0x00040000>;
375 reg = <0x00f80000 0x00080000>;
380 #interrupt-cells = <1>;
382 #address-cells = <3>;
384 compatible = "fsl,mpc5200b-pci","fsl,mpc5200-pci";
385 reg = <0xf0000d00 0x100>;
386 interrupt-map-mask = <0xf800 0 0 7>;
387 interrupt-map = <0xc000 0 0 1 &mpc5200_pic 0 0 3 // 1st slot
388 0xc000 0 0 2 &mpc5200_pic 1 1 3
389 0xc000 0 0 3 &mpc5200_pic 1 2 3
390 0xc000 0 0 4 &mpc5200_pic 1 3 3
392 0xc800 0 0 1 &mpc5200_pic 1 1 3 // 2nd slot
393 0xc800 0 0 2 &mpc5200_pic 1 2 3
394 0xc800 0 0 3 &mpc5200_pic 1 3 3
395 0xc800 0 0 4 &mpc5200_pic 0 0 3>;
396 clock-frequency = <0>; // From boot loader
397 interrupts = <2 8 0 2 9 0 2 10 0>;
399 ranges = <0x42000000 0 0x80000000 0x80000000 0 0x20000000
400 0x02000000 0 0xa0000000 0xa0000000 0 0x10000000
401 0x01000000 0 0x00000000 0xb0000000 0 0x01000000>;