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