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