1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
6 compatible = "qca,qca9560";
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 = <25000000>;
36 ddr_ctrl: memory-controller@18000000 {
37 compatible = "qca,qca9560-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>;
61 compatible = "qca,qca9560-gpio",
63 reg = <0x18040000 0x28>;
72 #interrupt-cells = <2>;
75 pinmux: pinmux@1804002c {
76 compatible = "pinctrl-single";
78 reg = <0x1804002c 0x44>;
82 pinctrl-single,bit-per-mux;
83 pinctrl-single,register-width = <32>;
84 pinctrl-single,function-mask = <0x1>;
87 jtag_disable_pins: pinmux_jtag_disable_pins {
88 pinctrl-single,bits = <0x40 0x2 0x2>;
92 pll: pll-controller@18050000 {
93 compatible = "qca,qca9560-pll", "syscon";
94 reg = <0x18050000 0x50>;
97 clock-output-names = "cpu", "ddr", "ahb";
103 compatible = "qca,ar7130-wdt";
104 reg = <0x18060008 0x8>;
108 clocks = <&pll ATH79_CLK_AHB>;
112 rst: reset-controller@1806001c {
113 compatible = "qca,qca9560-reset",
115 reg = <0x1806001c 0x4>;
118 interrupt-parent = <&cpuintc>;
120 intc3: interrupt-controller {
121 compatible = "qca,ar9340-intc";
123 interrupt-parent = <&cpuintc>;
126 interrupt-controller;
127 #interrupt-cells = <1>;
129 qca,int-status-addr = <0xac>;
130 qca,pending-bits = <0x1f000>, /* pcie rc */
131 <0x1000000>, /* usb1 */
132 <0x10000000>; /* usb2 */
136 rst2: reset-controller@180600c0 {
137 compatible = "qca,qca9560-reset",
140 reg = <0x180600c0 0x4>;
146 gmac: gmac@18070000 {
147 compatible = "qca,qca9560-gmac";
148 reg = <0x18070000 0x64>;
151 wmac: wmac@18100000 {
152 compatible = "qca,qca9560-wmac";
153 reg = <0x18100000 0x10000>;
155 interrupt-parent = <&cpuintc>;
161 pcie: pcie-controller@18250000 {
162 compatible = "qcom,ar7240-pci";
163 #address-cells = <3>;
165 bus-range = <0x0 0x0>;
166 reg = <0x18250000 0x1000>, /* CRP */
167 <0x18280000 0x100>, /* CTRL */
168 <0x16000000 0x1000>; /* CFG */
169 reg-names = "crp_base", "ctrl_base", "cfg_base";
170 ranges = <0x2000000 0 0x12000000 0x12000000 0 0x02000000 /* pci memory */
171 0x1000000 0 0x00000000 0x0000000 0 0x000001>; /* io space */
172 interrupt-parent = <&intc3>;
177 resets = <&rst 6>, <&rst 7>;
178 reset-names = "hc", "phy";
180 interrupt-controller;
181 #interrupt-cells = <1>;
183 interrupt-map-mask = <0 0 0 1>;
184 interrupt-map = <0 0 0 0 &pcie 0>;
189 compatible = "generic-ehci";
190 reg = <0x1b000000 0x1d8>;
192 interrupt-parent = <&intc3>;
196 reset-names = "usb-host";
198 has-transaction-translator;
199 caps-offset = <0x100>;
201 phy-names = "usb-phy0";
208 compatible = "generic-ehci";
209 reg = <0x1b400000 0x1d8>;
211 interrupt-parent = <&intc3>;
215 reset-names = "usb-host";
217 has-transaction-translator;
218 caps-offset = <0x100>;
220 phy-names = "usb-phy1";
227 compatible = "qca,ar934x-spi";
228 reg = <0x1f000000 0x1c>;
230 clocks = <&pll ATH79_CLK_AHB>;
234 #address-cells = <1>;
240 compatible = "qca,qca9560-usb-phy", "qca,ar7200-usb-phy";
242 reset-names = "usb-phy", "usb-suspend-override";
243 resets = <&rst 4>, <&rst 3>;
251 compatible = "qca,qca9560-usb-phy", "qca,ar7200-usb-phy";
253 reset-names = "usb-phy", "usb-suspend-override";
254 resets = <&rst2 4>, <&rst2 3>;
264 reset-names = "mdio";
268 compatible = "qca,qca9560-eth", "syscon";
270 pll-data = <0x03000000 0x00000101 0x00001919>;
271 pll-reg = <0 0x48 0>;
281 reset-names = "mdio";
284 builtin_switch: switch0@1f {
285 compatible = "qca,ar8229";
288 reset-names = "switch";
291 qca,mib-poll-interval = <500>;
294 #address-cells = <1>;
297 swphy0: ethernet-phy@0 {
302 swphy4: ethernet-phy@4 {
311 compatible = "qca,qca9560-eth", "syscon";