ralink: add support for the mt7530 eval board
[openwrt/svn-archive/archive.git] / target / linux / ramips / dts / rt2880.dtsi
1 / {
2 #address-cells = <1>;
3 #size-cells = <1>;
4 compatible = "ralink,rt2880-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@300000 {
24 compatible = "palmbus";
25 reg = <0x300000 0x200000>;
26 ranges = <0x0 0x300000 0x1FFFFF>;
27
28 #address-cells = <1>;
29 #size-cells = <1>;
30
31 sysc@0 {
32 compatible = "ralink,rt2880-sysc";
33 reg = <0x000 0x100>;
34 };
35
36 timer@100 {
37 compatible = "ralink,rt2880-timer";
38 reg = <0x100 0x20>;
39
40 interrupt-parent = <&intc>;
41 interrupts = <1>;
42
43 status = "disabled";
44 };
45
46 watchdog@120 {
47 compatible = "ralink,rt2880-wdt";
48 reg = <0x120 0x10>;
49 };
50
51 intc: intc@200 {
52 compatible = "ralink,rt2880-intc";
53 reg = <0x200 0x100>;
54
55 interrupt-controller;
56 #interrupt-cells = <1>;
57
58 interrupt-parent = <&cpuintc>;
59 interrupts = <2>;
60 };
61
62 memc@300 {
63 compatible = "ralink,rt2880-memc";
64 reg = <0x300 0x100>;
65 };
66
67 gpio0: gpio@600 {
68 compatible = "ralink,rt2880-gpio";
69 reg = <0x600 0x34>;
70
71 gpio-controller;
72 #gpio-cells = <2>;
73
74 ralink,gpio-base = <0>;
75 ralink,num-gpios = <24>;
76 ralink,register-map = [ 00 04 08 0c
77 20 24 28 2c
78 30 34 ];
79 };
80
81 gpio1: gpio@638 {
82 compatible = "ralink,rt2880-gpio";
83 reg = <0x638 0x24>;
84
85 gpio-controller;
86 #gpio-cells = <2>;
87
88 ralink,gpio-base = <24>;
89 ralink,num-gpios = <16>;
90 ralink,register-map = [ 00 04 08 0c
91 10 14 18 1c
92 20 24 ];
93
94 status = "disabled";
95 };
96
97 gpio2: gpio@660 {
98 compatible = "ralink,rt2880-gpio";
99 reg = <0x660 0x24>;
100
101 gpio-controller;
102 #gpio-cells = <2>;
103
104 ralink,gpio-base = <40>;
105 ralink,num-gpios = <32>;
106 ralink,register-map = [ 00 04 08 0c
107 10 14 18 1c
108 20 24 ];
109
110 status = "disabled";
111 };
112
113 uartlite@c00 {
114 compatible = "ralink,rt2880-uart", "ns16550a";
115 reg = <0xc00 0x100>;
116
117 interrupt-parent = <&intc>;
118 interrupts = <8>;
119
120 reg-shift = <2>;
121 };
122 };
123
124 ethernet@400000 {
125 compatible = "ralink,rt2880-eth";
126 reg = <0x00400000 10000>;
127
128 interrupt-parent = <&cpuintc>;
129 interrupts = <5>;
130
131 status = "disabled";
132
133 mdio-bus {
134 #address-cells = <1>;
135 #size-cells = <0>;
136
137 status = "disabled";
138 };
139 };
140
141 wmac@480000 {
142 compatible = "ralink,rt2880-wmac";
143 reg = <0x480000 40000>;
144
145 interrupt-parent = <&cpuintc>;
146 interrupts = <6>;
147
148 ralink,eeprom = "soc_wmac.eeprom";
149
150 status = "disabled";
151 };
152
153 };