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