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