1 // SPDX-License-Identifier: GPL-2.0+
3 * ABB PGGA km8321 common ports Device Tree Source
5 * Copyright (C) 2020 Heiko Schocher <hs@denx.de>
19 d-cache-line-size = <32>; // 32 bytes
20 i-cache-line-size = <32>; // 32 bytes
21 d-cache-size = <16384>; // L1, 16K
22 i-cache-size = <16384>; // L1, 16K
23 timebase-frequency = <66000000>;
24 bus-frequency = <264000000>;
25 clock-frequency = <528000000>;
30 device_type = "memory";
31 reg = <0x00000000 0x10000000>;
34 soc: soc8321@e0000000 {
38 compatible = "simple-bus";
39 ranges = <0x0 0xe0000000 0x00100000>;
40 reg = <0xe0000000 0x00000200>;
41 bus-frequency = <264000000>;
47 compatible = "fsl,mpc8313-i2c","fsl-i2c";
49 interrupts = <14 0x8>;
50 interrupt-parent = <&ipic>;
51 clock-frequency = <100000>;
54 serial0: serial@4500 {
56 device_type = "serial";
57 compatible = "fsl,ns16550", "ns16550";
59 clock-frequency = <264000000>;
61 interrupt-parent = <&ipic>;
67 compatible = "fsl,mpc8321-dma", "fsl,elo-dma";
69 ranges = <0 0x8100 0x1a8>;
70 interrupt-parent = <&ipic>;
74 compatible = "fsl,mpc8321-dma-channel",
75 "fsl,elo-dma-channel";
77 interrupt-parent = <&ipic>;
81 compatible = "fsl,mpc8321-dma-channel",
82 "fsl,elo-dma-channel";
84 interrupt-parent = <&ipic>;
88 compatible = "fsl,mpc8321-dma-channel",
89 "fsl,elo-dma-channel";
91 interrupt-parent = <&ipic>;
95 compatible = "fsl,mpc8321-dma-channel",
96 "fsl,elo-dma-channel";
98 interrupt-parent = <&ipic>;
104 #address-cells = <0>;
105 #interrupt-cells = <2>;
106 compatible = "fsl,pq2pro-pic", "fsl,ipic";
107 interrupt-controller;
109 device_type = "ipic";
112 par_io: par_io@1400 {
113 #address-cells = <1>;
115 reg = <0x1400 0x100>;
117 device_type = "par_io";
120 qe_pio_d: gpio-controller@48 {
122 compatible = "fsl,mpc8360-qe-pario-bank",
123 "fsl,mpc8323-qe-pario-bank";
131 #address-cells = <1>;
134 compatible = "fsl,qe";
135 ranges = <0x0 0xe0100000 0x00100000>;
136 reg = <0xe0100000 0x480>;
138 bus-frequency = <396000000>;
141 #address-cells = <1>;
143 compatible = "fsl,qe-muram", "fsl,cpm-muram";
144 ranges = <0x0 0x00010000 0x00004000>;
147 compatible = "fsl,qe-muram-data",
148 "fsl,cpm-muram-data";
153 /* Piggy2 (UCC4, MDIO 0x00, RMII) */
154 enet_piggy2: ucc@3200 {
155 device_type = "network";
156 compatible = "ucc_geth";
158 reg = <0x3200 0x200>;
160 interrupt-parent = <&qeic>;
161 local-mac-address = [ 00 00 00 00 00 00 ];
162 rx-clock-name = "none";
163 tx-clock-name = "clk17";
164 phy-handle = <&phy_piggy2>;
165 phy-connection-type = "rmii";
166 pio-handle = <&pio_ucc4>;
170 #address-cells = <1>;
173 compatible = "fsl,ucc-mdio";
175 /* Piggy2 (UCC4, MDIO 0x00, RMII) */
176 phy_piggy2: ethernet-phy@00 {
178 device_type = "ethernet-phy";
182 qeic: interrupt-controller@80 {
183 interrupt-controller;
184 compatible = "fsl,qe-ic";
185 #address-cells = <0>;
186 #interrupt-cells = <1>;
189 interrupts = <32 8 33 8>;
190 interrupt-parent = <&ipic>;
193 device_type = "bootcount";
194 compatible = "u-boot,bootcount";
195 reg = <0x13ff8 0x08>;
200 compatible = "fsl,spi";
203 interrupt-parent = <&qeic>;
205 #address-cells = <1>;
207 pio-handle = <&pio_spi>;
211 localbus: localbus@e0005000 {
212 #address-cells = <2>;
214 compatible = "fsl,mpc8321-localbus", "fsl,pq2pro-localbus",
216 reg = <0xe0005000 0xd8>;
220 #include "km8321-uboot.dtsi"