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