1be842094bd3acbfeee7d78c00fdfa21f3b58aa0
[openwrt/staging/lynxis.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 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 = <29 30 31>;
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,ase-rcu", "simple-mfd", "syscon";
79 reg = <0x203000 0x1000>;
80 ranges = <0x0 0x203000 0x100>;
81 big-endian;
82
83 reset: reset-controller@10 {
84 compatible = "lantiq,danube-reset";
85 reg = <0x10 4>, <0x14 4>;
86
87 #reset-cells = <2>;
88 };
89
90 usb_phy: usb2-phy@18 {
91 compatible = "lantiq,ase-usb2-phy";
92 reg = <0x18 4>;
93 status = "disabled";
94
95 resets = <&reset 4 4>;
96 reset-names = "ctrl";
97 #phy-cells = <0>;
98 };
99
100 reboot@10 {
101 compatible = "syscon-reboot";
102 reg = <0x10 4>;
103
104 regmap = <&rcu0>;
105 offset = <0x10>;
106 mask = <0x40000000>;
107 };
108 };
109 };
110
111 fpi@10000000 {
112 #address-cells = <1>;
113 #size-cells = <1>;
114 compatible = "lantiq,fpi", "simple-bus";
115 ranges = <0x0 0x10000000 0xeefffff>;
116 reg = <0x10000000 0xef00000>;
117
118 localbus: localbus@0 {
119 #address-cells = <2>;
120 #size-cells = <1>;
121 ranges = <0 0 0x0 0x3ffffff /* addrsel0 */
122 1 0 0x4000000 0x4000010>; /* addsel1 */
123 compatible = "lantiq,localbus", "simple-bus";
124 };
125
126 spi: spi@e100800 {
127 compatible = "lantiq,ase-spi";
128 reg = <0xe100800 0x100>;
129 interrupt-parent = <&icu0>;
130 interrupts = <24 25 26>;
131 interrupt-names = "spi_rx", "spi_tx", "spi_err",
132 "spi_frm";
133 #address-cells = <1>;
134 #size-cells = <1>;
135 status = "disabled";
136 };
137
138 gptu@e100a00 {
139 compatible = "lantiq,gptu-xway";
140 reg = <0xe100a00 0x100>;
141 interrupt-parent = <&icu0>;
142 interrupts = <33 34 35 36 37 38>;
143 };
144
145 gpio: pinmux@e100b10 {
146 compatible = "lantiq,ase-pinctrl";
147 #gpio-cells = <2>;
148 gpio-controller;
149 reg = <0xe100b10 0xa0>;
150 };
151
152 asc1: serial@e100c00 {
153 compatible = "lantiq,asc";
154 reg = <0xe100c00 0x400>;
155 interrupt-parent = <&icu0>;
156 interrupts = <72 74 75>;
157 };
158
159 mei@e116000 {
160 compatible = "lantiq,mei-xway";
161 reg = <0xe116000 0x400>;
162 interrupt-parent = <&icu0>;
163 interrupts = <81>;
164 };
165
166 usb: usb@e101000 {
167 compatible = "lantiq,ase-usb";
168 reg = <0xe101000 0x1000
169 0xe120000 0x3f000>;
170 interrupt-parent = <&icu0>;
171 interrupts = <39>;
172 dr_mode = "host";
173 phys = <&usb_phy>;
174 phy-names = "usb2-phy";
175 status = "disabled";
176 };
177
178 dma0: dma@e104100 {
179 compatible = "lantiq,dma-xway";
180 reg = <0xe104100 0x800>;
181 };
182
183 ebu0: ebu@e105300 {
184 compatible = "lantiq,ebu-xway";
185 reg = <0xe105300 0x100>;
186 };
187
188 ppe@e234000 {
189 compatible = "lantiq,ppe-ase";
190 reg = <0xe234000 0x40000>;
191 interrupt-parent = <&icu0>;
192 interrupts = <85>;
193 };
194
195 gsw: etop@e180000 {
196 compatible = "lantiq,etop-xway";
197 reg = <0xe180000 0x40000>;
198 interrupt-parent = <&icu0>;
199 interrupts = <105 109>;
200 };
201 };
202
203 adsl {
204 compatible = "lantiq,adsl-ase";
205 };
206 };