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