53901753b996791bfdac341ece0149f77f87c85f
[openwrt/staging/stintel.git] / target / linux / lantiq / files / arch / mips / boot / dts / 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 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 = <1>;
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
151 asc1: serial@e100c00 {
152 compatible = "lantiq,asc";
153 reg = <0xe100c00 0x400>;
154 interrupt-parent = <&icu0>;
155 interrupts = <72 74 75>;
156 };
157
158 mei@e116000 {
159 compatible = "lantiq,mei-xway";
160 reg = <0xe116000 0x400>;
161 interrupt-parent = <&icu0>;
162 interrupts = <81>;
163 };
164
165 usb: usb@e101000 {
166 compatible = "lantiq,ase-usb";
167 reg = <0xe101000 0x1000
168 0xe120000 0x3f000>;
169 interrupt-parent = <&icu0>;
170 interrupts = <39>;
171 dr_mode = "host";
172 phys = <&usb_phy>;
173 phy-names = "usb2-phy";
174 status = "disabled";
175 };
176
177 dma0: dma@e104100 {
178 compatible = "lantiq,dma-xway";
179 reg = <0xe104100 0x800>;
180 };
181
182 ebu0: ebu@e105300 {
183 compatible = "lantiq,ebu-xway";
184 reg = <0xe105300 0x100>;
185 };
186
187 ppe@e234000 {
188 compatible = "lantiq,ppe-ase";
189 reg = <0xe234000 0x40000>;
190 interrupt-parent = <&icu0>;
191 interrupts = <85>;
192 };
193
194 gsw: etop@e180000 {
195 compatible = "lantiq,etop-xway";
196 reg = <0xe180000 0x40000>;
197 interrupt-parent = <&icu0>;
198 interrupts = <105 109>;
199 };
200 };
201
202 adsl {
203 compatible = "lantiq,adsl-ase";
204 };
205 };