1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * MPC8378E RDB Device Tree Source
5 * Copyright 2007, 2008 Freescale Semiconductor Inc.
11 compatible = "fsl,mpc8378rdb";
32 d-cache-line-size = <32>;
33 i-cache-line-size = <32>;
34 d-cache-size = <32768>;
35 i-cache-size = <32768>;
36 timebase-frequency = <0>;
38 clock-frequency = <0>;
43 device_type = "memory";
44 reg = <0x00000000 0x10000000>; // 256MB at 0
50 compatible = "fsl,mpc8378-elbc", "fsl,elbc", "simple-bus";
51 reg = <0xe0005000 0x1000>;
52 interrupts = <77 0x8>;
53 interrupt-parent = <&ipic>;
55 // CS0 and CS1 are swapped when
56 // booting from nand, but the
57 // addresses are the same.
58 ranges = <0x0 0x0 0xfe000000 0x00800000
59 0x1 0x0 0xe0600000 0x00008000
60 0x2 0x0 0xf0000000 0x00020000
61 0x3 0x0 0xfa000000 0x00008000>;
66 compatible = "cfi-flash";
67 reg = <0x0 0x0 0x800000>;
75 compatible = "fsl,mpc8378-fcm-nand",
77 reg = <0x1 0x0 0x8000>;
85 reg = <0x100000 0x300000>;
88 reg = <0x400000 0x1c00000>;
97 compatible = "simple-bus";
98 ranges = <0x0 0xe0000000 0x00100000>;
99 reg = <0xe0000000 0x00000200>;
103 device_type = "watchdog";
104 compatible = "mpc83xx_wdt";
108 gpio1: gpio-controller@c00 {
110 compatible = "fsl,mpc8378-gpio", "fsl,mpc8349-gpio";
112 interrupts = <74 0x8>;
113 interrupt-parent = <&ipic>;
117 gpio2: gpio-controller@d00 {
119 compatible = "fsl,mpc8378-gpio", "fsl,mpc8349-gpio";
121 interrupts = <75 0x8>;
122 interrupt-parent = <&ipic>;
127 #address-cells = <1>;
129 compatible = "simple-bus";
130 sleep = <&pmc 0x0c000000>;
134 #address-cells = <1>;
137 compatible = "fsl-i2c";
138 reg = <0x3000 0x100>;
139 interrupts = <14 0x8>;
140 interrupt-parent = <&ipic>;
144 compatible = "national,lm75";
149 compatible = "atmel,24c256";
154 compatible = "dallas,ds1339";
160 compatible = "fsl,mc9s08qg8-mpc8378erdb",
161 "fsl,mcu-mpc8349emitx";
168 compatible = "fsl,mpc8378-esdhc", "fsl,esdhc";
169 reg = <0x2e000 0x1000>;
170 interrupts = <42 0x8>;
171 interrupt-parent = <&ipic>;
173 /* Filled in by U-Boot */
174 clock-frequency = <111111111>;
179 #address-cells = <1>;
182 compatible = "fsl-i2c";
183 reg = <0x3100 0x100>;
184 interrupts = <15 0x8>;
185 interrupt-parent = <&ipic>;
191 compatible = "fsl,spi";
192 reg = <0x7000 0x1000>;
193 interrupts = <16 0x8>;
194 interrupt-parent = <&ipic>;
199 #address-cells = <1>;
201 compatible = "fsl,mpc8378-dma", "fsl,elo-dma";
203 ranges = <0 0x8100 0x1a8>;
204 interrupt-parent = <&ipic>;
208 compatible = "fsl,mpc8378-dma-channel", "fsl,elo-dma-channel";
211 interrupt-parent = <&ipic>;
215 compatible = "fsl,mpc8378-dma-channel", "fsl,elo-dma-channel";
218 interrupt-parent = <&ipic>;
222 compatible = "fsl,mpc8378-dma-channel", "fsl,elo-dma-channel";
225 interrupt-parent = <&ipic>;
229 compatible = "fsl,mpc8378-dma-channel", "fsl,elo-dma-channel";
232 interrupt-parent = <&ipic>;
238 compatible = "fsl-usb2-dr";
239 reg = <0x23000 0x1000>;
240 #address-cells = <1>;
242 interrupt-parent = <&ipic>;
243 interrupts = <38 0x8>;
245 sleep = <&pmc 0x00c00000>;
248 enet0: ethernet@24000 {
249 #address-cells = <1>;
252 device_type = "network";
254 compatible = "gianfar";
255 reg = <0x24000 0x1000>;
256 ranges = <0x0 0x24000 0x1000>;
257 local-mac-address = [ 00 00 00 00 00 00 ];
258 interrupts = <32 0x8 33 0x8 34 0x8>;
259 phy-connection-type = "mii";
260 interrupt-parent = <&ipic>;
261 tbi-handle = <&tbi0>;
262 phy-handle = <&phy2>;
263 sleep = <&pmc 0xc0000000>;
267 #address-cells = <1>;
269 compatible = "fsl,gianfar-mdio";
272 phy2: ethernet-phy@2 {
273 interrupt-parent = <&ipic>;
274 interrupts = <17 0x8>;
280 device_type = "tbi-phy";
285 enet1: ethernet@25000 {
286 #address-cells = <1>;
289 device_type = "network";
291 compatible = "gianfar";
292 reg = <0x25000 0x1000>;
293 ranges = <0x0 0x25000 0x1000>;
294 local-mac-address = [ 00 00 00 00 00 00 ];
295 interrupts = <35 0x8 36 0x8 37 0x8>;
296 phy-connection-type = "mii";
297 interrupt-parent = <&ipic>;
298 fixed-link = <1 1 1000 0 0>;
299 tbi-handle = <&tbi1>;
300 sleep = <&pmc 0x30000000>;
304 #address-cells = <1>;
306 compatible = "fsl,gianfar-tbi";
311 device_type = "tbi-phy";
316 serial0: serial@4500 {
318 device_type = "serial";
319 compatible = "fsl,ns16550", "ns16550";
320 reg = <0x4500 0x100>;
321 clock-frequency = <0>;
322 interrupts = <9 0x8>;
323 interrupt-parent = <&ipic>;
326 serial1: serial@4600 {
328 device_type = "serial";
329 compatible = "fsl,ns16550", "ns16550";
330 reg = <0x4600 0x100>;
331 clock-frequency = <0>;
332 interrupts = <10 0x8>;
333 interrupt-parent = <&ipic>;
337 compatible = "fsl,sec3.0", "fsl,sec2.4", "fsl,sec2.2",
338 "fsl,sec2.1", "fsl,sec2.0";
339 reg = <0x30000 0x10000>;
340 interrupts = <11 0x8>;
341 interrupt-parent = <&ipic>;
342 fsl,num-channels = <4>;
343 fsl,channel-fifo-len = <24>;
344 fsl,exec-units-mask = <0x9fe>;
345 fsl,descriptor-types-mask = <0x3ab0ebf>;
346 sleep = <&pmc 0x03000000>;
350 * interrupts cell = <intr #, sense>
351 * sense values match linux IORESOURCE_IRQ_* defines:
352 * sense == 8: Level, low assertion
353 * sense == 2: Edge, high-to-low change
355 ipic: interrupt-controller@700 {
356 compatible = "fsl,ipic";
357 interrupt-controller;
358 #address-cells = <0>;
359 #interrupt-cells = <2>;
364 compatible = "fsl,mpc8378-pmc", "fsl,mpc8349-pmc";
365 reg = <0xb00 0x100 0xa00 0x100>;
366 interrupts = <80 0x8>;
367 interrupt-parent = <&ipic>;
372 interrupt-map-mask = <0xf800 0 0 7>;
374 /* IRQ5 = 21 = 0x15, IRQ6 = 0x16, IRQ7 = 23 = 0x17 */
376 /* IDSEL AD14 IRQ6 inta */
377 0x7000 0x0 0x0 0x1 &ipic 22 0x8
379 /* IDSEL AD15 IRQ5 inta, IRQ6 intb, IRQ7 intd */
380 0x7800 0x0 0x0 0x1 &ipic 21 0x8
381 0x7800 0x0 0x0 0x2 &ipic 22 0x8
382 0x7800 0x0 0x0 0x4 &ipic 23 0x8
384 /* IDSEL AD28 IRQ7 inta, IRQ5 intb IRQ6 intc*/
385 0xE000 0x0 0x0 0x1 &ipic 23 0x8
386 0xE000 0x0 0x0 0x2 &ipic 21 0x8
387 0xE000 0x0 0x0 0x3 &ipic 22 0x8>;
388 interrupt-parent = <&ipic>;
389 interrupts = <66 0x8>;
391 ranges = <0x02000000 0x0 0x90000000 0x90000000 0x0 0x10000000
392 0x42000000 0x0 0x80000000 0x80000000 0x0 0x10000000
393 0x01000000 0x0 0x00000000 0xe0300000 0x0 0x00100000>;
394 sleep = <&pmc 0x00010000>;
395 clock-frequency = <66666666>;
396 #interrupt-cells = <1>;
398 #address-cells = <3>;
399 reg = <0xe0008500 0x100 /* internal registers */
400 0xe0008300 0x8>; /* config space access registers */
401 compatible = "fsl,mpc8349-pci";
405 pci1: pcie@e0009000 {
406 #address-cells = <3>;
408 #interrupt-cells = <1>;
410 compatible = "fsl,mpc8378-pcie", "fsl,mpc8314-pcie";
411 reg = <0xe0009000 0x00001000>;
412 ranges = <0x02000000 0 0xa8000000 0xa8000000 0 0x10000000
413 0x01000000 0 0x00000000 0xb8000000 0 0x00800000>;
415 interrupt-map-mask = <0xf800 0 0 7>;
416 interrupt-map = <0 0 0 1 &ipic 1 8
420 sleep = <&pmc 0x00300000>;
421 clock-frequency = <0>;
424 #address-cells = <3>;
428 ranges = <0x02000000 0 0xa8000000
429 0x02000000 0 0xa8000000
431 0x01000000 0 0x00000000
432 0x01000000 0 0x00000000
437 pci2: pcie@e000a000 {
438 #address-cells = <3>;
440 #interrupt-cells = <1>;
442 compatible = "fsl,mpc8378-pcie", "fsl,mpc8314-pcie";
443 reg = <0xe000a000 0x00001000>;
444 ranges = <0x02000000 0 0xc8000000 0xc8000000 0 0x10000000
445 0x01000000 0 0x00000000 0xd8000000 0 0x00800000>;
447 interrupt-map-mask = <0xf800 0 0 7>;
448 interrupt-map = <0 0 0 1 &ipic 2 8
452 sleep = <&pmc 0x000c0000>;
453 clock-frequency = <0>;
456 #address-cells = <3>;
460 ranges = <0x02000000 0 0xc8000000
461 0x02000000 0 0xc8000000
463 0x01000000 0 0x00000000
464 0x01000000 0 0x00000000
470 compatible = "gpio-leds";
473 gpios = <&mcu_pio 0 0>;
474 default-state = "on";
478 gpios = <&mcu_pio 1 0>;
479 linux,default-trigger = "disk-activity";