1 // SPDX-License-Identifier: GPL-2.0+
3 * ABB PGGA TEGR1 Device Tree Source
5 * Copyright (C) 2020 Heiko Schocher <hs@denx.de>
13 compatible = "ABB,kmpbec8309";
18 ethernet0 = &enet_zynq;
19 ethernet1 = &enet_piggy2;
30 d-cache-line-size = <32>; // 32 bytes
31 i-cache-line-size = <32>; // 32 bytes
32 d-cache-size = <16384>; // L1, 16K
33 i-cache-size = <16384>; // L1, 16K
34 timebase-frequency = <66000000>;
35 bus-frequency = <264000000>;
36 clock-frequency = <264000000>;
41 device_type = "memory";
42 reg = <0x00000000 0x10000000>;
45 soc: soc8309@e0000000 {
49 compatible = "simple-bus";
50 ranges = <0x0 0xe0000000 0x00100000>;
51 reg = <0xe0000000 0x00000200>;
52 bus-frequency = <264000000>;
58 compatible = "fsl,mpc8313-i2c","fsl-i2c";
60 interrupts = <14 0x8>;
61 interrupt-parent = <&ipic>;
62 clock-frequency = <400000>;
65 compatible = "nxp,pca9547";
76 * Inventory EEPROM of the
91 /* Temperature sensors */
94 compatible = "national,lm75";
100 compatible = "national,lm75";
106 compatible = "national,lm75";
112 compatible = "national,lm75";
119 #address-cells = <1>;
126 #address-cells = <1>;
133 #address-cells = <1>;
140 #address-cells = <1>;
147 serial0: serial@4500 {
149 device_type = "serial";
150 compatible = "fsl,ns16550", "ns16550";
151 reg = <0x4500 0x100>;
152 clock-frequency = <264000000>;
153 interrupts = <9 0x8>;
154 interrupt-parent = <&ipic>;
158 #address-cells = <1>;
160 compatible = "fsl,mpc8309-dma", "fsl,elo-dma";
162 ranges = <0 0x8100 0x1a8>;
163 interrupt-parent = <&ipic>;
167 compatible = "fsl,mpc8309-dma-channel",
168 "fsl,elo-dma-channel";
170 interrupt-parent = <&ipic>;
174 compatible = "fsl,mpc8309-dma-channel",
175 "fsl,elo-dma-channel";
177 interrupt-parent = <&ipic>;
181 compatible = "fsl,mpc8309-dma-channel",
182 "fsl,elo-dma-channel";
184 interrupt-parent = <&ipic>;
188 compatible = "fsl,mpc8309-dma-channel",
189 "fsl,elo-dma-channel";
191 interrupt-parent = <&ipic>;
197 #address-cells = <0>;
198 #interrupt-cells = <2>;
199 compatible = "fsl,pq2pro-pic", "fsl,ipic";
200 interrupt-controller;
202 device_type = "ipic";
205 gpio1: gpio-controller@c00 {
207 compatible = "fsl,mpc8309-gpio", "fsl,mpc8349-gpio";
209 interrupts = <75 0x8>;
210 interrupt-parent = <&ipic>;
212 interrupt-controller;
213 #interrupt-cells = <2>;
216 gpio2: gpio-controller@d00 {
218 compatible = "fsl,mpc8309-gpio", "fsl,mpc8349-gpio";
220 interrupts = <75 0x8>;
221 interrupt-parent = <&ipic>;
223 interrupt-controller;
224 #interrupt-cells = <2>;
229 compatible = "fsl,spi";
230 reg = <0x7000 0x1000>;
231 interrupts = <16 0x8>;
232 interrupt-parent = <&ipic>;
234 #address-cells = <1>;
237 /* GPIO_15 chipselect for ZYNQ flash */
238 gpios = <&gpio1 15 0>;
241 #address-cells = <1>;
243 compatible = "spansion,m25p80";
245 spi-max-frequency = <4000000>;
248 label = "bootloader";
249 reg = <0x0 0x01000000>;
256 #address-cells = <1>;
259 compatible = "fsl,qe";
260 ranges = <0x0 0xe0100000 0x00100000>;
261 reg = <0xe0100000 0x480>;
263 bus-frequency = <396000000>;
264 fsl,qe-num-snums = <32>;
267 #address-cells = <1>;
269 compatible = "fsl,qe-muram", "fsl,cpm-muram";
270 ranges = <0x0 0x00010000 0x00004000>;
273 compatible = "fsl,qe-muram-data",
274 "fsl,cpm-muram-data";
279 /* ZYNQ (UCC1, MDIO 0x10, MII) */
280 enet_zynq: ethernet@2000 {
281 device_type = "network";
282 compatible = "ucc_geth";
284 reg = <0x2000 0x200>;
286 interrupt-parent = <&qeic>;
287 local-mac-address = [ 00 00 00 00 00 00 ];
288 /*id=0, full-dup, 100M, no-pause, no-asym_p*/
289 fixed-link = <0 1 100 0 0>;
290 rx-clock-name = "clk9";
291 tx-clock-name = "clk10";
292 phy-connection-type = "mii";
295 /* Piggy2 (UCC3, MDIO 0x00, RMII) */
296 enet_piggy2: ucc@2200 {
297 device_type = "network";
298 compatible = "ucc_geth";
300 reg = <0x2200 0x200>;
302 interrupt-parent = <&qeic>;
303 local-mac-address = [ 00 00 00 00 00 00 ];
304 rx-clock-name = "none";
305 tx-clock-name = "clk12";
306 phy-handle = <&phy_piggy2>;
307 phy-connection-type = "rmii";
311 #address-cells = <1>;
314 compatible = "fsl,ucc-mdio";
316 /* Piggy2 (UCC3, MDIO 0x00, RMII) */
317 phy_piggy2: ethernet-phy@0 {
319 device_type = "ethernet-phy";
322 /* Explicitly set the tbi-phy to a non-zero address
323 * so that it does not conflict with phy_piggy2 that
324 * is unfortunately at address 0
328 device_type = "tbi-phy";
332 qeic: interrupt-controller@80 {
333 interrupt-controller;
334 compatible = "fsl,qe-ic";
335 #address-cells = <0>;
336 #interrupt-cells = <1>;
339 interrupts = <32 8 33 8>;
340 interrupt-parent = <&ipic>;
343 device_type = "bootcount";
344 compatible = "u-boot,bootcount";
345 reg = <0x13ff8 0x08>;
350 #address-cells = <2>;
352 compatible = "fsl,mpc8309-localbus", "fsl,pq2pro-localbus",
354 reg = <0xe0005000 0xd8>;
355 ranges = <0 0 0xf0000000 0x04000000
356 1 0 0xe8000000 0x01000000
357 2 0 0xe0000000 0x10000000
358 3 0 0xb0000000 0x10000000>;
361 compatible = "cfi-flash";
362 reg = <0 0x00000000 0x04000000>;
365 #address-cells = <1>;
367 use-advanced-sector-protection;
368 partition@0 { /* 768KB */
372 partition@c0000 { /* 256KB */
374 reg = <0xc0000 0x40000>;
376 partition@100000 { /* 128KB */
378 reg = <0x100000 0x20000>;
380 partition@120000 { /* 128KB */
382 reg = <0x120000 0x20000>;
384 partition@140000 { /* 64256KB */
386 reg = <0x140000 0x3EC0000>;
392 #include "km8309-uboot.dtsi"