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