1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright (C) 2009 Extreme Engineering Solutions, Inc.
4 * Based on TQM8548 device tree
6 * XPedite5200 PrPMC/XMC module based on MPC8548E. This dts is for the
7 * xMon boot loader memory map which differs from U-Boot's.
13 model = "xes,xpedite5200";
14 compatible = "xes,xpedite5200", "xes,MPC8548";
17 form-factor = "PMC/XMC";
39 d-cache-line-size = <32>; // 32 bytes
40 i-cache-line-size = <32>; // 32 bytes
41 d-cache-size = <0x8000>; // L1, 32K
42 i-cache-size = <0x8000>; // L1, 32K
43 next-level-cache = <&L2>;
48 device_type = "memory";
49 reg = <0x0 0x0>; // Filled in by boot loader
56 ranges = <0x0 0xef000000 0x100000>;
58 compatible = "fsl,mpc8548-immr", "simple-bus";
61 compatible = "fsl,ecm-law";
67 compatible = "fsl,mpc8548-ecm", "fsl,ecm";
68 reg = <0x1000 0x1000>;
70 interrupt-parent = <&mpic>;
73 memory-controller@2000 {
74 compatible = "fsl,mpc8548-memory-controller";
75 reg = <0x2000 0x1000>;
76 interrupt-parent = <&mpic>;
80 L2: l2-cache-controller@20000 {
81 compatible = "fsl,mpc8548-l2-cache-controller";
82 reg = <0x20000 0x1000>;
83 cache-line-size = <32>; // 32 bytes
84 cache-size = <0x80000>; // L2, 512K
85 interrupt-parent = <&mpic>;
94 compatible = "fsl-i2c";
97 interrupt-parent = <&mpic>;
102 * 0: BRD_CFG0 (1: P14 IO present)
103 * 1: BRD_CFG1 (1: FP ethernet present)
104 * 2: BRD_CFG2 (1: XMC IO present)
105 * 3: XMC root complex indicator
106 * 4: Flash boot device indicator
107 * 5: Flash write protect enable
108 * 6: PMC monarch indicator
112 compatible = "nxp,pca9556";
121 compatible = "nxp,pca9556";
129 compatible = "atmel,at24c16";
134 compatible = "st,m41t00",
140 compatible = "maxim,max1237";
147 #address-cells = <1>;
150 compatible = "fsl-i2c";
151 reg = <0x3100 0x100>;
153 interrupt-parent = <&mpic>;
158 #address-cells = <1>;
160 compatible = "fsl,mpc8548-dma", "fsl,eloplus-dma";
162 ranges = <0x0 0x21100 0x200>;
165 compatible = "fsl,mpc8548-dma-channel",
166 "fsl,eloplus-dma-channel";
169 interrupt-parent = <&mpic>;
173 compatible = "fsl,mpc8548-dma-channel",
174 "fsl,eloplus-dma-channel";
177 interrupt-parent = <&mpic>;
181 compatible = "fsl,mpc8548-dma-channel",
182 "fsl,eloplus-dma-channel";
185 interrupt-parent = <&mpic>;
189 compatible = "fsl,mpc8548-dma-channel",
190 "fsl,eloplus-dma-channel";
193 interrupt-parent = <&mpic>;
198 /* eTSEC1: Front panel port 0 */
199 enet0: ethernet@24000 {
200 #address-cells = <1>;
203 device_type = "network";
205 compatible = "gianfar";
206 reg = <0x24000 0x1000>;
207 ranges = <0x0 0x24000 0x1000>;
208 local-mac-address = [ 00 00 00 00 00 00 ];
209 interrupts = <29 2 30 2 34 2>;
210 interrupt-parent = <&mpic>;
211 tbi-handle = <&tbi0>;
212 phy-handle = <&phy0>;
215 #address-cells = <1>;
217 compatible = "fsl,gianfar-mdio";
220 phy0: ethernet-phy@1 {
221 interrupt-parent = <&mpic>;
225 phy1: ethernet-phy@2 {
226 interrupt-parent = <&mpic>;
230 phy2: ethernet-phy@3 {
231 interrupt-parent = <&mpic>;
235 phy3: ethernet-phy@4 {
236 interrupt-parent = <&mpic>;
242 device_type = "tbi-phy";
247 /* eTSEC2: Front panel port 1 */
248 enet1: ethernet@25000 {
249 #address-cells = <1>;
252 device_type = "network";
254 compatible = "gianfar";
255 reg = <0x25000 0x1000>;
256 ranges = <0x0 0x25000 0x1000>;
257 local-mac-address = [ 00 00 00 00 00 00 ];
258 interrupts = <35 2 36 2 40 2>;
259 interrupt-parent = <&mpic>;
260 tbi-handle = <&tbi1>;
261 phy-handle = <&phy1>;
264 #address-cells = <1>;
266 compatible = "fsl,gianfar-tbi";
271 device_type = "tbi-phy";
276 /* eTSEC3: Rear panel port 2 */
277 enet2: ethernet@26000 {
278 #address-cells = <1>;
281 device_type = "network";
283 compatible = "gianfar";
284 reg = <0x26000 0x1000>;
285 ranges = <0x0 0x26000 0x1000>;
286 local-mac-address = [ 00 00 00 00 00 00 ];
287 interrupts = <31 2 32 2 33 2>;
288 interrupt-parent = <&mpic>;
289 tbi-handle = <&tbi2>;
290 phy-handle = <&phy2>;
293 #address-cells = <1>;
295 compatible = "fsl,gianfar-tbi";
300 device_type = "tbi-phy";
305 /* eTSEC4: Rear panel port 3 */
306 enet3: ethernet@27000 {
307 #address-cells = <1>;
310 device_type = "network";
312 compatible = "gianfar";
313 reg = <0x27000 0x1000>;
314 ranges = <0x0 0x27000 0x1000>;
315 local-mac-address = [ 00 00 00 00 00 00 ];
316 interrupts = <37 2 38 2 39 2>;
317 interrupt-parent = <&mpic>;
318 tbi-handle = <&tbi3>;
319 phy-handle = <&phy3>;
322 #address-cells = <1>;
324 compatible = "fsl,gianfar-tbi";
329 device_type = "tbi-phy";
334 serial0: serial@4500 {
336 device_type = "serial";
337 compatible = "fsl,ns16550", "ns16550";
338 reg = <0x4500 0x100>;
339 clock-frequency = <0>;
340 current-speed = <9600>;
342 interrupt-parent = <&mpic>;
345 serial1: serial@4600 {
347 device_type = "serial";
348 compatible = "fsl,ns16550", "ns16550";
349 reg = <0x4600 0x100>;
350 clock-frequency = <0>;
351 current-speed = <9600>;
353 interrupt-parent = <&mpic>;
356 global-utilities@e0000 { // global utilities reg
357 compatible = "fsl,mpc8548-guts";
358 reg = <0xe0000 0x1000>;
363 interrupt-controller;
364 #address-cells = <0>;
365 #interrupt-cells = <2>;
366 reg = <0x40000 0x40000>;
367 compatible = "chrp,open-pic";
368 device_type = "open-pic";
373 compatible = "fsl,mpc8548-localbus", "fsl,pq3-localbus",
375 #address-cells = <2>;
377 reg = <0xef005000 0x100>; // BRx, ORx, etc.
378 interrupt-parent = <&mpic>;
382 0 0x0 0xf8000000 0x08000000 // NOR boot flash
383 1 0x0 0xf0000000 0x08000000 // NOR expansion flash
384 2 0x0 0xe8000000 0x00010000 // NAND CE1
385 3 0x0 0xe8010000 0x00010000 // NAND CE2
389 #address-cells = <1>;
391 compatible = "cfi-flash";
392 reg = <0 0x0 0x4000000>;
396 label = "Primary OS";
397 reg = <0x00000000 0x180000>;
400 label = "Secondary OS";
401 reg = <0x00180000 0x180000>;
405 reg = <0x00300000 0x3c80000>;
408 label = "Boot firmware";
409 reg = <0x03f80000 0x80000>;
414 #address-cells = <1>;
416 compatible = "cfi-flash";
417 reg = <1 0x0 0x4000000>;
421 label = "Filesystem";
422 reg = <0x00000000 0x3f80000>;
425 label = "Alternate boot firmware";
426 reg = <0x03f80000 0x80000>;
431 #address-cells = <1>;
433 compatible = "xes,address-ctl-nand";
434 reg = <2 0x0 0x10000>;
435 cle-line = <0x8>; /* CLE tied to A3 */
436 ale-line = <0x10>; /* ALE tied to A4 */
439 label = "NAND Filesystem";
440 reg = <0 0x40000000>;
447 #interrupt-cells = <1>;
449 #address-cells = <3>;
450 compatible = "fsl,mpc8540-pcix", "fsl,mpc8540-pci";
452 reg = <0xef008000 0x1000>;
453 clock-frequency = <33333333>;
454 interrupt-map-mask = <0xf800 0x0 0x0 0x7>;
457 0xe000 0 0 1 &mpic 2 1
458 0xe000 0 0 2 &mpic 3 1>;
460 interrupt-parent = <&mpic>;
463 ranges = <0x02000000 0 0x80000000 0x80000000 0 0x20000000
464 0x01000000 0 0x00000000 0xd0000000 0 0x01000000>;
468 pci1: pcie@ef00a000 {
469 interrupt-map-mask = <0xf800 0x0 0x0 0x7>;
472 0x00000 0 0 1 &mpic 0 1
473 0x00000 0 0 2 &mpic 1 1
474 0x00000 0 0 3 &mpic 2 1
475 0x00000 0 0 4 &mpic 3 1>;
477 interrupt-parent = <&mpic>;
479 bus-range = <0 0xff>;
480 ranges = <0x02000000 0 0xa0000000 0xa0000000 0 0x20000000
481 0x01000000 0 0x00000000 0xd1000000 0 0x01000000>;
482 clock-frequency = <33333333>;
483 #interrupt-cells = <1>;
485 #address-cells = <3>;
486 reg = <0xef00a000 0x1000>;
487 compatible = "fsl,mpc8548-pcie";
492 #address-cells = <3>;
494 ranges = <0x02000000 0 0xc0000000 0x02000000 0
495 0xc0000000 0 0x20000000
496 0x01000000 0 0x00000000 0x01000000 0
497 0x00000000 0 0x08000000>;
501 /* Needed for dtbImage boot wrapper compatibility */
503 stdout-path = &serial0;