ralink: update patches
[openwrt/openwrt.git] / target / linux / ramips / dts / rt3352.dtsi
1 / {
2 #address-cells = <1>;
3 #size-cells = <1>;
4 compatible = "ralink,rt3352-soc";
5
6 cpus {
7 cpu@0 {
8 compatible = "mips,mips24KEc";
9 };
10 };
11
12 chosen {
13 bootargs = "console=ttyS0,57600";
14 };
15
16 cpuintc: cpuintc@0 {
17 #address-cells = <0>;
18 #interrupt-cells = <1>;
19 interrupt-controller;
20 compatible = "mti,cpu-interrupt-controller";
21 };
22
23 palmbus@10000000 {
24 compatible = "palmbus";
25 reg = <0x10000000 0x200000>;
26 ranges = <0x0 0x10000000 0x1FFFFF>;
27
28 #address-cells = <1>;
29 #size-cells = <1>;
30
31 sysc@0 {
32 compatible = "ralink,rt3352-sysc", "ralink,rt3050-sysc";
33 reg = <0x0 0x100>;
34 };
35
36 timer@100 {
37 compatible = "ralink,rt3352-timer", "ralink,rt2880-timer";
38 reg = <0x100 0x20>;
39
40 interrupt-parent = <&intc>;
41 interrupts = <1>;
42 };
43
44 watchdog@120 {
45 compatible = "ralink,rt3352-wdt", "ralink,rt2880-wdt";
46 reg = <0x120 0x10>;
47
48 resets = <&rstctrl 8>;
49 reset-names = "wdt";
50
51 interrupt-parent = <&intc>;
52 interrupts = <1>;
53 };
54
55 intc: intc@200 {
56 compatible = "ralink,rt3352-intc", "ralink,rt2880-intc";
57 reg = <0x200 0x100>;
58
59 interrupt-controller;
60 #interrupt-cells = <1>;
61
62 interrupt-parent = <&cpuintc>;
63 interrupts = <2>;
64 };
65
66 memc@300 {
67 compatible = "ralink,rt3352-memc", "ralink,rt3050-memc";
68 reg = <0x300 0x100>;
69
70 resets = <&rstctrl 20>;
71 reset-names = "mc";
72
73 interrupt-parent = <&intc>;
74 interrupts = <3>;
75 };
76
77 uart@500 {
78 compatible = "ralink,rt3352-uart", "ralink,rt2880-uart", "ns16550a";
79 reg = <0x500 0x100>;
80
81 resets = <&rstctrl 12>;
82 reset-names = "uart";
83
84 interrupt-parent = <&intc>;
85 interrupts = <5>;
86
87 reg-shift = <2>;
88
89 status = "disabled";
90 };
91
92 gpio0: gpio@600 {
93 compatible = "ralink,rt3352-gpio", "ralink,rt2880-gpio";
94 reg = <0x600 0x34>;
95
96 gpio-controller;
97 #gpio-cells = <2>;
98
99 ralink,gpio-base = <0>;
100 ralink,num-gpios = <24>;
101 ralink,register-map = [ 00 04 08 0c
102 20 24 28 2c
103 30 34 ];
104 resets = <&rstctrl 13>;
105 reset-names = "pio";
106
107 interrupt-parent = <&intc>;
108 interrupts = <6>;
109
110 status = "disabled";
111 };
112
113 gpio1: gpio@638 {
114 compatible = "ralink,rt3352-gpio", "ralink,rt2880-gpio";
115 reg = <0x638 0x24>;
116
117 gpio-controller;
118 #gpio-cells = <2>;
119
120 ralink,gpio-base = <24>;
121 ralink,num-gpios = <16>;
122 ralink,register-map = [ 00 04 08 0c
123 10 14 18 1c
124 20 24 ];
125
126 status = "disabled";
127 };
128
129 gpio2: gpio@660 {
130 compatible = "ralink,rt3352-gpio", "ralink,rt2880-gpio";
131 reg = <0x660 0x24>;
132
133 gpio-controller;
134 #gpio-cells = <2>;
135
136 ralink,gpio-base = <40>;
137 ralink,num-gpios = <12>;
138 ralink,register-map = [ 00 04 08 0c
139 10 14 18 1c
140 20 24 ];
141
142 status = "disabled";
143 };
144
145 spi@b00 {
146 compatible = "ralink,rt3352-spi", "ralink,rt2880-spi";
147 reg = <0xb00 0x100>;
148 #address-cells = <1>;
149 #size-cells = <1>;
150
151 resets = <&rstctrl 18>;
152 reset-names = "spi";
153
154 status = "disabled";
155 };
156
157 uartlite@c00 {
158 compatible = "ralink,rt3352-uart", "ralink,rt2880-uart", "ns16550a";
159 reg = <0xc00 0x100>;
160
161 resets = <&rstctrl 19>;
162 reset-names = "uartl";
163
164 interrupt-parent = <&intc>;
165 interrupts = <12>;
166
167 reg-shift = <2>;
168 };
169 };
170
171 rstctrl: rstctrl {
172 compatible = "ralink,rt3352-reset", "ralink,rt2880-reset";
173 #reset-cells = <1>;
174 };
175
176 ethernet@10100000 {
177 compatible = "ralink,rt3352-eth", "ralink,rt3050-eth";
178 reg = <0x10100000 10000>;
179
180 interrupt-parent = <&cpuintc>;
181 interrupts = <5>;
182
183 status = "disabled";
184 };
185
186 esw@10110000 {
187 compatible = "ralink,rt3352-esw", "ralink,rt3050-esw";
188 reg = <0x10110000 8000>;
189
190 interrupt-parent = <&intc>;
191 interrupts = <17>;
192
193 status = "disabled";
194 };
195
196 wmac@10180000 {
197 compatible = "ralink,rt3352-wmac", "ralink,rt2880-wmac";
198 reg = <0x10180000 40000>;
199
200 interrupt-parent = <&cpuintc>;
201 interrupts = <6>;
202
203 ralink,eeprom = "soc_wmac.eeprom";
204
205 status = "disabled";
206 };
207
208 ehci@101c0000 {
209 compatible = "ralink,rt3352-ehci", "ehci-platform";
210 reg = <0x101c0000 0x1000>;
211
212 interrupt-parent = <&intc>;
213 interrupts = <18>;
214
215 status = "disabled";
216 };
217
218 ohci@101c1000 {
219 compatible = "ralink,rt3352-ohci", "ohci-platform";
220 reg = <0x101c1000 0x1000>;
221
222 interrupt-parent = <&intc>;
223 interrupts = <18>;
224
225 status = "disabled";
226 };
227 };