1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * Device Tree for the MGCOGE plattform from keymile
5 * Copyright 2008 DENX Software Engineering GmbH
6 * Heiko Schocher <hs@denx.de>
12 compatible = "keymile,km82xx";
28 d-cache-line-size = <32>;
29 i-cache-line-size = <32>;
30 d-cache-size = <16384>;
31 i-cache-size = <16384>;
32 timebase-frequency = <0>; /* Filled in by U-Boot */
33 clock-frequency = <0>; /* Filled in by U-Boot */
34 bus-frequency = <0>; /* Filled in by U-Boot */
39 compatible = "fsl,mpc8247-localbus",
44 reg = <0xf0010100 0x40>;
46 ranges = <0 0 0xfe000000 0x00400000
47 1 0 0x30000000 0x00010000
48 2 0 0x40000000 0x00010000
49 5 0 0x50000000 0x04000000
53 compatible = "cfi-flash";
54 reg = <0 0x0 0x400000>;
61 reg = <0x00000 0xC0000>;
65 reg = <0xC0000 0x20000>;
69 reg = <0xE0000 0x20000>;
73 reg = <0x100000 0x300000>;
78 compatible = "cfi-flash";
79 reg = <5 0x00000000 0x02000000
80 5 0x02000000 0x02000000>;
84 partition@app { /* 64 MBytes */
86 reg = <0x00000000 0x04000000>;
92 device_type = "memory";
93 reg = <0 0>; /* Filled in by U-Boot */
99 compatible = "fsl,mpc8247-immr", "fsl,pq2-soc", "simple-bus";
100 ranges = <0x00000000 0xf0000000 0x00053000>;
102 // Temporary until code stops depending on it.
106 #address-cells = <1>;
108 #interrupt-cells = <2>;
109 compatible = "fsl,mpc8247-cpm", "fsl,cpm2",
111 reg = <0x119c0 0x30>;
115 compatible = "fsl,cpm-muram";
116 #address-cells = <1>;
118 ranges = <0 0 0x10000>;
121 compatible = "fsl,cpm-muram-data";
122 reg = <0x80 0x1f80 0x9800 0x800>;
127 compatible = "fsl,mpc8247-brg",
130 reg = <0x119f0 0x10 0x115f0 0x10>;
133 /* Monitor port/SMC2 */
135 device_type = "serial";
136 compatible = "fsl,mpc8247-smc-uart",
138 reg = <0x11a90 0x20 0x88fc 0x02>;
140 interrupt-parent = <&PIC>;
142 fsl,cpm-command = <0x21200000>;
143 current-speed = <0>; /* Filled in by U-Boot */
146 eth0: ethernet@11a60 {
147 device_type = "network";
148 compatible = "fsl,mpc8247-scc-enet",
150 reg = <0x11a60 0x20 0x8300 0x100 0x11390 1>;
151 local-mac-address = [ 00 00 00 00 00 00 ]; /* Filled in by U-Boot */
153 interrupt-parent = <&PIC>;
154 linux,network-index = <0>;
155 fsl,cpm-command = <0xce00000>;
156 fixed-link = <0 0 10 0 0>;
160 compatible = "fsl,mpc8272-i2c",
162 reg = <0x11860 0x20 0x8afc 0x2>;
164 interrupt-parent = <&PIC>;
165 fsl,cpm-command = <0x29600000>;
166 #address-cells = <1>;
171 compatible = "fsl,cpm2-mdio-bitbang";
172 reg = <0x10d00 0x14>;
173 #address-cells = <1>;
178 phy0: ethernet-phy@0 {
182 phy1: ethernet-phy@1 {
187 /* FCC1 management to switch */
189 device_type = "network";
190 compatible = "fsl,cpm2-fcc-enet";
191 reg = <0x11300 0x20 0x8400 0x100 0x11390 0x1>;
192 local-mac-address = [ 00 01 02 03 04 07 ];
194 interrupt-parent = <&PIC>;
195 phy-handle = <&phy0>;
196 linux,network-index = <1>;
197 fsl,cpm-command = <0x12000300>;
200 /* FCC2 to redundant core unit over backplane */
202 device_type = "network";
203 compatible = "fsl,cpm2-fcc-enet";
204 reg = <0x11320 0x20 0x8500 0x100 0x113b0 0x1>;
205 local-mac-address = [ 00 01 02 03 04 08 ];
207 interrupt-parent = <&PIC>;
208 phy-handle = <&phy1>;
209 linux,network-index = <2>;
210 fsl,cpm-command = <0x16200300>;
214 compatible = "fsl,mpc8272-cpm-usb";
216 reg = <0x11b60 0x40 0x8b00 0x100>;
218 interrupt-parent = <&PIC>;
223 compatible = "fsl,spi", "fsl,cpm2-spi";
224 reg = <0x11a80 0x40 0x89fc 0x2>;
226 interrupt-parent = <&PIC>;
227 cs-gpios = < &cpm2_pio_d 19 0>;
228 #address-cells = <1>;
231 compatible = "gen,spidev";
233 spi-max-frequency = <8000000>;
239 cpm2_pio_d: gpio-controller@10d60 {
241 compatible = "fsl,cpm2-pario-bank";
242 reg = <0x10d60 0x14>;
246 cpm2_pio_c: gpio-controller@10d40 {
248 compatible = "fsl,cpm2-pario-bank";
249 reg = <0x10d40 0x14>;
253 PIC: interrupt-controller@10c00 {
254 #interrupt-cells = <2>;
255 interrupt-controller;
256 reg = <0x10c00 0x80>;
257 compatible = "fsl,mpc8247-pic", "fsl,pq2-pic";