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,arv4519pw", "lantiq,xway", "lantiq,danube"; |
||
9 | model = "Vodafone Netfaster IAD 2, Pirelli P.RG A4201G"; |
||
10 | |||
11 | chosen { |
||
12 | bootargs = "console=ttyLTQ0,115200"; |
||
13 | }; |
||
14 | |||
15 | aliases { |
||
16 | led-boot = &power_green; |
||
17 | led-failsafe = &power_red; |
||
18 | led-running = &power_green; |
||
19 | |||
20 | led-dsl = &dsl; |
||
21 | led-internet = &internet_green; |
||
22 | led-usb = &usb; |
||
23 | led-wifi = &wifi; |
||
24 | }; |
||
25 | |||
26 | memory@0 { |
||
27 | reg = <0x0 0x2000000>; |
||
28 | }; |
||
29 | |||
30 | sram@1F000000 { |
||
31 | vmmc@107000 { |
||
32 | status = "okay"; |
||
33 | gpios = <&gpio 31 GPIO_ACTIVE_HIGH>; |
||
34 | }; |
||
35 | }; |
||
36 | |||
37 | fpi@10000000 { |
||
38 | localbus@0 { |
||
39 | nor-boot@0 { |
||
40 | compatible = "lantiq,nor"; |
||
41 | bank-width = <2>; |
||
42 | reg = <0 0x0 0x2000000>; |
||
43 | #address-cells = <1>; |
||
44 | #size-cells = <1>; |
||
45 | |||
46 | partitions { |
||
47 | compatible = "fixed-partitions"; |
||
48 | #address-cells = <1>; |
||
49 | #size-cells = <1>; |
||
50 | |||
51 | partition@0 { |
||
52 | label = "uboot"; |
||
53 | reg = <0x00000 0x10000>; |
||
54 | read-only; |
||
55 | }; |
||
56 | |||
57 | partition@10000 { |
||
58 | label = "uboot_env"; |
||
59 | reg = <0x10000 0x10000>; |
||
60 | }; |
||
61 | |||
62 | partition@20000 { |
||
63 | label = "firmware"; |
||
64 | reg = <0x20000 0x3d0000>; |
||
65 | }; |
||
66 | |||
67 | boardconfig: partition@3f0000 { |
||
68 | label = "boardconfig"; |
||
69 | reg = <0x3f0000 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 = <0x400>; |
||
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 | }; |
||
96 | }; |
||
97 | |||
98 | etop@E180000 { |
||
99 | phy-mode = "mii"; |
||
100 | mtd-mac-address = <&boardconfig 0x16>; |
||
101 | }; |
||
102 | |||
103 | ifxhcd@E101000 { |
||
104 | status = "okay"; |
||
105 | gpios = <&gpio 14 GPIO_ACTIVE_HIGH>; |
||
106 | }; |
||
107 | |||
108 | pci@E105400 { |
||
109 | status = "okay"; |
||
110 | lantiq,external-clock; |
||
111 | gpio-reset = <&gpio 21 GPIO_ACTIVE_HIGH>; |
||
112 | req-mask = <0xf>; |
||
113 | }; |
||
114 | }; |
||
115 | |||
116 | gpio-keys-polled { |
||
117 | compatible = "gpio-keys-polled"; |
||
118 | #address-cells = <1>; |
||
119 | #size-cells = <0>; |
||
120 | poll-interval = <100>; |
||
121 | |||
122 | rfkill { |
||
123 | label = "rfkill"; |
||
124 | gpios = <&gpio 28 GPIO_ACTIVE_LOW>; |
||
125 | linux,code = <KEY_RFKILL>; |
||
126 | }; |
||
127 | reset { |
||
128 | label = "reset"; |
||
129 | gpios = <&gpio 30 GPIO_ACTIVE_LOW>; |
||
130 | linux,code = <KEY_RESTART>; |
||
131 | }; |
||
132 | }; |
||
133 | |||
134 | gpio-leds { |
||
135 | compatible = "gpio-leds"; |
||
136 | |||
137 | power_green: power { |
||
138 | label = "arv4519pw:green:power"; |
||
139 | gpios = <&gpio 2 GPIO_ACTIVE_LOW>; |
||
140 | default-state = "keep"; |
||
141 | }; |
||
142 | power_red: power2 { |
||
143 | label = "arv4519pw:red:power"; |
||
144 | gpios = <&gpio 7 GPIO_ACTIVE_LOW>; |
||
145 | }; |
||
146 | wifi: wifi { |
||
147 | label = "arv4519pw:green:wlan"; |
||
148 | gpios = <&gpio 6 GPIO_ACTIVE_LOW>; |
||
149 | }; |
||
150 | dsl: dsl { |
||
151 | label = "arv4519pw:green:dsl"; |
||
152 | gpios = <&gpio 4 GPIO_ACTIVE_LOW>; |
||
153 | }; |
||
154 | internet_green: online { |
||
155 | label = "arv4519pw:green:internet"; |
||
156 | gpios = <&gpio 5 GPIO_ACTIVE_LOW>; |
||
157 | }; |
||
158 | online2 { |
||
159 | label = "arv4519pw:red:internet"; |
||
160 | gpios = <&gpio 8 GPIO_ACTIVE_LOW>; |
||
161 | }; |
||
162 | usb: usb { |
||
163 | label = "arv4519pw:green:usb"; |
||
164 | gpios = <&gpio 19 GPIO_ACTIVE_LOW>; |
||
165 | }; |
||
166 | voip { |
||
167 | label = "arv4519pw:green:voip"; |
||
168 | gpios = <&gpiomm 0 GPIO_ACTIVE_LOW>; |
||
169 | }; |
||
170 | fxs1 { |
||
171 | label = "arv4519pw:green:phone1"; |
||
172 | gpios = <&gpiomm 1 GPIO_ACTIVE_LOW>; |
||
173 | }; |
||
174 | fxs2 { |
||
175 | label = "arv4519pw:green:phone2"; |
||
176 | gpios = <&gpiomm 2 GPIO_ACTIVE_LOW>; |
||
177 | }; |
||
178 | fxo { |
||
179 | label = "arv4519pw:green:line"; |
||
180 | gpios = <&gpiomm 3 GPIO_ACTIVE_LOW>; |
||
181 | }; |
||
182 | wps2 { |
||
183 | label = "arv4519pw:green:wps"; |
||
184 | gpios = <&gpiomm 4 GPIO_ACTIVE_LOW>; |
||
185 | }; |
||
186 | wps { |
||
187 | label = "arv4519pw:orange:wps"; |
||
188 | gpios = <&gpiomm 5 GPIO_ACTIVE_LOW>; |
||
189 | }; |
||
190 | wps3 { |
||
191 | label = "arv4519pw:red:wps"; |
||
192 | gpios = <&gpiomm 6 GPIO_ACTIVE_LOW>; |
||
193 | }; |
||
194 | }; |
||
195 | }; |