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
12 model = "xes,xpedite5200";
13 compatible = "xes,xpedite5200", "xes,MPC8548";
35 d-cache-line-size = <32>; // 32 bytes
36 i-cache-line-size = <32>; // 32 bytes
37 d-cache-size = <0x8000>; // L1, 32K
38 i-cache-size = <0x8000>; // L1, 32K
39 next-level-cache = <&L2>;
44 device_type = "memory";
45 reg = <0x0 0x0>; // Filled in by U-Boot
52 ranges = <0x0 0xef000000 0x100000>;
54 compatible = "fsl,mpc8548-immr", "simple-bus";
57 compatible = "fsl,ecm-law";
63 compatible = "fsl,mpc8548-ecm", "fsl,ecm";
64 reg = <0x1000 0x1000>;
66 interrupt-parent = <&mpic>;
69 memory-controller@2000 {
70 compatible = "fsl,mpc8548-memory-controller";
71 reg = <0x2000 0x1000>;
72 interrupt-parent = <&mpic>;
76 L2: l2-cache-controller@20000 {
77 compatible = "fsl,mpc8548-l2-cache-controller";
78 reg = <0x20000 0x1000>;
79 cache-line-size = <32>; // 32 bytes
80 cache-size = <0x80000>; // L2, 512K
81 interrupt-parent = <&mpic>;
90 compatible = "fsl-i2c";
93 interrupt-parent = <&mpic>;
98 * 0: BRD_CFG0 (1: P14 IO present)
99 * 1: BRD_CFG1 (1: FP ethernet present)
100 * 2: BRD_CFG2 (1: XMC IO present)
101 * 3: XMC root complex indicator
102 * 4: Flash boot device indicator
103 * 5: Flash write protect enable
104 * 6: PMC monarch indicator
108 compatible = "nxp,pca9556";
117 compatible = "nxp,pca9556";
125 compatible = "atmel,at24c16";
130 compatible = "st,m41t00",
136 compatible = "maxim,max1237";
143 #address-cells = <1>;
146 compatible = "fsl-i2c";
147 reg = <0x3100 0x100>;
149 interrupt-parent = <&mpic>;
154 #address-cells = <1>;
156 compatible = "fsl,mpc8548-dma", "fsl,eloplus-dma";
158 ranges = <0x0 0x21100 0x200>;
161 compatible = "fsl,mpc8548-dma-channel",
162 "fsl,eloplus-dma-channel";
165 interrupt-parent = <&mpic>;
169 compatible = "fsl,mpc8548-dma-channel",
170 "fsl,eloplus-dma-channel";
173 interrupt-parent = <&mpic>;
177 compatible = "fsl,mpc8548-dma-channel",
178 "fsl,eloplus-dma-channel";
181 interrupt-parent = <&mpic>;
185 compatible = "fsl,mpc8548-dma-channel",
186 "fsl,eloplus-dma-channel";
189 interrupt-parent = <&mpic>;
194 /* eTSEC1: Front panel port 0 */
195 enet0: ethernet@24000 {
196 #address-cells = <1>;
199 device_type = "network";
201 compatible = "gianfar";
202 reg = <0x24000 0x1000>;
203 ranges = <0x0 0x24000 0x1000>;
204 local-mac-address = [ 00 00 00 00 00 00 ];
205 interrupts = <29 2 30 2 34 2>;
206 interrupt-parent = <&mpic>;
207 tbi-handle = <&tbi0>;
208 phy-handle = <&phy0>;
211 #address-cells = <1>;
213 compatible = "fsl,gianfar-mdio";
216 phy0: ethernet-phy@1 {
217 interrupt-parent = <&mpic>;
221 phy1: ethernet-phy@2 {
222 interrupt-parent = <&mpic>;
226 phy2: ethernet-phy@3 {
227 interrupt-parent = <&mpic>;
231 phy3: ethernet-phy@4 {
232 interrupt-parent = <&mpic>;
238 device_type = "tbi-phy";
243 /* eTSEC2: Front panel port 1 */
244 enet1: ethernet@25000 {
245 #address-cells = <1>;
248 device_type = "network";
250 compatible = "gianfar";
251 reg = <0x25000 0x1000>;
252 ranges = <0x0 0x25000 0x1000>;
253 local-mac-address = [ 00 00 00 00 00 00 ];
254 interrupts = <35 2 36 2 40 2>;
255 interrupt-parent = <&mpic>;
256 tbi-handle = <&tbi1>;
257 phy-handle = <&phy1>;
260 #address-cells = <1>;
262 compatible = "fsl,gianfar-tbi";
267 device_type = "tbi-phy";
272 /* eTSEC3: Rear panel port 2 */
273 enet2: ethernet@26000 {
274 #address-cells = <1>;
277 device_type = "network";
279 compatible = "gianfar";
280 reg = <0x26000 0x1000>;
281 ranges = <0x0 0x26000 0x1000>;
282 local-mac-address = [ 00 00 00 00 00 00 ];
283 interrupts = <31 2 32 2 33 2>;
284 interrupt-parent = <&mpic>;
285 tbi-handle = <&tbi2>;
286 phy-handle = <&phy2>;
289 #address-cells = <1>;
291 compatible = "fsl,gianfar-tbi";
296 device_type = "tbi-phy";
301 /* eTSEC4: Rear panel port 3 */
302 enet3: ethernet@27000 {
303 #address-cells = <1>;
306 device_type = "network";
308 compatible = "gianfar";
309 reg = <0x27000 0x1000>;
310 ranges = <0x0 0x27000 0x1000>;
311 local-mac-address = [ 00 00 00 00 00 00 ];
312 interrupts = <37 2 38 2 39 2>;
313 interrupt-parent = <&mpic>;
314 tbi-handle = <&tbi3>;
315 phy-handle = <&phy3>;
318 #address-cells = <1>;
320 compatible = "fsl,gianfar-tbi";
325 device_type = "tbi-phy";
330 serial0: serial@4500 {
332 device_type = "serial";
333 compatible = "fsl,ns16550", "ns16550";
334 reg = <0x4500 0x100>;
335 clock-frequency = <0>;
336 current-speed = <115200>;
338 interrupt-parent = <&mpic>;
341 serial1: serial@4600 {
343 device_type = "serial";
344 compatible = "fsl,ns16550", "ns16550";
345 reg = <0x4600 0x100>;
346 clock-frequency = <0>;
347 current-speed = <115200>;
349 interrupt-parent = <&mpic>;
352 global-utilities@e0000 { // global utilities reg
353 compatible = "fsl,mpc8548-guts";
354 reg = <0xe0000 0x1000>;
359 interrupt-controller;
360 #address-cells = <0>;
361 #interrupt-cells = <2>;
362 reg = <0x40000 0x40000>;
363 compatible = "chrp,open-pic";
364 device_type = "open-pic";
369 compatible = "fsl,mpc8548-localbus", "fsl,pq3-localbus",
371 #address-cells = <2>;
373 reg = <0xef005000 0x100>; // BRx, ORx, etc.
374 interrupt-parent = <&mpic>;
378 0 0x0 0xfc000000 0x04000000 // NOR boot flash
379 1 0x0 0xf8000000 0x04000000 // NOR expansion flash
380 2 0x0 0xef800000 0x00010000 // NAND CE1
381 3 0x0 0xef840000 0x00010000 // NAND CE2
385 #address-cells = <1>;
387 compatible = "cfi-flash";
388 reg = <0 0x0 0x4000000>;
392 label = "Primary OS";
393 reg = <0x00000000 0x180000>;
396 label = "Secondary OS";
397 reg = <0x00180000 0x180000>;
401 reg = <0x00300000 0x3c80000>;
404 label = "Boot firmware";
405 reg = <0x03f80000 0x80000>;
410 #address-cells = <1>;
412 compatible = "cfi-flash";
413 reg = <1 0x0 0x4000000>;
417 label = "Filesystem";
418 reg = <0x00000000 0x3f80000>;
421 label = "Alternate boot firmware";
422 reg = <0x03f80000 0x80000>;
427 #address-cells = <1>;
429 compatible = "xes,address-ctl-nand";
430 reg = <2 0x0 0x10000>;
431 cle-line = <0x8>; /* CLE tied to A3 */
432 ale-line = <0x10>; /* ALE tied to A4 */
434 /* U-Boot should fix this up */
436 label = "NAND Filesystem";
437 reg = <0 0x40000000>;
444 #interrupt-cells = <1>;
446 #address-cells = <3>;
447 compatible = "fsl,mpc8540-pcix", "fsl,mpc8540-pci";
449 reg = <0xef008000 0x1000>;
450 clock-frequency = <33333333>;
451 interrupt-map-mask = <0xf800 0x0 0x0 0x7>;
454 0xe000 0 0 1 &mpic 2 1
455 0xe000 0 0 2 &mpic 3 1>;
457 interrupt-parent = <&mpic>;
460 ranges = <0x02000000 0 0x80000000 0x80000000 0 0x40000000
461 0x01000000 0 0x00000000 0xe8000000 0 0x00800000>;
464 /* XMC PCIe is not yet enabled in U-Boot on XPedite5200 */