OpenWrt – Blame information for rev 2
?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,arv4520pw", "lantiq,xway", "lantiq,danube"; |
||
9 | model = "Easybox 800, WAV-281"; |
||
10 | |||
11 | chosen { |
||
12 | bootargs = "console=ttyLTQ0,115200"; |
||
13 | }; |
||
14 | |||
15 | aliases { |
||
16 | led-boot = &power_blue; |
||
17 | led-failsafe = &power_red; |
||
18 | led-running = &power_blue; |
||
19 | led-upgrade = &power_blue; |
||
20 | |||
21 | led-dsl = &dsl; |
||
22 | led-internet = &internet_blue; |
||
23 | led-usb = &led_usb; |
||
24 | led-wifi = &wifi; |
||
25 | }; |
||
26 | |||
27 | memory@0 { |
||
28 | reg = <0x0 0x2000000>; |
||
29 | }; |
||
30 | |||
31 | gpio-keys-polled { |
||
32 | compatible = "gpio-keys-polled"; |
||
33 | #address-cells = <1>; |
||
34 | #size-cells = <0>; |
||
35 | poll-interval = <100>; |
||
36 | |||
37 | rfkill { |
||
38 | label = "wps"; |
||
39 | gpios = <&gpio 29 GPIO_ACTIVE_LOW>; |
||
40 | linux,code = <KEY_WPS_BUTTON>; |
||
41 | }; |
||
42 | reset { |
||
43 | label = "reset"; |
||
44 | gpios = <&gpio 30 GPIO_ACTIVE_LOW>; |
||
45 | linux,code = <KEY_RESTART>; |
||
46 | }; |
||
47 | }; |
||
48 | |||
49 | gpio-leds { |
||
50 | compatible = "gpio-leds"; |
||
51 | |||
52 | power_blue: power { |
||
53 | label = "arv4520pw:blue:power"; |
||
54 | gpios = <&gpio 3 GPIO_ACTIVE_LOW>; |
||
55 | default-state = "keep"; |
||
56 | }; |
||
57 | dsl: dsl { |
||
58 | label = "arv4520pw:blue:dsl"; |
||
59 | gpios = <&gpio 4 GPIO_ACTIVE_LOW>; |
||
60 | }; |
||
61 | internet_blue: internet { |
||
62 | label = "arv4520pw:blue:internet"; |
||
63 | gpios = <&gpio 5 GPIO_ACTIVE_LOW>; |
||
64 | }; |
||
65 | power_red: power2 { |
||
66 | label = "arv4520pw:red:power"; |
||
67 | gpios = <&gpio 6 GPIO_ACTIVE_LOW>; |
||
68 | }; |
||
69 | wps { |
||
70 | label = "arv4520pw:yellow:wps"; |
||
71 | gpios = <&gpio 7 GPIO_ACTIVE_LOW>; |
||
72 | }; |
||
73 | wps2 { |
||
74 | label = "arv4520pw:red:wps"; |
||
75 | gpios = <&gpio 9 GPIO_ACTIVE_LOW>; |
||
76 | }; |
||
77 | /* |
||
78 | wps green is missing |
||
79 | */ |
||
80 | fxs1 { |
||
81 | label = "arv4520pw:blue:telefon1"; |
||
82 | gpios = <&gpiomm 0 GPIO_ACTIVE_LOW>; |
||
83 | }; |
||
84 | fxs2 { |
||
85 | label = "arv4520pw:blue:telefon2"; |
||
86 | gpios = <&gpiomm 1 GPIO_ACTIVE_LOW>; |
||
87 | }; |
||
88 | isdn { |
||
89 | label = "arv4520pw:blue:isdn"; |
||
90 | gpios = <&gpiomm 2 GPIO_ACTIVE_LOW>; |
||
91 | }; |
||
92 | fxo { |
||
93 | label = "arv4520pw:blue:line"; |
||
94 | gpios = <&gpiomm 3 GPIO_ACTIVE_LOW>; |
||
95 | }; |
||
96 | voice { |
||
97 | label = "arv4520pw:blue:sprache"; |
||
98 | gpios = <&gpiomm 4 GPIO_ACTIVE_LOW>; |
||
99 | }; |
||
100 | led_usb: usb { |
||
101 | label = "arv4520pw:blue:usb"; |
||
102 | gpios = <&gpiomm 5 GPIO_ACTIVE_LOW>; |
||
103 | }; |
||
104 | wifi: wifi { |
||
105 | label = "arv4520pw:blue:wifi"; |
||
106 | gpios = <&gpiomm 6 GPIO_ACTIVE_LOW>; |
||
107 | }; |
||
108 | internet2 { |
||
109 | label = "arv4520pw:red:internet"; |
||
110 | gpios = <&gpiomm 9 GPIO_ACTIVE_LOW>; |
||
111 | }; |
||
112 | /* |
||
113 | info is missing |
||
114 | */ |
||
115 | }; |
||
116 | |||
117 | usb_vbus: regulator-usb-vbus { |
||
118 | compatible = "regulator-fixed"; |
||
119 | |||
120 | regulator-name = "USB_VBUS"; |
||
121 | |||
122 | regulator-min-microvolt = <5000000>; |
||
123 | regulator-max-microvolt = <5000000>; |
||
124 | |||
125 | gpio = <&gpio 28 GPIO_ACTIVE_HIGH>; |
||
126 | enable-active-high; |
||
127 | }; |
||
128 | }; |
||
129 | |||
130 | &gpio { |
||
131 | pinctrl-names = "default"; |
||
132 | pinctrl-0 = <&state_default>; |
||
133 | |||
134 | state_default: pinmux { |
||
135 | ebu { |
||
136 | lantiq,groups = "ebu cs1"; |
||
137 | lantiq,function = "ebu"; |
||
138 | }; |
||
139 | pci_in { |
||
140 | lantiq,groups = "req1"; |
||
141 | lantiq,function = "pci"; |
||
142 | lantiq,open-drain = <1>; |
||
143 | lantiq,pull = <2>; |
||
144 | lantiq,output = <0>; |
||
145 | }; |
||
146 | pci_out { |
||
147 | lantiq,groups = "gnt1"; |
||
148 | lantiq,function = "pci"; |
||
149 | lantiq,output = <1>; |
||
150 | }; |
||
151 | pci_rst { |
||
152 | lantiq,pins = "io21"; |
||
153 | lantiq,open-drain = <0>; |
||
154 | lantiq,pull = <0>; |
||
155 | }; |
||
156 | }; |
||
157 | }; |
||
158 | |||
159 | &gpiomm { |
||
160 | status = "okay"; |
||
161 | lantiq,shadow = <0x400>; |
||
162 | }; |
||
163 | |||
164 | &gsw { |
||
165 | /* gpiomm 10 - switch */ |
||
166 | phy-mode = "rmii"; |
||
167 | mtd-mac-address = <&boardconfig 0x16>; |
||
168 | }; |
||
169 | |||
170 | &localbus { |
||
171 | nor@0 { |
||
172 | compatible = "lantiq,nor"; |
||
173 | bank-width = <2>; |
||
174 | reg = <0 0x0 0x800000>; |
||
175 | #address-cells = <1>; |
||
176 | #size-cells = <1>; |
||
177 | |||
178 | partitions { |
||
179 | compatible = "fixed-partitions"; |
||
180 | #address-cells = <1>; |
||
181 | #size-cells = <1>; |
||
182 | |||
183 | partition@0 { |
||
184 | label = "uboot"; |
||
185 | reg = <0x00000 0x20000>; |
||
186 | read-only; |
||
187 | }; |
||
188 | |||
189 | partition@20000 { |
||
190 | label = "uboot_env"; |
||
191 | reg = <0x20000 0x10000>; |
||
192 | read-only; |
||
193 | }; |
||
194 | |||
195 | partition@30000 { |
||
196 | label = "firmware"; |
||
197 | reg = <0x30000 0x3c0000>; |
||
198 | }; |
||
199 | |||
200 | boardconfig: partition@7f0000 { |
||
201 | label = "boardconfig"; |
||
202 | reg = <0x3f0000 0x10000>; |
||
203 | read-only; |
||
204 | }; |
||
205 | }; |
||
206 | }; |
||
207 | }; |
||
208 | |||
209 | &pci0 { |
||
210 | status = "okay"; |
||
211 | lantiq,external-clock; |
||
212 | gpio-reset = <&gpio 21 GPIO_ACTIVE_HIGH>; |
||
213 | }; |
||
214 | |||
215 | &usb_phy { |
||
216 | status = "okay"; |
||
217 | }; |
||
218 | |||
219 | &usb { |
||
220 | status = "okay"; |
||
221 | vbus-supply = <&usb_vbus>; |
||
222 | }; |
||
223 | |||
224 | &vmmc { |
||
225 | status = "okay"; |
||
226 | gpios = <&gpio 31 GPIO_ACTIVE_HIGH |
||
227 | &gpiomm 7 GPIO_ACTIVE_HIGH>; |
||
228 | }; |