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,arv7519pw", "lantiq,xway", "lantiq,danube"; |
||
9 | model = "Astoria Networks ARV7519PW"; |
||
10 | |||
11 | chosen { |
||
12 | bootargs = "console=ttyLTQ0,115200"; |
||
13 | }; |
||
14 | |||
15 | aliases { |
||
16 | led-boot = &power; |
||
17 | led-failsafe = &power2; |
||
18 | led-running = &power; |
||
19 | |||
20 | led-dsl = &dsl; |
||
21 | led-internet = &online; |
||
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 | }; |
||
33 | }; |
||
34 | |||
35 | fpi@10000000 { |
||
36 | localbus@0 { |
||
37 | nor-boot@0 { |
||
38 | compatible = "lantiq,nor"; |
||
39 | bank-width = <2>; |
||
40 | reg = <0 0x0 0x2000000>; |
||
41 | #address-cells = <1>; |
||
42 | #size-cells = <1>; |
||
43 | |||
44 | partitions { |
||
45 | compatible = "fixed-partitions"; |
||
46 | #address-cells = <1>; |
||
47 | #size-cells = <1>; |
||
48 | |||
49 | partition@0 { |
||
50 | label = "uboot"; |
||
51 | reg = <0x00000 0x40000>; |
||
52 | read-only; |
||
53 | }; |
||
54 | |||
55 | partition@40000 { |
||
56 | label = "uboot_env"; |
||
57 | reg = <0x40000 0x20000>; |
||
58 | }; |
||
59 | |||
60 | partition@60000 { |
||
61 | label = "firmware"; |
||
62 | reg = <0x60000 0xf80000>; |
||
63 | }; |
||
64 | |||
65 | boardconfig: partition@fe0000 { |
||
66 | label = "board_config"; |
||
67 | reg = <0xfe0000 0x20000>; |
||
68 | read-only; |
||
69 | }; |
||
70 | }; |
||
71 | }; |
||
72 | }; |
||
73 | |||
74 | gpio: pinmux@E100B10 { |
||
75 | pinctrl-names = "default"; |
||
76 | pinctrl-0 = <&state_default>; |
||
77 | |||
78 | state_default: pinmux { |
||
79 | ebu { |
||
80 | lantiq,groups = "ebu cs1"; |
||
81 | lantiq,function = "ebu"; |
||
82 | }; |
||
83 | pci_in { |
||
84 | lantiq,groups = "req1"; |
||
85 | lantiq,function = "pci"; |
||
86 | lantiq,open-drain = <1>; |
||
87 | lantiq,pull = <2>; |
||
88 | lantiq,output = <0>; |
||
89 | }; |
||
90 | pci_out { |
||
91 | lantiq,groups = "gnt1"; |
||
92 | lantiq,function = "pci"; |
||
93 | lantiq,pull = <0>; |
||
94 | lantiq,output = <1>; |
||
95 | }; |
||
96 | pci_rst { |
||
97 | lantiq,pins = "io21"; |
||
98 | lantiq,pull = <2>; |
||
99 | lantiq,output = <1>; |
||
100 | }; |
||
101 | switch_rst { |
||
102 | lantiq,pins = "io19"; |
||
103 | lantiq,pull = <2>; |
||
104 | lantiq,output = <1>; |
||
105 | }; |
||
106 | }; |
||
107 | }; |
||
108 | |||
109 | etop@E180000 { |
||
110 | phy-mode = "mii"; |
||
111 | mtd-mac-address = <&boardconfig 0x16>; |
||
112 | }; |
||
113 | |||
114 | /* warning: passive port |
||
115 | only works with active devices */ |
||
116 | ifxhcd@E101000 { |
||
117 | status = "okay"; |
||
118 | }; |
||
119 | }; |
||
120 | |||
121 | gpio-keys-polled { |
||
122 | compatible = "gpio-keys-polled"; |
||
123 | #address-cells = <1>; |
||
124 | #size-cells = <0>; |
||
125 | poll-interval = <100>; |
||
126 | |||
127 | rfkill { |
||
128 | label = "rfkill"; |
||
129 | gpios = <&gpio 11 GPIO_ACTIVE_LOW>; |
||
130 | linux,code = <KEY_RFKILL>; |
||
131 | }; |
||
132 | reset { |
||
133 | label = "reset"; |
||
134 | gpios = <&gpio 28 GPIO_ACTIVE_LOW>; |
||
135 | linux,code = <KEY_RESTART>; |
||
136 | }; |
||
137 | }; |
||
138 | |||
139 | gpio-leds { |
||
140 | compatible = "gpio-leds"; |
||
141 | power: power { |
||
142 | label = "power"; |
||
143 | gpios = <&gpio 2 GPIO_ACTIVE_LOW>; |
||
144 | default-state = "keep"; |
||
145 | }; |
||
146 | power2: power2 { |
||
147 | label = "power2"; |
||
148 | gpios = <&gpio 14 GPIO_ACTIVE_LOW>; |
||
149 | }; |
||
150 | online: online { |
||
151 | label = "online"; |
||
152 | gpios = <&gpio 3 GPIO_ACTIVE_LOW>; |
||
153 | }; |
||
154 | online2 { |
||
155 | label = "online2"; |
||
156 | gpios = <&gpio 30 GPIO_ACTIVE_LOW>; |
||
157 | }; |
||
158 | wifi: wifi { |
||
159 | label = "wifi"; |
||
160 | gpios = <&gpio 12 GPIO_ACTIVE_LOW>; |
||
161 | }; |
||
162 | wifi2 { |
||
163 | label = "wifi2"; |
||
164 | gpios = <&gpio 10 GPIO_ACTIVE_LOW>; |
||
165 | }; |
||
166 | wifi3 { |
||
167 | label = "wifi3"; |
||
168 | gpios = <&gpio 6 GPIO_ACTIVE_LOW>; |
||
169 | }; |
||
170 | voice { |
||
171 | label = "voice"; |
||
172 | gpios = <&gpio 31 GPIO_ACTIVE_LOW>; |
||
173 | }; |
||
174 | wps { |
||
175 | label = "wps"; |
||
176 | gpios = <&gpio 15 GPIO_ACTIVE_LOW>; |
||
177 | }; |
||
178 | wps2 { |
||
179 | label = "wps2"; |
||
180 | gpios = <&gpio 7 GPIO_ACTIVE_LOW>; |
||
181 | }; |
||
182 | wps3 { |
||
183 | label = "wps3"; |
||
184 | gpios = <&gpio 23 GPIO_ACTIVE_LOW>; |
||
185 | }; |
||
186 | dsl: dsl { |
||
187 | label = "dsl"; |
||
188 | gpios = <&gpio 4 GPIO_ACTIVE_LOW>; |
||
189 | }; |
||
190 | lan { |
||
191 | label = "lan"; |
||
192 | gpios = <&gpio 1 GPIO_ACTIVE_LOW>; |
||
193 | }; |
||
194 | tv { |
||
195 | label = "tv"; |
||
196 | gpios = <&gpio 20 GPIO_ACTIVE_LOW>; |
||
197 | }; |
||
198 | upgrade { |
||
199 | label = "upgrade"; |
||
200 | gpios = <&gpio 29 GPIO_ACTIVE_LOW>; |
||
201 | }; |
||
202 | }; |
||
203 | |||
204 | /* is there another way to "reserve" the GPIO? */ |
||
205 | gpio_export { |
||
206 | compatible = "gpio-export"; |
||
207 | #size-cells = <0>; |
||
208 | |||
209 | switch { |
||
210 | gpio-export,name = "switch"; |
||
211 | gpio-export,output = <1>; |
||
212 | gpios = <&gpio 19 GPIO_ACTIVE_HIGH>; |
||
213 | }; |
||
214 | }; |
||
215 | }; |
||
216 | |||
217 | &pci0 { |
||
218 | status = "okay"; |
||
219 | lantiq,external-clock; |
||
220 | gpio-reset = <&gpio 21 GPIO_ACTIVE_HIGH>; |
||
221 | req-mask = <0xf>; |
||
222 | |||
223 | wifi@0,0 { |
||
224 | compatible = "pci0,0"; |
||
225 | reg = <0x7000 0 0 0 0>; |
||
226 | ralink,mtd-eeprom = <&boardconfig 0x410>; |
||
227 | ralink,mtd-eeprom-swap; |
||
228 | }; |
||
229 | }; |