lantiq: add Linux 5.4 support as testing kernel version
[openwrt/staging/wigyori.git] / target / linux / lantiq / files-5.4 / arch / mips / boot / dts / lantiq / amazonse.dtsi
1 #include <dt-bindings/gpio/gpio.h>
2
3 / {
4 #address-cells = <1>;
5 #size-cells = <1>;
6 compatible = "lantiq,xway", "lantiq,ase";
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,mips4Kc";
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 0xc8>;
46 };
47
48 watchdog@803f0 {
49 compatible = "lantiq,wdt";
50 reg = <0x803f0 0x10>;
51 };
52 };
53
54 sram@1f000000 {
55 #address-cells = <1>;
56 #size-cells = <1>;
57 compatible = "lantiq,sram", "simple-bus";
58 reg = <0x1f000000 0x800000>;
59 ranges = <0x0 0x1f000000 0x7fffff>;
60
61 eiu0: eiu@101000 {
62 #interrupt-cells = <1>;
63 interrupt-controller;
64 compatible = "lantiq,eiu-xway";
65 reg = <0x101000 0x1000>;
66 interrupt-parent = <&icu0>;
67 lantiq,eiu-irqs = <29 30 31>;
68 };
69
70 pmu0: pmu@102000 {
71 compatible = "lantiq,pmu-xway";
72 reg = <0x102000 0x1000>;
73 };
74
75 cgu0: cgu@103000 {
76 compatible = "lantiq,cgu-xway";
77 reg = <0x103000 0x1000>;
78 #clock-cells = <1>;
79 };
80
81 rcu0: rcu@203000 {
82 #address-cells = <1>;
83 #size-cells = <1>;
84 compatible = "lantiq,ase-rcu", "simple-mfd", "syscon";
85 reg = <0x203000 0x1000>;
86 ranges = <0x0 0x203000 0x100>;
87 big-endian;
88
89 reset: reset-controller@10 {
90 compatible = "lantiq,danube-reset";
91 reg = <0x10 4>, <0x14 4>;
92
93 #reset-cells = <2>;
94 };
95
96 usb_phy: usb2-phy@18 {
97 compatible = "lantiq,ase-usb2-phy";
98 reg = <0x18 4>;
99 status = "disabled";
100
101 resets = <&reset 4 4>;
102 reset-names = "ctrl";
103 #phy-cells = <0>;
104 };
105 };
106 };
107
108 fpi@10000000 {
109 #address-cells = <1>;
110 #size-cells = <1>;
111 compatible = "lantiq,fpi", "simple-bus";
112 ranges = <0x0 0x10000000 0xeefffff>;
113 reg = <0x10000000 0xef00000>;
114
115 localbus: localbus@0 {
116 #address-cells = <2>;
117 #size-cells = <1>;
118 ranges = <0 0 0x0 0x3ffffff /* addrsel0 */
119 1 0 0x4000000 0x4000010>; /* addsel1 */
120 compatible = "lantiq,localbus", "simple-bus";
121 };
122
123 spi: spi@e100800 {
124 compatible = "lantiq,ase-spi";
125 reg = <0xe100800 0x100>;
126 interrupt-parent = <&icu0>;
127 interrupts = <24 25 26>;
128 interrupt-names = "spi_rx", "spi_tx", "spi_err",
129 "spi_frm";
130 #address-cells = <1>;
131 #size-cells = <0>;
132 pinctrl-names = "default";
133 pinctrl-0 = <&spi_pins>, <&spi_cs4_pins>;
134 status = "disabled";
135 };
136
137 gptu@e100a00 {
138 compatible = "lantiq,gptu-xway";
139 reg = <0xe100a00 0x100>;
140 interrupt-parent = <&icu0>;
141 interrupts = <33 34 35 36 37 38>;
142 };
143
144 gpio: pinmux@e100b10 {
145 compatible = "lantiq,ase-pinctrl";
146 #gpio-cells = <2>;
147 gpio-controller;
148 reg = <0xe100b10 0xa0>;
149
150 asc_pins: asc-pins {
151 mux {
152 lantiq,groups = "asc";
153 lantiq,function = "asc";
154 };
155 };
156
157 mdio_pins: mdio {
158 mux {
159 lantiq,groups = "mdio";
160 lantiq,function = "mdio";
161 };
162 };
163
164 spi_pins: spi {
165 mux-0 {
166 lantiq,groups = "spi_di";
167 lantiq,function = "spi";
168 };
169 mux-1 {
170 lantiq,groups = "spi_do", "spi_clk";
171 lantiq,function = "spi";
172 lantiq,output = <1>;
173 };
174 };
175
176 spi_cs4_pins: spi-cs4 {
177 mux {
178 lantiq,groups = "spi_cs4";
179 lantiq,function = "spi";
180 lantiq,output = <1>;
181 };
182 };
183 };
184
185 asc1: serial@e100c00 {
186 compatible = "lantiq,asc";
187 reg = <0xe100c00 0x400>;
188 interrupt-parent = <&icu0>;
189 interrupts = <72 74 75>;
190 pinctrl-0 = <&asc_pins>;
191 pinctrl-names = "default";
192 };
193
194 mei@e116000 {
195 compatible = "lantiq,mei-xway";
196 reg = <0xe116000 0x400>;
197 interrupt-parent = <&icu0>;
198 interrupts = <81>;
199 };
200
201 usb: usb@e101000 {
202 compatible = "lantiq,ase-usb";
203 reg = <0xe101000 0x1000
204 0xe120000 0x3f000>;
205 interrupt-parent = <&icu0>;
206 interrupts = <39>;
207 dr_mode = "host";
208 phys = <&usb_phy>;
209 phy-names = "usb2-phy";
210 status = "disabled";
211 };
212
213 dma0: dma@e104100 {
214 compatible = "lantiq,dma-xway";
215 reg = <0xe104100 0x800>;
216 };
217
218 ebu0: ebu@e105300 {
219 compatible = "lantiq,ebu-xway";
220 reg = <0xe105300 0x100>;
221 };
222
223 ppe@e234000 {
224 compatible = "lantiq,ppe-ase";
225 reg = <0xe234000 0x40000>;
226 interrupt-parent = <&icu0>;
227 interrupts = <85>;
228 };
229
230 gsw: etop@e180000 {
231 compatible = "lantiq,etop-xway";
232 reg = <0xe180000 0x40000>;
233 interrupt-parent = <&icu0>;
234 interrupts = <105 109>;
235 pinctrl-0 = <&mdio_pins>;
236 pinctrl-names = "default";
237 };
238 };
239
240 adsl {
241 compatible = "lantiq,adsl-ase";
242 };
243 };