1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
2 #include <dt-bindings/clock/ath79-clk.h>
6 compatible = "qca,qca9533";
17 compatible = "mips,mips24Kc";
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,ar9530-ddr-controller",
34 "qca,ar7240-ddr-controller";
35 reg = <0x18000000 0x128>;
37 #qca,ddr-wb-channel-cells = <1>;
41 compatible = "ns16550a";
42 reg = <0x18020000 0x20>;
46 clocks = <&pll ATH79_CLK_REF>;
56 usb_phy: usb-phy@18030000 {
57 compatible = "qca,ar7200-usb-phy";
58 reg = <0x18030000 0x100>;
61 reset-names = "usb-phy", "usb-suspend-override";
62 resets = <&rst 4>, <&rst 3>;
68 compatible = "qca,ar9530-gpio",
70 reg = <0x18040000 0x28>;
79 #interrupt-cells = <2>;
82 pinmux: pinmux@1804002c {
83 compatible = "pinctrl-single";
85 reg = <0x1804002c 0x48>;
89 pinctrl-single,bit-per-mux;
90 pinctrl-single,register-width = <32>;
91 pinctrl-single,function-mask = <0x1>;
94 jtag_disable_pins: pinmux_jtag_disable_pins {
95 pinctrl-single,bits = <0x40 0x2 0x2>;
99 pll: pll-controller@18050000 {
100 compatible = "qca,qca9530-pll", "syscon";
101 reg = <0x18050000 0x48>;
104 clock-output-names = "cpu", "ddr", "ahb";
109 compatible = "qca,qca9530-wdt", "qca,ar7130-wdt";
110 reg = <0x18060008 0x8>;
114 clocks = <&pll ATH79_CLK_AHB>;
118 rst: reset-controller@1806001c {
119 compatible = "qca,qca9530-reset",
121 reg = <0x1806001c 0xac>;
125 intc2: interrupt-controller@2 {
126 compatible = "qca,ar9340-intc";
128 interrupt-parent = <&cpuintc>;
131 interrupt-controller;
132 #interrupt-cells = <1>;
134 qca,int-status-addr = <0xac>;
135 qca,pending-bits = <0xf>, /* wmac */
136 <0x1f0>; /* pcie rc1 */
138 qca,ddr-wb-channel-interrupts = <0>, <1>;
139 qca,ddr-wb-channels = <&ddr_ctrl 4>, <&ddr_ctrl 3>;
143 pcie0: pcie-controller@180c0000 {
144 compatible = "qcom,ar7240-pci";
145 #address-cells = <3>;
147 bus-range = <0x0 0x0>;
148 reg = <0x180c0000 0x1000>, /* CRP */
149 <0x180f0000 0x100>, /* CTRL */
150 <0x14000000 0x1000>; /* CFG */
151 reg-names = "crp_base", "ctrl_base", "cfg_base";
152 ranges = <0x2000000 0 0x10000000 0x10000000 0 0x04000000 /* pci memory */
153 0x1000000 0 0x00000000 0x0000000 0 0x000001>; /* io space */
154 interrupt-parent = <&intc2>;
157 interrupt-controller;
158 #interrupt-cells = <1>;
160 interrupt-map-mask = <0 0 0 1>;
161 interrupt-map = <0 0 0 0 &pcie0 0>;
165 gmac: gmac@18070000 {
166 compatible = "qca,ar9330-gmac";
167 reg = <0x18070000 0x4>;
170 wmac: wmac@18100000 {
171 compatible = "qca,qca9530-wmac";
172 reg = <0x18100000 0x230000>;
174 interrupt-parent = <&intc2>;
182 compatible = "generic-ehci";
183 reg = <0x1b000000 0x1000>;
187 reset-names = "usb-host";
190 has-transaction-translator;
191 caps-offset = <0x100>;
193 phy-names = "usb-phy";
200 compatible = "qca,ar9530-spi", "qca,ar7100-spi";
201 reg = <0x1f000000 0x10>;
203 clocks = <&pll ATH79_CLK_AHB>;
208 #address-cells = <1>;
217 qca,ddr-wb-channel-interrupts = <3>, <4>, <5>;
218 qca,ddr-wb-channels = <&ddr_ctrl 2>, <&ddr_ctrl 0>,
223 compatible = "qca,qca9530-eth", "syscon";
224 pll-data = <0x82000101 0x80000101 0x80001313>;
225 reg = <0x19000000 0x200
227 pll-reg = <0x4 0x2c 17>;
240 reset-names = "mdio";
243 builtin_switch: switch0@1f {
244 compatible = "qca,ar8229-builtin";
245 #address-cells = <1>;
253 swphy0: ethernet-phy@0 {
258 swphy4: ethernet-phy@4 {
269 compatible = "qca,qca9530-eth", "syscon", "simple-mfd";