b80005582ed286b8ce2cf9a8f51d87c2281e92cd
[openwrt/openwrt.git] / target / linux / lantiq / dts / ARV752DPW.dts
1 /dts-v1/;
2
3 #include "danube.dtsi"
4
5 / {
6 model = "ARV752DPW - Arcor 802";
7
8 chosen {
9 bootargs = "console=ttyLTQ0,115200 init=/etc/preinit";
10 };
11
12 aliases {
13 led-boot = &power_red;
14 led-failsafe = &power_blue;
15 led-running = &power_red;
16
17 led-internet = &internet_red;
18 led-usb = &umts;
19 led-wifi = &wifi;
20 };
21
22 memory@0 {
23 reg = <0x0 0x4000000>;
24 };
25
26 sram@1F000000 {
27 vmmc@107000 {
28 status = "okay";
29 gpios = <&gpiomm 1 GPIO_ACTIVE_HIGH>;
30 };
31 };
32
33 fpi@10000000 {
34 localbus@0 {
35 nor-boot@0 {
36 compatible = "lantiq,nor";
37 bank-width = <2>;
38 reg = <0 0x0 0x800000>;
39 #address-cells = <1>;
40 #size-cells = <1>;
41
42 partitions {
43 compatible = "fixed-partitions";
44 #address-cells = <1>;
45 #size-cells = <1>;
46
47 partition@0 {
48 label = "uboot";
49 reg = <0x00000 0x10000>;
50 read-only;
51 };
52
53 partition@10000 {
54 label = "uboot_env";
55 reg = <0x10000 0x10000>;
56 read-only;
57 };
58
59 partition@20000 {
60 label = "firmware";
61 reg = <0x20000 0x7d0000>;
62 };
63
64 boardconfig: partition@7f0000 {
65 label = "board_config";
66 reg = <0x7f0000 0x10000>;
67 read-only;
68 };
69 };
70 };
71
72 gpiomm: gpiomm@4000000 {
73 compatible = "lantiq,gpio-mm";
74 reg = <1 0x0 0x10 >;
75 #address-cells = <1>;
76 #size-cells = <1>;
77 #gpio-cells = <2>;
78 gpio-controller;
79 lantiq,shadow = <0x3>;
80 };
81 };
82
83 gpio: pinmux@E100B10 {
84 pinctrl-names = "default";
85 pinctrl-0 = <&state_default>;
86
87 state_default: pinmux {
88 ebu {
89 lantiq,groups = "ebu cs1";
90 lantiq,function = "ebu";
91 };
92 exin {
93 lantiq,groups = "exin1";
94 lantiq,function = "exin";
95 lantiq,pull = <2>;
96 lantiq,output = <0>;
97 };
98 pci_in {
99 lantiq,groups = "req2", "req1";
100 lantiq,function = "pci";
101 lantiq,open-drain = <1>;
102 lantiq,pull = <2>;
103 lantiq,output = <0>;
104 };
105 pci_out {
106 lantiq,groups = "gnt1";
107 lantiq,function = "pci";
108 lantiq,output = <1>;
109 };
110 pci_rst {
111 lantiq,pins = "io21";
112 lantiq,pull = <2>;
113 lantiq,output = <1>;
114 };
115 leds {
116 lantiq,pins = "io3", "io5", "io6", "io8";
117 lantiq,output = <1>;
118 lantiq,pull = <0>;
119 };
120 keys {
121 lantiq,pins = "io11", "io12", "io13", "io28";
122 lantiq,output = <0>;
123 lantiq,pull = <2>;
124 lantiq,open-drain = <1>;
125 };
126 };
127 };
128
129 ifxhcd@E101000 {
130 status = "okay";
131 gpios = <&gpiomm 0 GPIO_ACTIVE_HIGH>;
132 };
133
134 etop@E180000 {
135 phy-mode = "rmii";
136 mtd-mac-address = <&boardconfig 0x16>;
137 };
138
139 pci@E105400 {
140 status = "okay";
141 lantiq,external-clock;
142 gpio-reset = <&gpio 21 GPIO_ACTIVE_HIGH>;
143 interrupt-map = <0x7000 0 0 1 &icu0 135>;
144 req-mask = <0x3>;
145 };
146
147 };
148
149 ralink_eep {
150 compatible = "ralink,eeprom";
151 ralink,eeprom = "RT2860.eeprom";
152 };
153
154 gpio-keys-polled {
155 compatible = "gpio-keys-polled";
156 #address-cells = <1>;
157 #size-cells = <0>;
158 poll-interval = <100>;
159
160 wps {
161 label = "wps";
162 gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
163 linux,code = <KEY_WPS_BUTTON>;
164 };
165 restart {
166 label = "restart";
167 gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
168 linux,code = <BTN_0>;
169 };
170 dsl {
171 label = "dsl";
172 gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
173 linux,code = <BTN_1>;
174 };
175 reset {
176 label = "reset";
177 gpios = <&gpio 30 GPIO_ACTIVE_LOW>;
178 linux,code = <KEY_RESTART>;
179 };
180 };
181
182 gpio-leds {
183 compatible = "gpio-leds";
184 power_blue: power1 {
185 label = "arv752dpw:blue:power";
186 gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
187 };
188 internet_red: internet {
189 label = "arv752dpw:red:internet";
190 gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
191 };
192 message {
193 label = "arv752dpw:red:message";
194 gpios = <&gpio 5 GPIO_ACTIVE_LOW>;
195 };
196 power_red: power {
197 label = "arv752dpw:red:power";
198 gpios = <&gpio 6 GPIO_ACTIVE_LOW>;
199 default-state = "keep";
200 };
201 voice1 {
202 label = "arv752dpw:red:voice";
203 gpios = <&gpio 8 GPIO_ACTIVE_LOW>;
204 };
205 umts: umts {
206 label = "arv752dpw:red:umts";
207 gpios = <&gpiomm 3 GPIO_ACTIVE_LOW>;
208 };
209 wifi: wifi {
210 label = "arv752dpw:red:wifi";
211 gpios = <&gpiomm 4 GPIO_ACTIVE_LOW>;
212 };
213 fxs1 {
214 label = "arv752dpw:green:tae-n";
215 gpios = <&gpiomm 5 GPIO_ACTIVE_LOW>;
216 };
217 fxs2 {
218 label = "arv752dpw:green:tae-u";
219 gpios = <&gpiomm 6 GPIO_ACTIVE_LOW>;
220 };
221 fxo {
222 label = "arv752dpw:green:isdn";
223 gpios = <&gpiomm 7 GPIO_ACTIVE_LOW>;
224 };
225 internet2 {
226 label = "arv752dpw:blue:internet";
227 gpios = <&gpiomm 8 GPIO_ACTIVE_LOW>;
228 };
229 voice2 {
230 label = "arv752dpw:blue:voice";
231 gpios = <&gpiomm 9 GPIO_ACTIVE_LOW>;
232 };
233 };
234 };