1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
6 compatible = "qca,qca9550";
12 bootargs = "console=ttyS0,115200n8";
21 compatible = "mips,mips74Kc";
22 clocks = <&pll ATH79_CLK_CPU>;
28 compatible = "fixed-clock";
30 clock-output-names = "ref";
31 clock-frequency = <40000000>;
36 ddr_ctrl: memory-controller@18000000 {
37 compatible = "qca,qca9550-ddr-controller",
38 "qca,ar7240-ddr-controller";
39 reg = <0x18000000 0x100>;
41 #qca,ddr-wb-channel-cells = <1>;
45 compatible = "ns16550a";
46 reg = <0x18020000 0x20>;
50 clocks = <&pll ATH79_CLK_REF>;
58 usb_phy0: usb-phy0@18030000 {
59 compatible ="qca,qca9550-usb-phy", "qca,ar7200-usb-phy";
60 reg = <0x18030000 4>, <0x18030004 4>;
62 reset-names = "usb-phy", "usb-suspend-override";
63 resets = <&rst 4>, <&rst 3>;
70 usb_phy1: usb-phy1@18030010 {
71 compatible = "qca,qca9550-usb-phy", "qca,ar7200-usb-phy";
72 reg = <0x18030010 4>, <0x18030014 4>;
74 reset-names = "usb-phy", "usb-suspend-override";
75 resets = <&rst2 4>, <&rst2 3>;
83 compatible = "qca,qca9550-gpio",
85 reg = <0x18040000 0x28>;
94 #interrupt-cells = <2>;
97 pinmux: pinmux@1804002c {
98 compatible = "pinctrl-single";
100 reg = <0x1804002c 0x44>;
104 pinctrl-single,bit-per-mux;
105 pinctrl-single,register-width = <32>;
106 pinctrl-single,function-mask = <0x1>;
107 #pinctrl-cells = <2>;
109 jtag_disable_pins: pinmux_jtag_disable_pins {
110 pinctrl-single,bits = <0x40 0x2 0x2>;
114 pll: pll-controller@18050000 {
115 compatible = "qca,qca9550-pll",
116 "qca,qca9550-pll", "syscon";
117 reg = <0x18050000 0x50>;
120 clock-output-names = "cpu", "ddr", "ahb";
126 compatible = "qca,ar7130-wdt";
127 reg = <0x18060008 0x8>;
131 clocks = <&pll ATH79_CLK_AHB>;
135 rst: reset-controller@1806001c {
136 compatible = "qca,qca9550-reset",
138 reg = <0x1806001c 0x4>;
141 interrupt-parent = <&cpuintc>;
143 intc2: interrupt-controller2 {
144 compatible = "qca,ar9340-intc";
146 interrupt-parent = <&cpuintc>;
149 interrupt-controller;
150 #interrupt-cells = <1>;
152 qca,int-status-addr = <0xac>;
153 qca,pending-bits = <0xf>, /* wmac */
154 <0x1f0>; /* pcie rc 0 */
157 intc3: interrupt-controller3 {
158 compatible = "qca,ar9340-intc";
160 interrupt-parent = <&cpuintc>;
163 interrupt-controller;
164 #interrupt-cells = <1>;
166 qca,int-status-addr = <0xac>;
167 qca,pending-bits = <0x1f000>, /* pcie rc 1 */
168 <0x1000000>, /* usb1 */
169 <0x10000000>; /* usb2 */
173 rst2: reset-controller@180600c0 {
174 compatible = "qca,qca9550-reset",
177 reg = <0x180600c0 0x4>;
183 gmac: gmac@18070000 {
184 compatible = "qca,qca9550-gmac";
185 reg = <0x18070000 0x58>;
188 pcie0: pcie-controller@180c0000 {
189 compatible = "qcom,qca9550-pci", "qcom,ar7240-pci";
190 #address-cells = <3>;
192 bus-range = <0x0 0x0>;
193 reg = <0x180c0000 0x1000>, /* CRP */
194 <0x180f0000 0x100>, /* CTRL */
195 <0x14000000 0x1000>; /* CFG */
196 reg-names = "crp_base", "ctrl_base", "cfg_base";
197 ranges = <0x2000000 0 0x10000000 0x10000000 0 0x02000000 /* pci memory */
198 0x1000000 0 0x00000000 0x0000000 0 0x000001>; /* io space */
199 interrupt-parent = <&intc2>;
202 resets = <&rst 6>, <&rst 7>;
203 reset-names = "hc", "phy";
205 interrupt-controller;
206 #interrupt-cells = <1>;
208 interrupt-map-mask = <0 0 0 1>;
209 interrupt-map = <0 0 0 0 &pcie0 0>;
213 wmac: wmac@18100000 {
214 compatible = "qca,qca9550-wmac";
215 reg = <0x18100000 0x10000>;
217 interrupt-parent = <&intc2>;
223 pcie1: pcie-controller@18250000 {
224 compatible = "qcom,qca9550-pci", "qcom,ar7240-pci";
225 #address-cells = <3>;
227 bus-range = <0x0 0x0>;
228 reg = <0x18250000 0x1000>, /* CRP */
229 <0x18280000 0x100>, /* CTRL */
230 <0x16000000 0x1000>; /* CFG */
231 reg-names = "crp_base", "ctrl_base", "cfg_base";
232 ranges = <0x2000000 0 0x12000000 0x12000000 0 0x02000000 /* pci memory */
233 0x1000000 0 0x00000000 0x0000001 0 0x000001>; /* io space */
234 interrupt-parent = <&intc3>;
237 resets = <&rst2 6>, <&rst2 7>;
238 reset-names = "hc", "phy";
240 interrupt-controller;
241 #interrupt-cells = <1>;
243 interrupt-map-mask = <0 0 0 1>;
244 interrupt-map = <0 0 0 0 &pcie1 0>;
249 compatible = "generic-ehci";
250 reg = <0x1b000000 0x1fc>;
252 interrupt-parent = <&intc3>;
255 reset-names = "usb-host";
257 has-transaction-translator;
258 caps-offset = <0x100>;
260 phy-names = "usb-phy0";
267 compatible = "generic-ehci";
268 reg = <0x1b400000 0x1fc>;
270 interrupt-parent = <&intc3>;
273 reset-names = "usb-host";
275 has-transaction-translator;
276 caps-offset = <0x100>;
278 phy-names = "usb-phy1";
284 nand: nand@1b800200 {
285 compatible = "qca,ar934x-nand";
286 reg = <0x1b800200 0xb8>;
289 interrupt-parent = <&miscintc>;
292 reset-names = "nand";
294 nand-ecc-mode = "hw";
296 #address-cells = <1>;
303 compatible = "qca,ar934x-spi";
304 reg = <0x1f000000 0x1c>;
306 clocks = <&pll ATH79_CLK_AHB>;
310 #address-cells = <1>;
317 compatible = "qca,ar9340-mdio";
321 compatible = "qca,qca9550-eth", "syscon";
323 pll-reg = <0 0x28 0>;
326 pll-data = <0x16000000 0x00000101 0x00001616>;
329 resets = <&rst 9>, <&rst 22>;
330 reset-names = "mac", "mdio";
334 compatible = "qca,ar9340-mdio";
338 compatible = "qca,qca9550-eth", "syscon";
340 pll-reg = <0 0x48 0>;
343 pll-data = <0x16000000 0x00000101 0x00001616>;
346 resets = <&rst 13>, <&rst 23>;
347 reset-names = "mac", "mdio";