8b80e6a2230839c30fc6adc475ce12ea30768481
[openwrt/staging/blogic.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 cpu@0 {
18 compatible = "mips,mips4Kc";
19 };
20 };
21
22 biu@1f800000 {
23 #address-cells = <1>;
24 #size-cells = <1>;
25 compatible = "lantiq,biu", "simple-bus";
26 reg = <0x1f800000 0x800000>;
27 ranges = <0x0 0x1f800000 0x7fffff>;
28
29 icu0: icu@80200 {
30 #interrupt-cells = <1>;
31 interrupt-controller;
32 compatible = "lantiq,icu";
33 reg = <0x80200 0x28
34 0x80228 0x28
35 0x80250 0x28
36 0x80278 0x28
37 0x802a0 0x28>;
38 };
39
40 watchdog@803f0 {
41 compatible = "lantiq,wdt";
42 reg = <0x803f0 0x10>;
43 };
44 };
45
46 sram@1f000000 {
47 #address-cells = <1>;
48 #size-cells = <1>;
49 compatible = "lantiq,sram", "simple-bus";
50 reg = <0x1f000000 0x800000>;
51 ranges = <0x0 0x1f000000 0x7fffff>;
52
53 eiu0: eiu@101000 {
54 #interrupt-cells = <1>;
55 interrupt-controller;
56 compatible = "lantiq,eiu-xway";
57 reg = <0x101000 0x1000>;
58 interrupt-parent = <&icu0>;
59 lantiq,eiu-irqs = <29 30 31>;
60 };
61
62 pmu0: pmu@102000 {
63 compatible = "lantiq,pmu-xway";
64 reg = <0x102000 0x1000>;
65 };
66
67 cgu0: cgu@103000 {
68 compatible = "lantiq,cgu-xway";
69 reg = <0x103000 0x1000>;
70 #clock-cells = <1>;
71 };
72
73 rcu0: rcu@203000 {
74 compatible = "lantiq,ase-rcu", "simple-mfd", "syscon";
75 reg = <0x203000 0x1000>;
76 ranges = <0x0 0x203000 0x100>;
77 big-endian;
78
79 reset: reset-controller@10 {
80 compatible = "lantiq,danube-reset";
81 reg = <0x10 4>, <0x14 4>;
82
83 #reset-cells = <2>;
84 };
85
86 usb_phy: usb2-phy@18 {
87 compatible = "lantiq,ase-usb2-phy";
88 reg = <0x18 4>;
89 status = "disabled";
90
91 resets = <&reset 4 4>;
92 reset-names = "ctrl";
93 #phy-cells = <0>;
94 };
95
96 reboot@10 {
97 compatible = "syscon-reboot";
98 reg = <0x10 4>;
99
100 regmap = <&rcu0>;
101 offset = <0x10>;
102 mask = <0x40000000>;
103 };
104 };
105 };
106
107 fpi@10000000 {
108 #address-cells = <1>;
109 #size-cells = <1>;
110 compatible = "lantiq,fpi", "simple-bus";
111 ranges = <0x0 0x10000000 0xeefffff>;
112 reg = <0x10000000 0xef00000>;
113
114 localbus: localbus@0 {
115 #address-cells = <2>;
116 #size-cells = <1>;
117 ranges = <0 0 0x0 0x3ffffff /* addrsel0 */
118 1 0 0x4000000 0x4000010>; /* addsel1 */
119 compatible = "lantiq,localbus", "simple-bus";
120 };
121
122 spi: spi@e100800 {
123 compatible = "lantiq,ase-spi";
124 reg = <0xe100800 0x100>;
125 interrupt-parent = <&icu0>;
126 interrupts = <24 25 26>;
127 interrupt-names = "spi_rx", "spi_tx", "spi_err",
128 "spi_frm";
129 #address-cells = <1>;
130 #size-cells = <1>;
131 status = "disabled";
132 };
133
134 gptu@e100a00 {
135 compatible = "lantiq,gptu-xway";
136 reg = <0xe100a00 0x100>;
137 interrupt-parent = <&icu0>;
138 interrupts = <33 34 35 36 37 38>;
139 };
140
141 gpio: pinmux@e100b10 {
142 compatible = "lantiq,ase-pinctrl";
143 #gpio-cells = <2>;
144 gpio-controller;
145 reg = <0xe100b10 0xa0>;
146 };
147
148 asc1: serial@e100c00 {
149 compatible = "lantiq,asc";
150 reg = <0xe100c00 0x400>;
151 interrupt-parent = <&icu0>;
152 interrupts = <72 74 75>;
153 };
154
155 mei@e116000 {
156 compatible = "lantiq,mei-xway";
157 interrupt-parent = <&icu0>;
158 interrupts = <81>;
159 };
160
161 usb: usb@e101000 {
162 compatible = "lantiq,ase-usb";
163 reg = <0xe101000 0x1000
164 0xe120000 0x3f000>;
165 interrupt-parent = <&icu0>;
166 interrupts = <39>;
167 dr_mode = "host";
168 phys = <&usb_phy>;
169 phy-names = "usb2-phy";
170 status = "disabled";
171 };
172
173 dma0: dma@e104100 {
174 compatible = "lantiq,dma-xway";
175 reg = <0xe104100 0x800>;
176 };
177
178 ebu0: ebu@e105300 {
179 compatible = "lantiq,ebu-xway";
180 reg = <0xe105300 0x100>;
181 };
182
183 ppe@e234000 {
184 compatible = "lantiq,ppe-ase";
185 interrupt-parent = <&icu0>;
186 interrupts = <85>;
187 };
188
189 gsw: etop@e180000 {
190 compatible = "lantiq,etop-xway";
191 reg = <0xe180000 0x40000>;
192 interrupt-parent = <&icu0>;
193 interrupts = <105 109>;
194 };
195 };
196
197 adsl {
198 compatible = "lantiq,adsl-ase";
199 };
200 };