OpenWrt – Blame information for rev 3
?pathlinks?
Rev | Author | Line No. | Line |
---|---|---|---|
1 | office | 1 | /dts-v1/; |
2 | |||
3 | #include "danube.dtsi" |
||
4 | |||
5 | #include <dt-bindings/input/input.h> |
||
6 | |||
7 | / { |
||
8 | compatible = "arcadyan,arv752dpw22", "lantiq,xway", "lantiq,danube"; |
||
9 | model = "Arcor 803"; |
||
10 | |||
11 | chosen { |
||
12 | bootargs = "console=ttyLTQ0,115200"; |
||
13 | }; |
||
14 | |||
15 | aliases { |
||
16 | led-boot = &power_red; |
||
17 | led-failsafe = &power_blue; |
||
18 | led-running = &power_red; |
||
19 | |||
20 | led-dsl = &internet_red; |
||
21 | led-usb = &umts; |
||
22 | led-wifi = &wifi; |
||
23 | }; |
||
24 | |||
25 | memory@0 { |
||
26 | reg = <0x0 0x4000000>; |
||
27 | }; |
||
28 | |||
29 | gpio-keys-polled { |
||
30 | compatible = "gpio-keys-polled"; |
||
31 | #address-cells = <1>; |
||
32 | #size-cells = <0>; |
||
33 | poll-interval = <100>; |
||
34 | |||
35 | wps { |
||
36 | label = "wps"; |
||
37 | gpios = <&gpio 11 GPIO_ACTIVE_LOW>; |
||
38 | linux,code = <KEY_WPS_BUTTON>; |
||
39 | }; |
||
40 | restart { |
||
41 | label = "restart"; |
||
42 | gpios = <&gpio 12 GPIO_ACTIVE_LOW>; |
||
43 | linux,code = <KEY_POWER>; |
||
44 | }; |
||
45 | dsl { |
||
46 | label = "dsl"; |
||
47 | gpios = <&gpio 13 GPIO_ACTIVE_LOW>; |
||
48 | linux,code = <BTN_0>; |
||
49 | }; |
||
50 | reset { |
||
51 | label = "reset"; |
||
52 | gpios = <&gpio 28 GPIO_ACTIVE_LOW>; |
||
53 | linux,code = <KEY_RESTART>; |
||
54 | }; |
||
55 | }; |
||
56 | |||
57 | gpio-leds { |
||
58 | compatible = "gpio-leds"; |
||
59 | power_blue: power1 { |
||
60 | label = "arv752dpw22:blue:power"; |
||
61 | gpios = <&gpio 3 GPIO_ACTIVE_LOW>; |
||
62 | }; |
||
63 | internet_red: internet { |
||
64 | label = "arv752dpw22:red:internet"; |
||
65 | gpios = <&gpio 4 GPIO_ACTIVE_LOW>; |
||
66 | }; |
||
67 | message { |
||
68 | label = "arv752dpw22:red:message"; |
||
69 | gpios = <&gpio 5 GPIO_ACTIVE_LOW>; |
||
70 | }; |
||
71 | power_red: power { |
||
72 | label = "arv752dpw22:red:power"; |
||
73 | gpios = <&gpio 6 GPIO_ACTIVE_LOW>; |
||
74 | default-state = "keep"; |
||
75 | }; |
||
76 | voice1 { |
||
77 | label = "arv752dpw22:red:voice"; |
||
78 | gpios = <&gpio 8 GPIO_ACTIVE_LOW>; |
||
79 | }; |
||
80 | umts: umts { |
||
81 | label = "arv752dpw22:red:umts"; |
||
82 | gpios = <&gpiomm 3 GPIO_ACTIVE_LOW>; |
||
83 | }; |
||
84 | wifi: wifi { |
||
85 | label = "arv752dpw22:red:wifi"; |
||
86 | gpios = <&gpiomm 4 GPIO_ACTIVE_LOW>; |
||
87 | }; |
||
88 | fxs1 { |
||
89 | label = "arv752dpw22:green:tae-n"; |
||
90 | gpios = <&gpiomm 5 GPIO_ACTIVE_LOW>; |
||
91 | }; |
||
92 | fxs2 { |
||
93 | label = "arv752dpw22:green:tae-u"; |
||
94 | gpios = <&gpiomm 6 GPIO_ACTIVE_LOW>; |
||
95 | }; |
||
96 | fxo { |
||
97 | label = "arv752dpw22:green:isdn"; |
||
98 | gpios = <&gpiomm 7 GPIO_ACTIVE_LOW>; |
||
99 | }; |
||
100 | internet2 { |
||
101 | label = "arv752dpw22:blue:internet"; |
||
102 | gpios = <&gpiomm 8 GPIO_ACTIVE_LOW>; |
||
103 | }; |
||
104 | voice2 { |
||
105 | label = "arv752dpw22:blue:voice"; |
||
106 | gpios = <&gpiomm 9 GPIO_ACTIVE_LOW>; |
||
107 | }; |
||
108 | eth1 { |
||
109 | label = "arv752dpw22:green:lan1"; |
||
110 | gpios = <&gpiomm 11 GPIO_ACTIVE_LOW>; |
||
111 | }; |
||
112 | eth2 { |
||
113 | label = "arv752dpw22:green:lan2"; |
||
114 | gpios = <&gpiomm 12 GPIO_ACTIVE_LOW>; |
||
115 | }; |
||
116 | eth3 { |
||
117 | label = "arv752dpw22:green:lan3"; |
||
118 | gpios = <&gpiomm 13 GPIO_ACTIVE_LOW>; |
||
119 | }; |
||
120 | eth4 { |
||
121 | label = "arv752dpw22:green:lan4"; |
||
122 | gpios = <&gpiomm 14 GPIO_ACTIVE_LOW>; |
||
123 | }; |
||
124 | }; |
||
125 | |||
126 | usb_vbus: regulator-usb-vbus { |
||
127 | compatible = "regulator-fixed"; |
||
128 | |||
129 | regulator-name = "USB_VBUS"; |
||
130 | |||
131 | regulator-min-microvolt = <5000000>; |
||
132 | regulator-max-microvolt = <5000000>; |
||
133 | |||
134 | gpio = <&gpiomm 0 GPIO_ACTIVE_HIGH>; |
||
135 | enable-active-high; |
||
136 | }; |
||
137 | }; |
||
138 | |||
139 | &gpio { |
||
140 | pinctrl-names = "default"; |
||
141 | pinctrl-0 = <&state_default>; |
||
142 | |||
143 | state_default: pinmux { |
||
144 | ebu { |
||
145 | lantiq,groups = "ebu cs1"; |
||
146 | lantiq,function = "ebu"; |
||
147 | }; |
||
148 | exin { |
||
149 | lantiq,groups = "exin1"; |
||
150 | lantiq,function = "exin"; |
||
151 | lantiq,pull = <2>; |
||
152 | lantiq,output = <0>; |
||
153 | }; |
||
154 | pci_in { |
||
155 | lantiq,groups = "req1"; |
||
156 | lantiq,function = "pci"; |
||
157 | lantiq,pull = <2>; |
||
158 | lantiq,output = <0>; |
||
159 | }; |
||
160 | pci_out { |
||
161 | lantiq,groups = "gnt1"; |
||
162 | lantiq,function = "pci"; |
||
163 | lantiq,open-drain = <1>; |
||
164 | lantiq,output = <1>; |
||
165 | }; |
||
166 | pci_rst { |
||
167 | lantiq,pins = "io21"; |
||
168 | lantiq,open-drain = <1>; |
||
169 | lantiq,output = <1>; |
||
170 | }; |
||
171 | leds { |
||
172 | lantiq,pins = "io3", "io5", "io6", "io8"; |
||
173 | lantiq,open-drain = <1>; |
||
174 | lantiq,output = <1>; |
||
175 | }; |
||
176 | buttons { |
||
177 | lantiq,pins = "io11", "io12", "io13", "io28"; |
||
178 | lantiq,pull = <2>; |
||
179 | lantiq,output = <0>; |
||
180 | }; |
||
181 | }; |
||
182 | }; |
||
183 | |||
184 | |||
185 | &gpiomm { |
||
186 | status = "okay"; |
||
187 | lantiq,shadow = <3>; |
||
188 | }; |
||
189 | |||
190 | &gsw { |
||
191 | phy-mode = "mii"; |
||
192 | mtd-mac-address = <&boardconfig 0x16>; |
||
193 | }; |
||
194 | |||
195 | &localbus { |
||
196 | nor@0 { |
||
197 | compatible = "lantiq,nor"; |
||
198 | bank-width = <2>; |
||
199 | reg = <0 0x0 0x800000>; |
||
200 | #address-cells = <1>; |
||
201 | #size-cells = <1>; |
||
202 | |||
203 | partitions { |
||
204 | compatible = "fixed-partitions"; |
||
205 | #address-cells = <1>; |
||
206 | #size-cells = <1>; |
||
207 | |||
208 | partition@0 { |
||
209 | label = "uboot"; |
||
210 | reg = <0x00000 0x30000>; |
||
211 | read-only; |
||
212 | }; |
||
213 | |||
214 | partition@10000 { |
||
215 | label = "uboot_env"; |
||
216 | reg = <0x30000 0x10000>; |
||
217 | read-only; |
||
218 | }; |
||
219 | |||
220 | partition@20000 { |
||
221 | label = "firmware"; |
||
222 | reg = <0x40000 0x7b0000>; |
||
223 | }; |
||
224 | |||
225 | boardconfig: partition@7f0000 { |
||
226 | label = "board_config"; |
||
227 | reg = <0x7f0000 0x10000>; |
||
228 | read-only; |
||
229 | }; |
||
230 | }; |
||
231 | }; |
||
232 | }; |
||
233 | |||
234 | &pci0 { |
||
235 | status = "okay"; |
||
236 | lantiq,external-clock; |
||
237 | interrupt-map = < |
||
238 | 0x7000 0 0 1 &icu0 30 |
||
239 | 0x7800 0 0 1 &icu0 135 |
||
240 | 0x7800 0 0 2 &icu0 135 |
||
241 | 0x7800 0 0 3 &icu0 135 |
||
242 | >; |
||
243 | gpio-reset = <&gpio 21 GPIO_ACTIVE_HIGH>; |
||
244 | req-mask = <0x3>; |
||
245 | |||
246 | wifi@1814,3592 { |
||
247 | compatible = "pci1814,3592"; |
||
248 | reg = <0x7000 0 0 0 0>; |
||
249 | ralink,mtd-eeprom = <&boardconfig 0x410>; |
||
250 | ralink,mtd-eeprom-swap; |
||
251 | mtd-mac-address = <&boardconfig 0x16>; |
||
252 | }; |
||
253 | }; |
||
254 | |||
255 | &usb_phy { |
||
256 | status = "okay"; |
||
3 | office | 257 | phy-supply = <&usb_vbus>; |
1 | office | 258 | }; |
259 | |||
260 | &usb { |
||
261 | status = "okay"; |
||
262 | }; |
||
263 | |||
264 | &vmmc { |
||
265 | status = "okay"; |
||
266 | gpios = <&gpiomm 1 GPIO_ACTIVE_HIGH>; |
||
267 | }; |