lantiq: dts: move memory node to board dts
[openwrt/staging/dedeckeh.git] / target / linux / lantiq / files / arch / mips / boot / dts / danube.dtsi
1 #include <dt-bindings/gpio/gpio.h>
2
3 / {
4 #address-cells = <1>;
5 #size-cells = <1>;
6 compatible = "lantiq,xway", "lantiq,danube";
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,mips24Kc";
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 = <166 135 66>;
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 vmmc: vmmc@107000 {
74 status = "disabled";
75 compatible = "lantiq,vmmc-xway";
76 reg = <0x103000 0x400>;
77 interrupt-parent = <&icu0>;
78 interrupts = <150 151 152 153 154 155>;
79 };
80
81 rcu0: rcu@203000 {
82 compatible = "lantiq,danube-rcu", "simple-mfd", "syscon";
83 reg = <0x203000 0x1000>;
84 ranges = <0x0 0x203000 0x100>;
85 big-endian;
86
87 reset: reset-controller@10 {
88 compatible = "lantiq,danube-reset";
89 reg = <0x10 4>, <0x14 4>;
90
91 #reset-cells = <2>;
92 };
93
94 usb_phy: usb2-phy@18 {
95 compatible = "lantiq,danube-usb2-phy";
96 reg = <0x18 4>;
97 status = "disabled";
98
99 resets = <&reset 4 4>;
100 reset-names = "ctrl";
101 #phy-cells = <0>;
102 };
103
104 reboot@10 {
105 compatible = "syscon-reboot";
106 reg = <0x10 4>;
107
108 regmap = <&rcu0>;
109 offset = <0x10>;
110 mask = <0x40000000>;
111 };
112 };
113 };
114
115 fpi@10000000 {
116 #address-cells = <1>;
117 #size-cells = <1>;
118 compatible = "lantiq,fpi", "simple-bus";
119 ranges = <0x0 0x10000000 0xeefffff>;
120 reg = <0x10000000 0xef00000>;
121
122 localbus: localbus@0 {
123 #address-cells = <2>;
124 #size-cells = <1>;
125 ranges = <0 0 0x0 0x3ffffff /* addrsel0 */
126 1 0 0x4000000 0x4000010>; /* addsel1 */
127 compatible = "lantiq,localbus", "simple-bus";
128
129 gpiomm: gpiomm@1 {
130 compatible = "lantiq,gpio-mm";
131 reg = <1 0x0 0x10 >;
132 #address-cells = <1>;
133 #size-cells = <1>;
134 #gpio-cells = <2>;
135 gpio-controller;
136 status = "disabled";
137 };
138 };
139
140 gptu@e100a00 {
141 compatible = "lantiq,gptu-xway";
142 reg = <0xe100a00 0x100>;
143 interrupt-parent = <&icu0>;
144 interrupts = <126 127 128 129 130 131>;
145 };
146
147 gpios: stp@e100bb0 {
148 #gpio-cells = <2>;
149 compatible = "lantiq,gpio-stp-xway";
150 gpio-controller;
151 reg = <0xe100bb0 0x40>;
152 lantiq,shadow = <0xfff>;
153 lantiq,groups = <0x3>;
154 status = "disabled";
155 };
156
157 asc0: serial@e100400 {
158 compatible = "lantiq,asc";
159 reg = <0xe100400 0x400>;
160 interrupt-parent = <&icu0>;
161 interrupts = <104 105 106>;
162 status = "disabled";
163 };
164
165 gpio: pinmux@e100b10 {
166 compatible = "lantiq,danube-pinctrl";
167 #gpio-cells = <2>;
168 gpio-controller;
169 reg = <0xe100b10 0xa0>;
170 };
171
172 asc1: serial@e100c00 {
173 compatible = "lantiq,asc";
174 reg = <0xe100c00 0x400>;
175 interrupt-parent = <&icu0>;
176 interrupts = <112 113 114>;
177 };
178
179 usb: usb@e101000 {
180 compatible = "lantiq,danube-usb";
181 reg = <0xe101000 0x1000
182 0xe120000 0x3f000>;
183 interrupt-parent = <&icu0>;
184 interrupts = <62>;
185 dr_mode = "host";
186 phys = <&usb_phy>;
187 phy-names = "usb2-phy";
188 status = "disabled";
189 };
190
191 deu@e103100 {
192 compatible = "lantiq,deu-danube";
193 reg = <0xe103100 0xf00>;
194 };
195
196 dma0: dma@e104100 {
197 compatible = "lantiq,dma-xway";
198 reg = <0xe104100 0x800>;
199 };
200
201 ebu0: ebu@e105300 {
202 compatible = "lantiq,ebu-xway";
203 reg = <0xe105300 0x100>;
204 };
205
206 mei@e116000 {
207 compatible = "lantiq,mei-xway";
208 interrupt-parent = <&icu0>;
209 interrupts = <63>;
210 };
211
212 gsw: etop@e180000 {
213 compatible = "lantiq,etop-xway";
214 reg = <0xe180000 0x40000>;
215 interrupt-parent = <&icu0>;
216 interrupts = <73 78>;
217 mac-address = [ 00 11 22 33 44 55 ];
218 };
219
220 ppe@e234000 {
221 compatible = "lantiq,ppe-danube";
222 interrupt-parent = <&icu0>;
223 interrupts = <96>;
224 };
225
226 pci0: pci@e105400 {
227 status = "disabled";
228
229 #address-cells = <3>;
230 #size-cells = <2>;
231 #interrupt-cells = <1>;
232 compatible = "lantiq,pci-xway";
233 bus-range = <0x0 0x0>;
234 ranges = <0x2000000 0 0x8000000 0x8000000 0 0x2000000 /* pci memory */
235 0x1000000 0 0x00000000 0xae00000 0 0x200000>; /* io space */
236 reg = <0x7000000 0x8000 /* config space */
237 0xe105400 0x400>; /* pci bridge */
238 lantiq,bus-clock = <33333333>;
239 interrupt-map-mask = <0xf800 0x0 0x0 0x7>;
240 interrupt-map = <0x7000 0 0 1 &icu0 30 1>; /* slot 14, irq 30 */
241 req-mask = <0x1>; /* GNT1 */
242 };
243 };
244
245 adsl {
246 compatible = "lantiq,adsl-danube";
247 };
248 };