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