dnsmasq: full: disable ipset support by default
[openwrt/staging/mkresin.git] / target / linux / ath79 / dts / ar9132.dtsi
1 // SPDX-License-Identifier: GPL-2.0-only
2
3 #include "ath79.dtsi"
4
5 / {
6 compatible = "qca,ar9132";
7
8 #address-cells = <1>;
9 #size-cells = <1>;
10
11 chosen {
12 bootargs = "console=ttyS0,115200";
13 };
14
15 cpus {
16 #address-cells = <1>;
17 #size-cells = <0>;
18
19 cpu@0 {
20 device_type = "cpu";
21 compatible = "mips,mips24Kc";
22 clocks = <&pll ATH79_CLK_CPU>;
23 reg = <0>;
24 };
25 };
26
27 cpuintc: interrupt-controller {
28 compatible = "qca,ar9132-cpu-intc", "qca,ar7100-cpu-intc";
29
30 interrupt-controller;
31 #interrupt-cells = <1>;
32
33 qca,ddr-wb-channel-interrupts = <2>, <3>, <4>, <5>;
34 qca,ddr-wb-channels = <&ddr_ctrl 3>, <&ddr_ctrl 2>,
35 <&ddr_ctrl 0>, <&ddr_ctrl 1>;
36 };
37
38 ahb {
39 compatible = "simple-bus";
40 ranges;
41
42 #address-cells = <1>;
43 #size-cells = <1>;
44
45 interrupt-parent = <&cpuintc>;
46
47 apb {
48 compatible = "simple-bus";
49 ranges;
50
51 #address-cells = <1>;
52 #size-cells = <1>;
53
54 interrupt-parent = <&miscintc>;
55
56 ddr_ctrl: memory-controller@18000000 {
57 compatible = "qca,ar9132-ddr-controller",
58 "qca,ar7240-ddr-controller";
59 reg = <0x18000000 0x100>;
60
61 #qca,ddr-wb-channel-cells = <1>;
62 };
63
64 uart: uart@18020000 {
65 compatible = "ns8250";
66 reg = <0x18020000 0x20>;
67 interrupts = <3>;
68
69 clocks = <&pll ATH79_CLK_AHB>;
70 clock-names = "uart";
71
72 reg-io-width = <4>;
73 reg-shift = <2>;
74 no-loopback-test;
75 };
76
77 gpio: gpio@18040000 {
78 compatible = "qca,ar9132-gpio",
79 "qca,ar7100-gpio";
80 reg = <0x18040000 0x28>;
81 interrupts = <2>;
82
83 ngpios = <22>;
84
85 gpio-controller;
86 #gpio-cells = <2>;
87
88 interrupt-controller;
89 #interrupt-cells = <2>;
90 };
91
92 pll: pll-controller@18050000 {
93 compatible = "qca,ar9132-pll",
94 "qca,ar9130-pll", "syscon";
95 reg = <0x18050000 0x20>;
96
97 clock-names = "ref";
98 /* The board must provides the ref clock */
99
100 #clock-cells = <1>;
101 clock-output-names = "cpu", "ddr", "ahb";
102 };
103
104 wdt: wdt@18060008 {
105 compatible = "qca,ar7130-wdt";
106 reg = <0x18060008 0x8>;
107
108 interrupts = <4>;
109
110 clocks = <&pll ATH79_CLK_AHB>;
111 clock-names = "wdt";
112 };
113
114 miscintc: interrupt-controller@18060010 {
115 compatible = "qca,ar9132-misc-intc",
116 "qca,ar7100-misc-intc";
117 reg = <0x18060010 0x8>;
118
119 interrupt-parent = <&cpuintc>;
120 interrupts = <6>;
121
122 interrupt-controller;
123 #interrupt-cells = <1>;
124 };
125
126 rst: reset-controller@1806001c {
127 compatible = "qca,ar9132-reset",
128 "qca,ar7100-reset";
129 reg = <0x1806001c 0x4>;
130
131 #reset-cells = <1>;
132 };
133 };
134
135 usb: usb@1b000100 {
136 compatible = "qca,ar7100-ehci", "generic-ehci";
137 reg = <0x1b000100 0x100>;
138
139 interrupts = <3>;
140 resets = <&rst 5>;
141
142 has-transaction-translator;
143
144 phy-names = "usb";
145 phys = <&usb_phy>;
146
147 status = "disabled";
148 };
149
150 spi: spi@1f000000 {
151 compatible = "qca,ar9132-spi", "qca,ar7100-spi";
152 reg = <0x1f000000 0x10>;
153
154 clocks = <&pll ATH79_CLK_AHB>;
155 clock-names = "ahb";
156
157 status = "disabled";
158
159 #address-cells = <1>;
160 #size-cells = <0>;
161 };
162
163 wmac: wmac@180c0000 {
164 compatible = "qca,ar9130-wmac";
165 reg = <0x180c0000 0x230000>;
166
167 interrupts = <2>;
168
169 status = "disabled";
170 };
171 };
172
173 usb_phy: usb-phy {
174 compatible = "qca,ar7200-usb-phy";
175
176 reset-names = "usb-phy", "usb-suspend-override";
177 resets = <&rst 4>, <&rst 3>;
178
179 #phy-cells = <0>;
180
181 status = "disabled";
182 };
183 };
184
185 &eth0 {
186 compatible = "qca,ar9130-eth", "syscon";
187 reg = <0x19000000 0x200
188 0x18070000 0x4>;
189 pll-data = <0x1a000000 0x13000a44 0x00441099>;
190 pll-reg = <0x4 0x14 20>;
191 pll-handle = <&pll>;
192 resets = <&rst 9>;
193 reset-names = "mac";
194 qca,mac-idx = <0>;
195 };