1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * MPC8315E RDB Device Tree Source
5 * Copyright 2007 Freescale Semiconductor Inc.
11 compatible = "fsl,mpc8315erdb";
32 d-cache-line-size = <32>;
33 i-cache-line-size = <32>;
34 d-cache-size = <16384>;
35 i-cache-size = <16384>;
36 timebase-frequency = <0>; // from bootloader
37 bus-frequency = <0>; // from bootloader
38 clock-frequency = <0>; // from bootloader
43 device_type = "memory";
44 reg = <0x00000000 0x08000000>; // 128MB at 0
50 compatible = "fsl,mpc8315-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 0x00002000
60 0x2 0x0 0xf0000000 0x00020000
61 0x3 0x0 0xfa000000 0x00008000>;
66 compatible = "cfi-flash";
67 reg = <0x0 0x0 0x800000>;
75 compatible = "fsl,mpc8315-fcm-nand",
77 reg = <0x1 0x0 0x2000>;
85 reg = <0x100000 0x300000>;
88 reg = <0x400000 0x1c00000>;
97 compatible = "fsl,mpc8315-immr", "simple-bus";
98 ranges = <0 0xe0000000 0x00100000>;
99 reg = <0xe0000000 0x00000200>;
103 device_type = "watchdog";
104 compatible = "mpc83xx_wdt";
109 #address-cells = <1>;
112 compatible = "fsl-i2c";
113 reg = <0x3000 0x100>;
114 interrupts = <14 0x8>;
115 interrupt-parent = <&ipic>;
118 compatible = "dallas,ds1339";
124 compatible = "fsl,mc9s08qg8-mpc8315erdb",
125 "fsl,mcu-mpc8349emitx";
133 compatible = "fsl,spi";
134 reg = <0x7000 0x1000>;
135 interrupts = <16 0x8>;
136 interrupt-parent = <&ipic>;
141 #address-cells = <1>;
143 compatible = "fsl,mpc8315-dma", "fsl,elo-dma";
145 ranges = <0 0x8100 0x1a8>;
146 interrupt-parent = <&ipic>;
150 compatible = "fsl,mpc8315-dma-channel", "fsl,elo-dma-channel";
153 interrupt-parent = <&ipic>;
157 compatible = "fsl,mpc8315-dma-channel", "fsl,elo-dma-channel";
160 interrupt-parent = <&ipic>;
164 compatible = "fsl,mpc8315-dma-channel", "fsl,elo-dma-channel";
167 interrupt-parent = <&ipic>;
171 compatible = "fsl,mpc8315-dma-channel", "fsl,elo-dma-channel";
174 interrupt-parent = <&ipic>;
180 compatible = "fsl-usb2-dr";
181 reg = <0x23000 0x1000>;
182 #address-cells = <1>;
184 interrupt-parent = <&ipic>;
185 interrupts = <38 0x8>;
189 enet0: ethernet@24000 {
190 #address-cells = <1>;
193 device_type = "network";
195 compatible = "gianfar";
196 reg = <0x24000 0x1000>;
197 ranges = <0x0 0x24000 0x1000>;
198 local-mac-address = [ 00 00 00 00 00 00 ];
199 interrupts = <32 0x8 33 0x8 34 0x8>;
200 interrupt-parent = <&ipic>;
201 tbi-handle = <&tbi0>;
202 phy-handle = < &phy0 >;
206 #address-cells = <1>;
208 compatible = "fsl,gianfar-mdio";
211 phy0: ethernet-phy@0 {
212 interrupt-parent = <&ipic>;
213 interrupts = <20 0x8>;
217 phy1: ethernet-phy@1 {
218 interrupt-parent = <&ipic>;
219 interrupts = <19 0x8>;
225 device_type = "tbi-phy";
230 enet1: ethernet@25000 {
231 #address-cells = <1>;
234 device_type = "network";
236 compatible = "gianfar";
237 reg = <0x25000 0x1000>;
238 ranges = <0x0 0x25000 0x1000>;
239 local-mac-address = [ 00 00 00 00 00 00 ];
240 interrupts = <35 0x8 36 0x8 37 0x8>;
241 interrupt-parent = <&ipic>;
242 tbi-handle = <&tbi1>;
243 phy-handle = < &phy1 >;
247 #address-cells = <1>;
249 compatible = "fsl,gianfar-tbi";
254 device_type = "tbi-phy";
259 serial0: serial@4500 {
261 device_type = "serial";
262 compatible = "fsl,ns16550", "ns16550";
263 reg = <0x4500 0x100>;
264 clock-frequency = <133333333>;
265 interrupts = <9 0x8>;
266 interrupt-parent = <&ipic>;
269 serial1: serial@4600 {
271 device_type = "serial";
272 compatible = "fsl,ns16550", "ns16550";
273 reg = <0x4600 0x100>;
274 clock-frequency = <133333333>;
275 interrupts = <10 0x8>;
276 interrupt-parent = <&ipic>;
280 compatible = "fsl,sec3.3", "fsl,sec3.1", "fsl,sec3.0",
281 "fsl,sec2.4", "fsl,sec2.2", "fsl,sec2.1",
283 reg = <0x30000 0x10000>;
284 interrupts = <11 0x8>;
285 interrupt-parent = <&ipic>;
286 fsl,num-channels = <4>;
287 fsl,channel-fifo-len = <24>;
288 fsl,exec-units-mask = <0x97c>;
289 fsl,descriptor-types-mask = <0x3a30abf>;
293 compatible = "fsl,mpc8315-sata", "fsl,pq-sata";
294 reg = <0x18000 0x1000>;
296 interrupts = <44 0x8>;
297 interrupt-parent = <&ipic>;
301 compatible = "fsl,mpc8315-sata", "fsl,pq-sata";
302 reg = <0x19000 0x1000>;
304 interrupts = <45 0x8>;
305 interrupt-parent = <&ipic>;
309 compatible = "fsl,mpc8315-gtm", "fsl,gtm";
311 interrupts = <90 8 78 8 84 8 72 8>;
312 interrupt-parent = <&ipic>;
313 clock-frequency = <133333333>;
317 compatible = "fsl,mpc8315-gtm", "fsl,gtm";
319 interrupts = <91 8 79 8 85 8 73 8>;
320 interrupt-parent = <&ipic>;
321 clock-frequency = <133333333>;
325 * interrupts cell = <intr #, sense>
326 * sense values match linux IORESOURCE_IRQ_* defines:
327 * sense == 8: Level, low assertion
328 * sense == 2: Edge, high-to-low change
330 ipic: interrupt-controller@700 {
331 interrupt-controller;
332 #address-cells = <0>;
333 #interrupt-cells = <2>;
335 device_type = "ipic";
339 compatible = "fsl,ipic-msi";
341 msi-available-ranges = <0 0x100>;
342 interrupts = <0x43 0x8
350 interrupt-parent = < &ipic >;
354 compatible = "fsl,mpc8315-pmc", "fsl,mpc8313-pmc",
356 reg = <0xb00 0x100 0xa00 0x100>;
358 interrupt-parent = <&ipic>;
359 fsl,mpc8313-wakeup-timer = <>m1>;
364 interrupt-map-mask = <0xf800 0x0 0x0 0x7>;
366 /* IDSEL 0x0E -mini PCI */
367 0x7000 0x0 0x0 0x1 &ipic 18 0x8
368 0x7000 0x0 0x0 0x2 &ipic 18 0x8
369 0x7000 0x0 0x0 0x3 &ipic 18 0x8
370 0x7000 0x0 0x0 0x4 &ipic 18 0x8
372 /* IDSEL 0x0F -mini PCI */
373 0x7800 0x0 0x0 0x1 &ipic 17 0x8
374 0x7800 0x0 0x0 0x2 &ipic 17 0x8
375 0x7800 0x0 0x0 0x3 &ipic 17 0x8
376 0x7800 0x0 0x0 0x4 &ipic 17 0x8
378 /* IDSEL 0x10 - PCI slot */
379 0x8000 0x0 0x0 0x1 &ipic 48 0x8
380 0x8000 0x0 0x0 0x2 &ipic 17 0x8
381 0x8000 0x0 0x0 0x3 &ipic 48 0x8
382 0x8000 0x0 0x0 0x4 &ipic 17 0x8>;
383 interrupt-parent = <&ipic>;
384 interrupts = <66 0x8>;
385 bus-range = <0x0 0x0>;
386 ranges = <0x02000000 0 0x90000000 0x90000000 0 0x10000000
387 0x42000000 0 0x80000000 0x80000000 0 0x10000000
388 0x01000000 0 0x00000000 0xe0300000 0 0x00100000>;
389 clock-frequency = <66666666>;
390 #interrupt-cells = <1>;
392 #address-cells = <3>;
393 reg = <0xe0008500 0x100 /* internal registers */
394 0xe0008300 0x8>; /* config space access registers */
395 compatible = "fsl,mpc8349-pci";
399 pci1: pcie@e0009000 {
400 #address-cells = <3>;
402 #interrupt-cells = <1>;
404 compatible = "fsl,mpc8315-pcie", "fsl,mpc8314-pcie";
405 reg = <0xe0009000 0x00001000>;
406 ranges = <0x02000000 0 0xa0000000 0xa0000000 0 0x10000000
407 0x01000000 0 0x00000000 0xb1000000 0 0x00800000>;
409 interrupt-map-mask = <0xf800 0 0 7>;
410 interrupt-map = <0 0 0 1 &ipic 1 8
414 clock-frequency = <0>;
417 #address-cells = <3>;
421 ranges = <0x02000000 0 0xa0000000
422 0x02000000 0 0xa0000000
424 0x01000000 0 0x00000000
425 0x01000000 0 0x00000000
430 pci2: pcie@e000a000 {
431 #address-cells = <3>;
433 #interrupt-cells = <1>;
435 compatible = "fsl,mpc8315-pcie", "fsl,mpc8314-pcie";
436 reg = <0xe000a000 0x00001000>;
437 ranges = <0x02000000 0 0xc0000000 0xc0000000 0 0x10000000
438 0x01000000 0 0x00000000 0xd1000000 0 0x00800000>;
440 interrupt-map-mask = <0xf800 0 0 7>;
441 interrupt-map = <0 0 0 1 &ipic 2 8
445 clock-frequency = <0>;
448 #address-cells = <3>;
452 ranges = <0x02000000 0 0xc0000000
453 0x02000000 0 0xc0000000
455 0x01000000 0 0x00000000
456 0x01000000 0 0x00000000
462 compatible = "gpio-leds";
465 gpios = <&mcu_pio 0 0>;
466 default-state = "on";
470 gpios = <&mcu_pio 1 0>;
471 linux,default-trigger = "disk-activity";