1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
2 #include <dt-bindings/clock/ath79-clk.h>
6 compatible = "qca,qca9560";
17 compatible = "mips,mips74Kc";
18 clocks = <&pll ATH79_CLK_CPU>;
24 compatible = "fixed-clock";
26 clock-output-names = "ref";
27 clock-frequency = <25000000>;
32 ddr_ctrl: memory-controller@18000000 {
33 compatible = "qca,qca9560-ddr-controller",
34 "qca,ar7240-ddr-controller";
35 reg = <0x18000000 0x100>;
37 #qca,ddr-wb-channel-cells = <1>;
41 compatible = "ns16550a";
42 reg = <0x18020000 0x20>;
46 clocks = <&pll ATH79_CLK_REF>;
57 compatible = "qca,qca9560-gpio",
59 reg = <0x18040000 0x28>;
68 #interrupt-cells = <2>;
71 pinmux: pinmux@1804002c {
72 compatible = "pinctrl-single";
74 reg = <0x1804002c 0x40>;
78 pinctrl-single,bit-per-mux;
79 pinctrl-single,register-width = <32>;
80 pinctrl-single,function-mask = <0x1>;
83 jtag_disable_pins: pinmux_jtag_disable_pins {
84 pinctrl-single,bits = <0x40 0x2 0x2>;
88 pll: pll-controller@18050000 {
89 compatible = "qca,qca9560-pll", "syscon";
90 reg = <0x18050000 0x50>;
93 clock-output-names = "cpu", "ddr", "ahb";
99 compatible = "qca,ar7130-wdt";
100 reg = <0x18060008 0x8>;
104 clocks = <&pll ATH79_CLK_AHB>;
108 rst: reset-controller@1806001c {
109 compatible = "qca,qca9560-reset",
112 reg = <0x1806001c 0x4>;
115 interrupt-parent = <&cpuintc>;
117 intc3: interrupt-controller@3 {
118 compatible = "qcom,qca9556-intc";
122 interrupt-controller;
123 #interrupt-cells = <1>;
125 qcom,pending-bits = <0x1f000>, /* pcie rc */
126 <0x1000000>, /* usb1 */
127 <0x10000000>; /* usb2 */
131 rst2: reset-controller@180600c0 {
132 compatible = "qca,qca9560-reset",
135 reg = <0x180600c0 0x4>;
140 wmac: wmac@18100000 {
141 compatible = "qca,qca9560-wmac";
142 reg = <0x18100000 0x10000>;
144 interrupt-parent = <&cpuintc>;
150 pcie: pcie-controller@18250000 {
151 compatible = "qcom,ar7240-pci";
152 #address-cells = <3>;
154 bus-range = <0x0 0x0>;
155 reg = <0x18250000 0x1000>, /* CRP */
156 <0x18280000 0x100>, /* CTRL */
157 <0x16000000 0x1000>; /* CFG */
158 reg-names = "crp_base", "ctrl_base", "cfg_base";
159 ranges = <0x2000000 0 0x12000000 0x12000000 0 0x02000000 /* pci memory */
160 0x1000000 0 0x00000000 0x0000000 0 0x000001>; /* io space */
161 interrupt-parent = <&intc3>;
164 interrupt-controller;
165 #interrupt-cells = <1>;
167 interrupt-map-mask = <0 0 0 1>;
168 interrupt-map = <0 0 0 0 &pcie 0>;
174 compatible = "generic-ehci";
175 reg = <0x1b000000 0x1d8>;
177 interrupt-parent = <&intc3>;
181 reset-names = "usb-host";
183 has-transaction-translator;
184 caps-offset = <0x100>;
186 phy-names = "usb-phy0";
193 compatible = "generic-ehci";
194 reg = <0x1b400000 0x1d8>;
196 interrupt-parent = <&intc3>;
200 reset-names = "usb-host";
202 has-transaction-translator;
203 caps-offset = <0x100>;
205 phy-names = "usb-phy1";
212 compatible = "qca,qca9560-spi", "qca,ar7100-spi";
213 reg = <0x1f000000 0x10>;
215 clocks = <&pll ATH79_CLK_AHB>;
220 #address-cells = <1>;
226 compatible = "qca,qca9560-usb-phy", "qca,ar7200-usb-phy";
228 reset-names = "usb-phy", "usb-suspend-override";
229 resets = <&rst 4>, <&rst 3>;
237 compatible = "qca,qca9560-usb-phy", "qca,ar7200-usb-phy";
239 reset-names = "usb-phy", "usb-suspend-override";
240 resets = <&rst2 4>, <&rst2 3>;
250 reset-names = "mdio";
254 compatible = "qca,qca9560-eth", "syscon";
256 pll-data = <0x03000000 0x00000101 0x00001919>;
257 pll-reg = <0 0x48 0>;
268 reset-names = "mdio";
273 compatible = "qca,qca9560-eth", "syscon";