lantiq: kernel 4.14: update dts files
[openwrt/openwrt.git] / target / linux / lantiq / files-4.14 / arch / mips / boot / dts / ar9.dtsi
1 #include <dt-bindings/gpio/gpio.h>
2
3 / {
4 #address-cells = <1>;
5 #size-cells = <1>;
6 compatible = "lantiq,xway", "lantiq,ar9";
7
8 aliases {
9 serial0 = &asc1;
10 };
11
12 chosen {
13 stdout-path = "serial0:115200n8";
14 };
15
16 cpus {
17 cpu@0 {
18 compatible = "mips,mips34K";
19 };
20 };
21
22 memory@0 {
23 device_type = "memory";
24 };
25
26 biu@1f800000 {
27 #address-cells = <1>;
28 #size-cells = <1>;
29 compatible = "lantiq,biu", "simple-bus";
30 reg = <0x1f800000 0x800000>;
31 ranges = <0x0 0x1f800000 0x7fffff>;
32
33 icu0: icu@80200 {
34 #interrupt-cells = <1>;
35 interrupt-controller;
36 compatible = "lantiq,icu";
37 reg = <0x80200 0x28
38 0x80228 0x28
39 0x80250 0x28
40 0x80278 0x28
41 0x802a0 0x28>;
42 };
43
44 watchdog@803f0 {
45 compatible = "lantiq,xrx100-wdt", "lantiq,xrx100-wdt";
46 reg = <0x803f0 0x10>;
47
48 regmap = <&rcu0>;
49 };
50 };
51
52 sram@1f000000 {
53 #address-cells = <1>;
54 #size-cells = <1>;
55 compatible = "lantiq,sram", "simple-bus";
56 reg = <0x1f000000 0x800000>;
57 ranges = <0x0 0x1f000000 0x7fffff>;
58
59 eiu0: eiu@101000 {
60 #interrupt-cells = <1>;
61 interrupt-controller;
62 compatible = "lantiq,eiu-xway";
63 reg = <0x101000 0x1000>;
64 interrupt-parent = <&icu0>;
65 lantiq,eiu-irqs = <166 135 66 40 41 42>;
66 };
67
68 pmu0: pmu@102000 {
69 compatible = "lantiq,pmu-xway";
70 reg = <0x102000 0x1000>;
71 };
72
73 cgu0: cgu@103000 {
74 compatible = "lantiq,cgu-xway";
75 reg = <0x103000 0x1000>;
76 #clock-cells = <1>;
77 };
78
79 rcu0: rcu@203000 {
80 compatible = "lantiq,xrx100-rcu", "simple-mfd", "syscon";
81 reg = <0x203000 0x1000>;
82 ranges = <0x0 0x203000 0x100>;
83 big-endian;
84
85 reset: reset-controller@10 {
86 compatible = "lantiq,xrx100-reset", "lantiq,danube-reset";
87 reg = <0x10 4>, <0x14 4>;
88
89 #reset-cells = <2>;
90 };
91
92 usb_phy0: usb2-phy@18 {
93 compatible = "lantiq,xrx100-usb2-phy";
94 reg = <0x18 4>;
95 status = "disabled";
96
97 resets = <&reset 4 4>;
98 reset-names = "ctrl";
99 #phy-cells = <0>;
100 };
101
102 usb_phy1: usb2-phy@34 {
103 compatible = "lantiq,xrx100-usb2-phy";
104 reg = <0x34 4>;
105 status = "disabled";
106
107 resets = <&reset 28 28>;
108 reset-names = "ctrl";
109 #phy-cells = <0>;
110 };
111
112 reboot@10 {
113 compatible = "syscon-reboot";
114 reg = <0x10 4>;
115
116 regmap = <&rcu0>;
117 offset = <0x10>;
118 mask = <0x40000000>;
119 };
120 };
121 };
122
123 fpi@10000000 {
124 #address-cells = <1>;
125 #size-cells = <1>;
126 compatible = "lantiq,fpi", "simple-bus";
127 ranges = <0x0 0x10000000 0xeefffff>;
128 reg = <0x10000000 0xef00000>;
129
130 localbus: localbus@0 {
131 #address-cells = <2>;
132 #size-cells = <1>;
133 ranges = <0 0 0x0 0x3ffffff /* addrsel0 */
134 1 0 0x4000000 0x4000010>; /* addsel1 */
135 compatible = "lantiq,localbus", "simple-bus";
136 };
137
138 gptu@e100a00 {
139 compatible = "lantiq,gptu-xway";
140 reg = <0xe100a00 0x100>;
141 interrupt-parent = <&icu0>;
142 interrupts = <126 127 128 129 130 131>;
143 };
144
145 asc0: serial@e100400 {
146 compatible = "lantiq,asc";
147 reg = <0xe100400 0x400>;
148 interrupt-parent = <&icu0>;
149 interrupts = <104 105 106>;
150 status = "disabled";
151 };
152
153 spi: spi@e100800 {
154 compatible = "lantiq,xrx100-spi";
155 reg = <0xe100800 0x100>;
156 interrupt-parent = <&icu0>;
157 interrupts = <22 23 24>;
158 interrupt-names = "spi_rx", "spi_tx", "spi_err",
159 "spi_frm";
160 #address-cells = <1>;
161 #size-cells = <1>;
162 status = "disabled";
163 };
164
165 gpio: pinmux@e100b10 {
166 compatible = "lantiq,xrx100-pinctrl";
167 #gpio-cells = <2>;
168 gpio-controller;
169 reg = <0xe100b10 0xa0>;
170 };
171
172 stp: stp@e100bb0 {
173 #gpio-cells = <2>;
174 compatible = "lantiq,gpio-stp-xway";
175 gpio-controller;
176 reg = <0xe100bb0 0x40>;
177 status = "disabled";
178 };
179
180 asc1: serial@e100c00 {
181 compatible = "lantiq,asc";
182 reg = <0xe100c00 0x400>;
183 interrupt-parent = <&icu0>;
184 interrupts = <112 113 114>;
185 };
186
187 usb0: usb@e101000 {
188 compatible = "lantiq,arx100-usb";
189 reg = <0xe101000 0x1000
190 0xe120000 0x3f000>;
191 interrupt-parent = <&icu0>;
192 interrupts = <62 91>;
193 dr_mode = "host";
194 phys = <&usb_phy0>;
195 phy-names = "usb2-phy";
196 status = "disabled";
197 };
198
199 usb1: usb@e106000 {
200 compatible = "lantiq,arx100-usb";
201 reg = <0xe106000 0x1000
202 0xe1e0000 0x3f000>;
203 interrupt-parent = <&icu0>;
204 interrupts = <91>;
205 dr_mode = "host";
206 phys = <&usb_phy1>;
207 phy-names = "usb2-phy";
208 status = "disabled";
209 };
210
211 deu@e103100 {
212 compatible = "lantiq,deu-arx100";
213 reg = <0xe103100 0xf00>;
214 };
215
216 dma0: dma@e104100 {
217 compatible = "lantiq,dma-xway";
218 reg = <0xe104100 0x800>;
219 };
220
221 ebu0: ebu@e105300 {
222 compatible = "lantiq,ebu-xway";
223 reg = <0xe105300 0x100>;
224 };
225
226 mei@e116000 {
227 compatible = "lantiq,mei-xway";
228 interrupt-parent = <&icu0>;
229 interrupts = <63>;
230 };
231
232 gsw: etop@e180000 {
233 compatible = "lantiq,etop-xway";
234 reg = <0xe180000 0x40000
235 0xe108000 0x200>;
236 interrupt-parent = <&icu0>;
237 interrupts = <73 72>;
238 mac-address = [ 00 11 22 33 44 55 ];
239 };
240
241 ppe@e234000 {
242 compatible = "lantiq,ppe-arx100";
243 interrupt-parent = <&icu0>;
244 interrupts = <96>;
245 };
246
247 pci0: pci@e105400 {
248 status = "disabled";
249 #address-cells = <3>;
250 #size-cells = <2>;
251 #interrupt-cells = <1>;
252 compatible = "lantiq,pci-xway";
253 bus-range = <0x0 0x0>;
254 ranges = <0x2000000 0 0x8000000 0x8000000 0 0x2000000 /* pci memory */
255 0x1000000 0 0x00000000 0xae00000 0 0x200000>; /* io space */
256 reg = <0x7000000 0x8000 /* config space */
257 0xe105400 0x400>; /* pci bridge */
258 lantiq,bus-clock = <33333333>;
259 interrupt-map-mask = <0xf800 0x0 0x0 0x7>;
260 interrupt-map = <0x7000 0 0 1 &icu0 30 1>;
261 req-mask = <0x1>;
262 };
263 };
264
265 adsl {
266 compatible = "lantiq,adsl-arx100";
267 };
268 };