1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * MPC8313E RDB Device Tree Source
5 * Copyright 2005, 2006, 2007 Freescale Semiconductor Inc.
11 model = "MPC8313ERDB";
12 compatible = "MPC8313ERDB", "MPC831xRDB", "MPC83xxRDB";
31 d-cache-line-size = <32>;
32 i-cache-line-size = <32>;
33 d-cache-size = <16384>;
34 i-cache-size = <16384>;
35 timebase-frequency = <0>; // from bootloader
36 bus-frequency = <0>; // from bootloader
37 clock-frequency = <0>; // from bootloader
42 device_type = "memory";
43 reg = <0x00000000 0x08000000>; // 128MB at 0
49 compatible = "fsl,mpc8313-elbc", "fsl,elbc", "simple-bus";
50 reg = <0xe0005000 0x1000>;
51 interrupts = <77 0x8>;
52 interrupt-parent = <&ipic>;
54 // CS0 and CS1 are swapped when
55 // booting from nand, but the
56 // addresses are the same.
57 ranges = <0x0 0x0 0xfe000000 0x00800000
58 0x1 0x0 0xe2800000 0x00008000
59 0x2 0x0 0xf0000000 0x00020000
60 0x3 0x0 0xfa000000 0x00008000>;
65 compatible = "cfi-flash";
66 reg = <0x0 0x0 0x800000>;
74 compatible = "fsl,mpc8313-fcm-nand",
76 reg = <0x1 0x0 0x2000>;
84 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";
109 #address-cells = <1>;
111 compatible = "simple-bus";
112 sleep = <&pmc 0x03000000>;
116 #address-cells = <1>;
119 compatible = "fsl-i2c";
120 reg = <0x3000 0x100>;
121 interrupts = <14 0x8>;
122 interrupt-parent = <&ipic>;
125 compatible = "dallas,ds1339";
131 compatible = "fsl,sec2.2", "fsl,sec2.1",
133 reg = <0x30000 0x10000>;
134 interrupts = <11 0x8>;
135 interrupt-parent = <&ipic>;
136 fsl,num-channels = <1>;
137 fsl,channel-fifo-len = <24>;
138 fsl,exec-units-mask = <0x4c>;
139 fsl,descriptor-types-mask = <0x0122003f>;
144 #address-cells = <1>;
147 compatible = "fsl-i2c";
148 reg = <0x3100 0x100>;
149 interrupts = <15 0x8>;
150 interrupt-parent = <&ipic>;
156 compatible = "fsl,spi";
157 reg = <0x7000 0x1000>;
158 interrupts = <16 0x8>;
159 interrupt-parent = <&ipic>;
163 /* phy type (ULPI, UTMI, UTMI_WIDE, SERIAL) */
165 compatible = "fsl-usb2-dr";
166 reg = <0x23000 0x1000>;
167 #address-cells = <1>;
169 interrupt-parent = <&ipic>;
170 interrupts = <38 0x8>;
171 phy_type = "utmi_wide";
172 sleep = <&pmc 0x00300000>;
176 compatible = "fsl,etsec-ptp";
177 reg = <0x24E00 0xB0>;
178 interrupts = <12 0x8 13 0x8>;
179 interrupt-parent = < &ipic >;
180 fsl,tclk-period = <10>;
181 fsl,tmr-prsc = <100>;
182 fsl,tmr-add = <0x999999A4>;
183 fsl,tmr-fiper1 = <0x3B9AC9F6>;
184 fsl,tmr-fiper2 = <0x00018696>;
185 fsl,max-adj = <659999998>;
188 enet0: ethernet@24000 {
189 #address-cells = <1>;
191 sleep = <&pmc 0x20000000>;
192 ranges = <0x0 0x24000 0x1000>;
195 device_type = "network";
197 compatible = "gianfar";
198 reg = <0x24000 0x1000>;
199 local-mac-address = [ 00 00 00 00 00 00 ];
200 interrupts = <37 0x8 36 0x8 35 0x8>;
201 interrupt-parent = <&ipic>;
202 tbi-handle = < &tbi0 >;
203 /* Vitesse 7385 isn't on the MDIO bus */
204 fixed-link = <1 1 1000 0 0>;
208 #address-cells = <1>;
210 compatible = "fsl,gianfar-mdio";
212 phy4: ethernet-phy@4 {
213 interrupt-parent = <&ipic>;
214 interrupts = <20 0x8>;
219 device_type = "tbi-phy";
224 enet1: ethernet@25000 {
225 #address-cells = <1>;
228 device_type = "network";
230 compatible = "gianfar";
231 reg = <0x25000 0x1000>;
232 ranges = <0x0 0x25000 0x1000>;
233 local-mac-address = [ 00 00 00 00 00 00 ];
234 interrupts = <34 0x8 33 0x8 32 0x8>;
235 interrupt-parent = <&ipic>;
236 tbi-handle = < &tbi1 >;
237 phy-handle = < &phy4 >;
238 sleep = <&pmc 0x10000000>;
242 #address-cells = <1>;
244 compatible = "fsl,gianfar-tbi";
249 device_type = "tbi-phy";
256 serial0: serial@4500 {
258 device_type = "serial";
259 compatible = "fsl,ns16550", "ns16550";
260 reg = <0x4500 0x100>;
261 clock-frequency = <0>;
262 interrupts = <9 0x8>;
263 interrupt-parent = <&ipic>;
266 serial1: serial@4600 {
268 device_type = "serial";
269 compatible = "fsl,ns16550", "ns16550";
270 reg = <0x4600 0x100>;
271 clock-frequency = <0>;
272 interrupts = <10 0x8>;
273 interrupt-parent = <&ipic>;
277 * interrupts cell = <intr #, sense>
278 * sense values match linux IORESOURCE_IRQ_* defines:
279 * sense == 8: Level, low assertion
280 * sense == 2: Edge, high-to-low change
283 interrupt-controller;
284 #address-cells = <0>;
285 #interrupt-cells = <2>;
287 device_type = "ipic";
291 compatible = "fsl,mpc8313-pmc", "fsl,mpc8349-pmc";
292 reg = <0xb00 0x100 0xa00 0x100>;
294 interrupt-parent = <&ipic>;
295 fsl,mpc8313-wakeup-timer = <>m1>;
297 /* Remove this (or change to "okay") if you have
298 * a REVA3 or later board, if you apply one of the
299 * workarounds listed in section 8.5 of the board
300 * manual, or if you are adapting this device tree
301 * to a different board.
307 compatible = "fsl,mpc8313-gtm", "fsl,gtm";
309 interrupts = <90 8 78 8 84 8 72 8>;
310 interrupt-parent = <&ipic>;
314 compatible = "fsl,mpc8313-gtm", "fsl,gtm";
316 interrupts = <91 8 79 8 85 8 73 8>;
317 interrupt-parent = <&ipic>;
322 #address-cells = <1>;
324 compatible = "simple-bus";
325 sleep = <&pmc 0x00010000>;
330 interrupt-map-mask = <0xf800 0x0 0x0 0x7>;
332 /* IDSEL 0x0E -mini PCI */
333 0x7000 0x0 0x0 0x1 &ipic 18 0x8
334 0x7000 0x0 0x0 0x2 &ipic 18 0x8
335 0x7000 0x0 0x0 0x3 &ipic 18 0x8
336 0x7000 0x0 0x0 0x4 &ipic 18 0x8
338 /* IDSEL 0x0F - PCI slot */
339 0x7800 0x0 0x0 0x1 &ipic 17 0x8
340 0x7800 0x0 0x0 0x2 &ipic 18 0x8
341 0x7800 0x0 0x0 0x3 &ipic 17 0x8
342 0x7800 0x0 0x0 0x4 &ipic 18 0x8>;
343 interrupt-parent = <&ipic>;
344 interrupts = <66 0x8>;
345 bus-range = <0x0 0x0>;
346 ranges = <0x02000000 0x0 0x90000000 0x90000000 0x0 0x10000000
347 0x42000000 0x0 0x80000000 0x80000000 0x0 0x10000000
348 0x01000000 0x0 0x00000000 0xe2000000 0x0 0x00100000>;
349 clock-frequency = <66666666>;
350 #interrupt-cells = <1>;
352 #address-cells = <3>;
353 reg = <0xe0008500 0x100 /* internal registers */
354 0xe0008300 0x8>; /* config space access registers */
355 compatible = "fsl,mpc8349-pci";
360 #address-cells = <1>;
362 compatible = "fsl,mpc8313-dma", "fsl,elo-dma";
363 reg = <0xe00082a8 4>;
364 ranges = <0 0xe0008100 0x1a8>;
365 interrupt-parent = <&ipic>;
369 compatible = "fsl,mpc8313-dma-channel",
370 "fsl,elo-dma-channel";
372 interrupt-parent = <&ipic>;
378 compatible = "fsl,mpc8313-dma-channel",
379 "fsl,elo-dma-channel";
381 interrupt-parent = <&ipic>;
387 compatible = "fsl,mpc8313-dma-channel",
388 "fsl,elo-dma-channel";
390 interrupt-parent = <&ipic>;
396 compatible = "fsl,mpc8313-dma-channel",
397 "fsl,elo-dma-channel";
399 interrupt-parent = <&ipic>;