[ramips] add the dts files that describe the boards in future
[openwrt/svn-archive/archive.git] / target / linux / ramips / dts / rt3050.dtsi
1 / {
2 #address-cells = <1>;
3 #size-cells = <1>;
4 compatible = "ralink,rt3050-soc", "ralink,rt3052-soc", "ralink,rt3350-soc";
5
6 cpus {
7 cpu@0 {
8 compatible = "mips,mips24KEc";
9 };
10 };
11
12 chosen {
13 bootargs = "console=ttyS0,57600 init=/init";
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,rt3052-sysc", "ralink,rt3050-sysc";
33 reg = <0x0 0x100>;
34 };
35
36 timer@100 {
37 compatible = "ralink,rt3052-timer", "ralink,rt2880-timer";
38 reg = <0x100 0x20>;
39
40 interrupt-parent = <&intc>;
41 interrupts = <1>;
42 };
43
44 watchdog@120 {
45 compatible = "ralink,rt3052-wdt", "ralink,rt2880-wdt";
46 reg = <0x120 0x10>;
47 };
48
49 intc: intc@200 {
50 compatible = "ralink,rt3052-intc", "ralink,rt2880-intc";
51 reg = <0x200 0x100>;
52
53 interrupt-controller;
54 #interrupt-cells = <1>;
55
56 interrupt-parent = <&cpuintc>;
57 interrupts = <2>;
58 };
59
60 memc@300 {
61 compatible = "ralink,rt3052-memc", "ralink,rt3050-memc";
62 reg = <0x300 0x100>;
63 };
64
65 gpio0: gpio@600 {
66 compatible = "ralink,rt3052-gpio", "ralink,rt2880-gpio";
67 reg = <0x600 0x34>;
68
69 gpio-controller;
70 #gpio-cells = <2>;
71
72 ralink,num-gpios = <24>;
73 ralink,register-map = [ 00 04 08 0c
74 20 24 28 2c
75 30 34 ];
76
77 status = "disabled";
78 };
79
80 gpio1: gpio@638 {
81 compatible = "ralink,rt3052-gpio", "ralink,rt2880-gpio";
82 reg = <0x638 0x24>;
83
84 gpio-controller;
85 #gpio-cells = <2>;
86
87 ralink,num-gpios = <16>;
88 ralink,register-map = [ 00 04 08 0c
89 10 14 18 1c
90 20 24 ];
91
92 status = "disabled";
93 };
94
95 gpio2: gpio@660 {
96 compatible = "ralink,rt3052-gpio", "ralink,rt2880-gpio";
97 reg = <0x660 0x24>;
98
99 gpio-controller;
100 #gpio-cells = <2>;
101
102 ralink,num-gpios = <12>;
103 ralink,register-map = [ 00 04 08 0c
104 10 14 18 1c
105 20 24 ];
106
107 status = "disabled";
108 };
109
110 spi@b00 {
111 compatible = "ralink,rt3050-spi", "ralink,rt2880-spi";
112 reg = <0xb00 0x100>;
113 #address-cells = <1>;
114 #size-cells = <0>;
115
116 status = "disabled";
117 };
118
119 uartlite@c00 {
120 compatible = "ralink,rt3052-uart", "ralink,rt2880-uart", "ns16550a";
121 reg = <0xc00 0x100>;
122
123 interrupt-parent = <&intc>;
124 interrupts = <12>;
125
126 reg-shift = <2>;
127 };
128
129 };
130
131 ethernet@10100000 {
132 compatible = "ralink,rt3050-eth";
133 reg = <0x10100000 10000>;
134
135 interrupt-parent = <&cpuintc>;
136 interrupts = <5>;
137
138 status = "disabled";
139 };
140
141 esw@10110000 {
142 compatible = "ralink,rt3050-esw";
143 reg = <0x10110000 8000>;
144
145 interrupt-parent = <&intc>;
146 interrupts = <17>;
147
148 status = "disabled";
149 };
150
151 wmac@10180000 {
152 compatible = "ralink,rt3050-wmac", "ralink,rt2880-wmac";
153 reg = <0x10180000 40000>;
154
155 interrupt-parent = <&cpuintc>;
156 interrupts = <6>;
157
158 ralink,eeprom = "soc_wmac.eeprom";
159
160 status = "disabled";
161 };
162
163 otg@101c0000 {
164 compatible = "ralink,rt3050-otg";
165 reg = <0x101c0000 40000>;
166
167 interrupt-parent = <&intc>;
168 interrupts = <18>;
169
170 status = "disabled";
171 };
172 };