lantiq: kernel 4.14: cleanup 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,wdt";
46 reg = <0x803f0 0x10>;
47 };
48 };
49
50 sram@1f000000 {
51 #address-cells = <1>;
52 #size-cells = <1>;
53 compatible = "lantiq,sram", "simple-bus";
54 reg = <0x1f000000 0x800000>;
55 ranges = <0x0 0x1f000000 0x7fffff>;
56
57 eiu0: eiu@101000 {
58 #interrupt-cells = <1>;
59 interrupt-controller;
60 compatible = "lantiq,eiu-xway";
61 reg = <0x101000 0x1000>;
62 interrupt-parent = <&icu0>;
63 lantiq,eiu-irqs = <166 135 66 40 41 42>;
64 };
65
66 pmu0: pmu@102000 {
67 compatible = "lantiq,pmu-xway";
68 reg = <0x102000 0x1000>;
69 };
70
71 cgu0: cgu@103000 {
72 compatible = "lantiq,cgu-xway";
73 reg = <0x103000 0x1000>;
74 #clock-cells = <1>;
75 };
76
77 rcu0: rcu@203000 {
78 compatible = "lantiq,rcu-xway";
79 reg = <0x203000 0x1000>;
80 };
81 };
82
83 fpi@10000000 {
84 #address-cells = <1>;
85 #size-cells = <1>;
86 compatible = "lantiq,fpi", "simple-bus";
87 ranges = <0x0 0x10000000 0xeefffff>;
88 reg = <0x10000000 0xef00000>;
89
90 localbus: localbus@0 {
91 #address-cells = <2>;
92 #size-cells = <1>;
93 ranges = <0 0 0x0 0x3ffffff /* addrsel0 */
94 1 0 0x4000000 0x4000010>; /* addsel1 */
95 compatible = "lantiq,localbus", "simple-bus";
96 };
97
98 gptu@e100a00 {
99 compatible = "lantiq,gptu-xway";
100 reg = <0xe100a00 0x100>;
101 interrupt-parent = <&icu0>;
102 interrupts = <126 127 128 129 130 131>;
103 };
104
105 asc0: serial@e100400 {
106 compatible = "lantiq,asc";
107 reg = <0xe100400 0x400>;
108 interrupt-parent = <&icu0>;
109 interrupts = <104 105 106>;
110 status = "disabled";
111 };
112
113 spi: spi@e100800 {
114 compatible = "lantiq,xrx100-spi";
115 reg = <0xe100800 0x100>;
116 interrupt-parent = <&icu0>;
117 interrupts = <22 23 24>;
118 interrupt-names = "spi_rx", "spi_tx", "spi_err",
119 "spi_frm";
120 #address-cells = <1>;
121 #size-cells = <1>;
122 status = "disabled";
123 };
124
125 gpio: pinmux@e100b10 {
126 compatible = "lantiq,xrx100-pinctrl";
127 #gpio-cells = <2>;
128 gpio-controller;
129 reg = <0xe100b10 0xa0>;
130 };
131
132 stp: stp@e100bb0 {
133 #gpio-cells = <2>;
134 compatible = "lantiq,gpio-stp-xway";
135 gpio-controller;
136 reg = <0xe100bb0 0x40>;
137 status = "disabled";
138 };
139
140 asc1: serial@e100c00 {
141 compatible = "lantiq,asc";
142 reg = <0xe100c00 0x400>;
143 interrupt-parent = <&icu0>;
144 interrupts = <112 113 114>;
145 };
146
147 usb0: ifxhcd@e101000 {
148 compatible = "lantiq,arx100-usb", "lantiq,ifxhcd-arx100";
149 reg = <0xe101000 0x1000
150 0xe120000 0x3f000>;
151 interrupt-parent = <&icu0>;
152 interrupts = <62 91>;
153 dr_mode = "host";
154 status = "disabled";
155 };
156
157 usb1: ifxhcd@e106000 {
158 compatible = "lantiq,arx100-usb";
159 reg = <0xe106000 0x1000
160 0xe1e0000 0x3f000>;
161 interrupt-parent = <&icu0>;
162 interrupts = <91>;
163 dr_mode = "host";
164 status = "disabled";
165 };
166
167 deu@e103100 {
168 compatible = "lantiq,deu-arx100";
169 reg = <0xe103100 0xf00>;
170 };
171
172 dma0: dma@e104100 {
173 compatible = "lantiq,dma-xway";
174 reg = <0xe104100 0x800>;
175 };
176
177 ebu0: ebu@e105300 {
178 compatible = "lantiq,ebu-xway";
179 reg = <0xe105300 0x100>;
180 };
181
182 mei@e116000 {
183 compatible = "lantiq,mei-xway";
184 interrupt-parent = <&icu0>;
185 interrupts = <63>;
186 };
187
188 gsw: etop@e180000 {
189 compatible = "lantiq,etop-xway";
190 reg = <0xe180000 0x40000
191 0xe108000 0x200>;
192 interrupt-parent = <&icu0>;
193 interrupts = <73 72>;
194 mac-address = [ 00 11 22 33 44 55 ];
195 };
196
197 ppe@e234000 {
198 compatible = "lantiq,ppe-arx100";
199 interrupt-parent = <&icu0>;
200 interrupts = <96>;
201 };
202
203 pci0: pci@e105400 {
204 status = "disabled";
205 #address-cells = <3>;
206 #size-cells = <2>;
207 #interrupt-cells = <1>;
208 compatible = "lantiq,pci-xway";
209 bus-range = <0x0 0x0>;
210 ranges = <0x2000000 0 0x8000000 0x8000000 0 0x2000000 /* pci memory */
211 0x1000000 0 0x00000000 0xae00000 0 0x200000>; /* io space */
212 reg = <0x7000000 0x8000 /* config space */
213 0xe105400 0x400>; /* pci bridge */
214 lantiq,bus-clock = <33333333>;
215 interrupt-map-mask = <0xf800 0x0 0x0 0x7>;
216 interrupt-map = <0x7000 0 0 1 &icu0 30 1>;
217 req-mask = <0x1>;
218 };
219 };
220
221 adsl {
222 compatible = "lantiq,adsl-arx100";
223 };
224 };