1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * MPC8379E RDB Device Tree Source
5 * Copyright 2007, 2008 Freescale Semiconductor Inc.
11 compatible = "fsl,mpc8379rdb";
30 d-cache-line-size = <32>;
31 i-cache-line-size = <32>;
32 d-cache-size = <32768>;
33 i-cache-size = <32768>;
34 timebase-frequency = <0>;
36 clock-frequency = <0>;
41 device_type = "memory";
42 reg = <0x00000000 0x10000000>; // 256MB at 0
48 compatible = "fsl,mpc8379-elbc", "fsl,elbc", "simple-bus";
49 reg = <0xe0005000 0x1000>;
50 interrupts = <77 0x8>;
51 interrupt-parent = <&ipic>;
53 // CS0 and CS1 are swapped when
54 // booting from nand, but the
55 // addresses are the same.
56 ranges = <0x0 0x0 0xfe000000 0x00800000
57 0x1 0x0 0xe0600000 0x00008000
58 0x2 0x0 0xf0000000 0x00020000
59 0x3 0x0 0xfa000000 0x00008000>;
64 compatible = "cfi-flash";
65 reg = <0x0 0x0 0x800000>;
73 compatible = "fsl,mpc8379-fcm-nand",
75 reg = <0x1 0x0 0x8000>;
83 reg = <0x100000 0x300000>;
86 reg = <0x400000 0x1c00000>;
95 compatible = "simple-bus";
96 ranges = <0x0 0xe0000000 0x00100000>;
97 reg = <0xe0000000 0x00000200>;
101 device_type = "watchdog";
102 compatible = "mpc83xx_wdt";
106 gpio1: gpio-controller@c00 {
108 compatible = "fsl,mpc8379-gpio", "fsl,mpc8349-gpio";
110 interrupts = <74 0x8>;
111 interrupt-parent = <&ipic>;
115 gpio2: gpio-controller@d00 {
117 compatible = "fsl,mpc8379-gpio", "fsl,mpc8349-gpio";
119 interrupts = <75 0x8>;
120 interrupt-parent = <&ipic>;
125 #address-cells = <1>;
127 compatible = "simple-bus";
128 sleep = <&pmc 0x0c000000>;
132 #address-cells = <1>;
135 compatible = "fsl-i2c";
136 reg = <0x3000 0x100>;
137 interrupts = <14 0x8>;
138 interrupt-parent = <&ipic>;
142 compatible = "national,lm75";
147 compatible = "atmel,24c256";
152 compatible = "dallas,ds1339";
158 compatible = "fsl,mc9s08qg8-mpc8379erdb",
159 "fsl,mcu-mpc8349emitx";
166 compatible = "fsl,mpc8379-esdhc", "fsl,esdhc";
167 reg = <0x2e000 0x1000>;
168 interrupts = <42 0x8>;
169 interrupt-parent = <&ipic>;
171 /* Filled in by U-Boot */
172 clock-frequency = <111111111>;
177 #address-cells = <1>;
180 compatible = "fsl-i2c";
181 reg = <0x3100 0x100>;
182 interrupts = <15 0x8>;
183 interrupt-parent = <&ipic>;
189 compatible = "fsl,spi";
190 reg = <0x7000 0x1000>;
191 interrupts = <16 0x8>;
192 interrupt-parent = <&ipic>;
197 #address-cells = <1>;
199 compatible = "fsl,mpc8379-dma", "fsl,elo-dma";
201 ranges = <0 0x8100 0x1a8>;
202 interrupt-parent = <&ipic>;
206 compatible = "fsl,mpc8379-dma-channel", "fsl,elo-dma-channel";
209 interrupt-parent = <&ipic>;
213 compatible = "fsl,mpc8379-dma-channel", "fsl,elo-dma-channel";
216 interrupt-parent = <&ipic>;
220 compatible = "fsl,mpc8379-dma-channel", "fsl,elo-dma-channel";
223 interrupt-parent = <&ipic>;
227 compatible = "fsl,mpc8379-dma-channel", "fsl,elo-dma-channel";
230 interrupt-parent = <&ipic>;
236 compatible = "fsl-usb2-dr";
237 reg = <0x23000 0x1000>;
238 #address-cells = <1>;
240 interrupt-parent = <&ipic>;
241 interrupts = <38 0x8>;
243 sleep = <&pmc 0x00c00000>;
246 enet0: ethernet@24000 {
247 #address-cells = <1>;
250 device_type = "network";
252 compatible = "gianfar";
253 reg = <0x24000 0x1000>;
254 ranges = <0x0 0x24000 0x1000>;
255 local-mac-address = [ 00 00 00 00 00 00 ];
256 interrupts = <32 0x8 33 0x8 34 0x8>;
257 phy-connection-type = "mii";
258 interrupt-parent = <&ipic>;
259 tbi-handle = <&tbi0>;
260 phy-handle = <&phy2>;
261 sleep = <&pmc 0xc0000000>;
265 #address-cells = <1>;
267 compatible = "fsl,gianfar-mdio";
270 phy2: ethernet-phy@2 {
271 interrupt-parent = <&ipic>;
272 interrupts = <17 0x8>;
278 device_type = "tbi-phy";
283 enet1: ethernet@25000 {
284 #address-cells = <1>;
287 device_type = "network";
289 compatible = "gianfar";
290 reg = <0x25000 0x1000>;
291 ranges = <0x0 0x25000 0x1000>;
292 local-mac-address = [ 00 00 00 00 00 00 ];
293 interrupts = <35 0x8 36 0x8 37 0x8>;
294 phy-connection-type = "mii";
295 interrupt-parent = <&ipic>;
296 fixed-link = <1 1 1000 0 0>;
297 tbi-handle = <&tbi1>;
298 sleep = <&pmc 0x30000000>;
302 #address-cells = <1>;
304 compatible = "fsl,gianfar-tbi";
309 device_type = "tbi-phy";
314 serial0: serial@4500 {
316 device_type = "serial";
317 compatible = "fsl,ns16550", "ns16550";
318 reg = <0x4500 0x100>;
319 clock-frequency = <0>;
320 interrupts = <9 0x8>;
321 interrupt-parent = <&ipic>;
324 serial1: serial@4600 {
326 device_type = "serial";
327 compatible = "fsl,ns16550", "ns16550";
328 reg = <0x4600 0x100>;
329 clock-frequency = <0>;
330 interrupts = <10 0x8>;
331 interrupt-parent = <&ipic>;
335 compatible = "fsl,sec3.0", "fsl,sec2.4", "fsl,sec2.2",
336 "fsl,sec2.1", "fsl,sec2.0";
337 reg = <0x30000 0x10000>;
338 interrupts = <11 0x8>;
339 interrupt-parent = <&ipic>;
340 fsl,num-channels = <4>;
341 fsl,channel-fifo-len = <24>;
342 fsl,exec-units-mask = <0x9fe>;
343 fsl,descriptor-types-mask = <0x3ab0ebf>;
344 sleep = <&pmc 0x03000000>;
348 compatible = "fsl,mpc8379-sata", "fsl,pq-sata";
349 reg = <0x18000 0x1000>;
350 interrupts = <44 0x8>;
351 interrupt-parent = <&ipic>;
352 sleep = <&pmc 0x000000c0>;
356 compatible = "fsl,mpc8379-sata", "fsl,pq-sata";
357 reg = <0x19000 0x1000>;
358 interrupts = <45 0x8>;
359 interrupt-parent = <&ipic>;
360 sleep = <&pmc 0x00000030>;
364 compatible = "fsl,mpc8379-sata", "fsl,pq-sata";
365 reg = <0x1a000 0x1000>;
366 interrupts = <46 0x8>;
367 interrupt-parent = <&ipic>;
368 sleep = <&pmc 0x0000000c>;
372 compatible = "fsl,mpc8379-sata", "fsl,pq-sata";
373 reg = <0x1b000 0x1000>;
374 interrupts = <47 0x8>;
375 interrupt-parent = <&ipic>;
376 sleep = <&pmc 0x00000003>;
380 * interrupts cell = <intr #, sense>
381 * sense values match linux IORESOURCE_IRQ_* defines:
382 * sense == 8: Level, low assertion
383 * sense == 2: Edge, high-to-low change
385 ipic: interrupt-controller@700 {
386 compatible = "fsl,ipic";
387 interrupt-controller;
388 #address-cells = <0>;
389 #interrupt-cells = <2>;
394 compatible = "fsl,mpc8379-pmc", "fsl,mpc8349-pmc";
395 reg = <0xb00 0x100 0xa00 0x100>;
396 interrupts = <80 0x8>;
397 interrupt-parent = <&ipic>;
402 interrupt-map-mask = <0xf800 0 0 7>;
404 /* IRQ5 = 21 = 0x15, IRQ6 = 0x16, IRQ7 = 23 = 0x17 */
406 /* IDSEL AD14 IRQ6 inta */
407 0x7000 0x0 0x0 0x1 &ipic 22 0x8
409 /* IDSEL AD15 IRQ5 inta, IRQ6 intb, IRQ7 intd */
410 0x7800 0x0 0x0 0x1 &ipic 21 0x8
411 0x7800 0x0 0x0 0x2 &ipic 22 0x8
412 0x7800 0x0 0x0 0x4 &ipic 23 0x8
414 /* IDSEL AD28 IRQ7 inta, IRQ5 intb IRQ6 intc*/
415 0xE000 0x0 0x0 0x1 &ipic 23 0x8
416 0xE000 0x0 0x0 0x2 &ipic 21 0x8
417 0xE000 0x0 0x0 0x3 &ipic 22 0x8>;
418 interrupt-parent = <&ipic>;
419 interrupts = <66 0x8>;
420 bus-range = <0x0 0x0>;
421 ranges = <0x02000000 0x0 0x90000000 0x90000000 0x0 0x10000000
422 0x42000000 0x0 0x80000000 0x80000000 0x0 0x10000000
423 0x01000000 0x0 0x00000000 0xe0300000 0x0 0x00100000>;
424 sleep = <&pmc 0x00010000>;
425 clock-frequency = <66666666>;
426 #interrupt-cells = <1>;
428 #address-cells = <3>;
429 reg = <0xe0008500 0x100 /* internal registers */
430 0xe0008300 0x8>; /* config space access registers */
431 compatible = "fsl,mpc8349-pci";
436 compatible = "gpio-leds";
439 gpios = <&mcu_pio 0 0>;
440 default-state = "on";
444 gpios = <&mcu_pio 1 0>;
445 linux,default-trigger = "disk-activity";