[ramips] update rt2880.dtsi
[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 memorydetect {
17 ralink,memory = <0x8000000 0x200000 0x8000000>;
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@300000 {
28 compatible = "palmbus";
29 reg = <0x300000 0x200000>;
30 ranges = <0x0 0x300000 0x1FFFFF>;
31
32 #address-cells = <1>;
33 #size-cells = <1>;
34
35 sysc@0 {
36 compatible = "ralink,rt2880-sysc";
37 reg = <0x000 0x100>;
38 };
39
40 timer@100 {
41 compatible = "ralink,rt2880-timer";
42 reg = <0x100 0x20>;
43
44 interrupt-parent = <&intc>;
45 interrupts = <1>;
46
47 status = "disabled";
48 };
49
50 watchdog@120 {
51 compatible = "ralink,rt2880-wdt";
52 reg = <0x120 0x10>;
53 };
54
55 intc: intc@200 {
56 compatible = "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,rt2880-memc";
68 reg = <0x300 0x100>;
69 };
70
71 gpio0: gpio@600 {
72 compatible = "ralink,rt2880-gpio";
73 reg = <0x600 0x34>;
74
75 gpio-controller;
76 #gpio-cells = <2>;
77
78 ralink,num-gpios = <24>;
79 ralink,register-map = [ 00 04 08 0c
80 20 24 28 2c
81 30 34 ];
82 };
83
84 gpio1: gpio@638 {
85 compatible = "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,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 uartlite@c00 {
115 compatible = "ralink,rt2880-uart", "ns16550a";
116 reg = <0xc00 0x100>;
117
118 interrupt-parent = <&intc>;
119 interrupts = <8>;
120
121 reg-shift = <2>;
122 };
123 };
124
125 ethernet@400000 {
126 compatible = "ralink,rt2880-eth";
127 reg = <0x00400000 10000>;
128
129 interrupt-parent = <&cpuintc>;
130 interrupts = <5>;
131
132 status = "disabled";
133
134 mdio-bus {
135 #address-cells = <1>;
136 #size-cells = <0>;
137
138 status = "disabled";
139 };
140 };
141
142 wmac@480000 {
143 compatible = "ralink,rt2880-wmac";
144 reg = <0x480000 40000>;
145
146 interrupt-parent = <&cpuintc>;
147 interrupts = <6>;
148
149 ralink,eeprom = "soc_wmac.eeprom";
150
151 status = "disabled";
152 };
153
154 };