OpenWrt – Blame information for rev 2
?pathlinks?
Rev | Author | Line No. | Line |
---|---|---|---|
1 | office | 1 | /dts-v1/; |
2 | |||
3 | #include "vr9.dtsi" |
||
4 | |||
5 | #include <dt-bindings/input/input.h> |
||
6 | #include <dt-bindings/mips/lantiq_rcu_gphy.h> |
||
7 | |||
8 | / { |
||
9 | compatible = "arcadyan,arv7519rw22", "lantiq,xway", "lantiq,vr9"; |
||
10 | model = "Orange Livebox 2.1"; |
||
11 | |||
12 | chosen { |
||
13 | bootargs = "console=ttyLTQ0,115200"; |
||
14 | }; |
||
15 | |||
16 | aliases { |
||
17 | led-boot = &power_green; |
||
18 | led-failsafe = &power_green; |
||
19 | led-running = &power_green; |
||
20 | led-upgrade = &power_green; |
||
21 | |||
22 | led-dsl = &internet_green; |
||
23 | }; |
||
24 | |||
25 | memory@0 { |
||
26 | reg = <0x0 0x8000000>; |
||
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 | reset { |
||
36 | label = "reset"; |
||
37 | gpios = <&gpio 6 GPIO_ACTIVE_LOW>; |
||
38 | linux,code = <KEY_RESTART>; |
||
39 | }; |
||
40 | rfkill { |
||
41 | label = "rfkill"; |
||
42 | gpios = <&gpio 33 GPIO_ACTIVE_LOW>; |
||
43 | linux,code = <KEY_RFKILL>; |
||
44 | }; |
||
45 | wps { |
||
46 | label = "wps"; |
||
47 | gpios = <&gpio 37 GPIO_ACTIVE_LOW>; |
||
48 | linux,code = <KEY_WPS_BUTTON>; |
||
49 | }; |
||
50 | }; |
||
51 | |||
52 | gpio-leds { |
||
53 | compatible = "gpio-leds"; |
||
54 | |||
55 | lan_green { |
||
56 | label = "arv7519rw22:green:lan"; |
||
57 | gpios = <&gpio 2 GPIO_ACTIVE_LOW>; |
||
58 | }; |
||
59 | internet_red { |
||
60 | label = "arv7519rw22:red:internet"; |
||
61 | gpios = <&gpio 10 GPIO_ACTIVE_LOW>; |
||
62 | }; |
||
63 | power_green: power_green { |
||
64 | label = "arv7519rw22:green:power"; |
||
65 | gpios = <&gpio 14 GPIO_ACTIVE_LOW>; |
||
66 | default-state = "keep"; |
||
67 | }; |
||
68 | alarm_blue { |
||
69 | label = "arv7519rw22:blue:alarm"; |
||
70 | gpios = <&gpio 15 GPIO_ACTIVE_LOW>; |
||
71 | }; |
||
72 | internet_orange { |
||
73 | label = "arv7519rw22:orange:internet"; |
||
74 | gpios = <&gpio 19 GPIO_ACTIVE_LOW>; |
||
75 | }; |
||
76 | internet_green: internet_green { |
||
77 | label = "arv7519rw22:green:internet"; |
||
78 | gpios = <&gpio 28 GPIO_ACTIVE_LOW>; |
||
79 | }; |
||
80 | voice_green { |
||
81 | label = "arv7519rw22:green:voice"; |
||
82 | gpios = <&gpio 29 GPIO_ACTIVE_LOW>; |
||
83 | }; |
||
84 | }; |
||
85 | |||
86 | usb_vbus: regulator-usb-vbus { |
||
87 | compatible = "regulator-fixed"; |
||
88 | |||
89 | regulator-name = "USB_VBUS"; |
||
90 | |||
91 | regulator-min-microvolt = <5000000>; |
||
92 | regulator-max-microvolt = <5000000>; |
||
93 | |||
94 | gpio = <&gpio 32 GPIO_ACTIVE_HIGH>; |
||
95 | enable-active-high; |
||
96 | }; |
||
97 | }; |
||
98 | |||
99 | ð0 { |
||
100 | lan: interface@0 { |
||
101 | compatible = "lantiq,xrx200-pdi"; |
||
102 | #address-cells = <1>; |
||
103 | #size-cells = <0>; |
||
104 | reg = <0>; |
||
105 | mtd-mac-address = <&boardconfig 0x16>; |
||
106 | lantiq,switch; |
||
107 | |||
108 | ethernet@0 { |
||
109 | compatible = "lantiq,xrx200-pdi-port"; |
||
110 | reg = <0>; |
||
111 | phy-mode = "rgmii"; |
||
112 | phy-handle = <&phy0>; |
||
113 | }; |
||
114 | ethernet@1 { |
||
115 | compatible = "lantiq,xrx200-pdi-port"; |
||
116 | reg = <4>; |
||
117 | phy-mode = "mii"; |
||
118 | phy-handle = <&phy13>; |
||
119 | }; |
||
120 | ethernet@2 { |
||
121 | compatible = "lantiq,xrx200-pdi-port"; |
||
122 | reg = <5>; |
||
123 | phy-mode = "mii"; |
||
124 | phy-handle = <&phy14>; |
||
125 | }; |
||
126 | ethernet@3 { |
||
127 | compatible = "lantiq,xrx200-pdi-port"; |
||
128 | reg = <2>; |
||
129 | phy-mode = "mii"; |
||
130 | phy-handle = <&phy11>; |
||
131 | }; |
||
132 | ethernet@4 { |
||
133 | compatible = "lantiq,xrx200-pdi-port"; |
||
134 | reg = <3>; |
||
135 | phy-mode = "mii"; |
||
136 | phy-handle = <&phy12>; |
||
137 | }; |
||
138 | }; |
||
139 | |||
140 | mdio@0 { |
||
141 | #address-cells = <1>; |
||
142 | #size-cells = <0>; |
||
143 | compatible = "lantiq,xrx200-mdio"; |
||
144 | reg = <0>; |
||
145 | |||
146 | phy0: ethernet-phy@0 { |
||
147 | reg = <0x0>; |
||
148 | compatible = "lantiq,phy11g", "ethernet-phy-ieee802.3-c22"; |
||
149 | }; |
||
150 | phy11: ethernet-phy@11 { |
||
151 | reg = <0x11>; |
||
152 | compatible = "lantiq,phy22f", "ethernet-phy-ieee802.3-c22"; |
||
153 | }; |
||
154 | phy12: ethernet-phy@12 { |
||
155 | reg = <0x12>; |
||
156 | compatible = "lantiq,phy22f", "ethernet-phy-ieee802.3-c22"; |
||
157 | }; |
||
158 | phy13: ethernet-phy@13 { |
||
159 | reg = <0x13>; |
||
160 | compatible = "lantiq,phy22f", "ethernet-phy-ieee802.3-c22"; |
||
161 | }; |
||
162 | phy14: ethernet-phy@14 { |
||
163 | reg = <0x14>; |
||
164 | compatible = "lantiq,phy22f", "ethernet-phy-ieee802.3-c22"; |
||
165 | }; |
||
166 | }; |
||
167 | }; |
||
168 | |||
169 | &gphy0 { |
||
170 | lantiq,gphy-mode = <GPHY_MODE_FE>; |
||
171 | }; |
||
172 | |||
173 | &gphy1 { |
||
174 | lantiq,gphy-mode = <GPHY_MODE_FE>; |
||
175 | }; |
||
176 | |||
177 | &gpio { |
||
178 | pinctrl-names = "default"; |
||
179 | pinctrl-0 = <&state_default>; |
||
180 | |||
181 | state_default: pinmux { |
||
182 | mdio { |
||
183 | lantiq,groups = "mdio"; |
||
184 | lantiq,function = "mdio"; |
||
185 | }; |
||
186 | pcie-rst { |
||
187 | lantiq,pins = "io21"; |
||
188 | lantiq,pull = <0>; |
||
189 | lantiq,output = <1>; |
||
190 | }; |
||
191 | }; |
||
192 | }; |
||
193 | |||
194 | &localbus { |
||
195 | nor@0 { |
||
196 | compatible = "lantiq,nor"; |
||
197 | bank-width = <2>; |
||
198 | reg = <0 0x0 0x2000000>; |
||
199 | #address-cells = <1>; |
||
200 | #size-cells = <1>; |
||
201 | |||
202 | partitions { |
||
203 | compatible = "fixed-partitions"; |
||
204 | #address-cells = <1>; |
||
205 | #size-cells = <1>; |
||
206 | |||
207 | partition@0 { |
||
208 | label = "uboot"; |
||
209 | reg = <0x0 0x60000>; |
||
210 | read-only; |
||
211 | }; |
||
212 | |||
213 | partition@60000 { |
||
214 | label = "uboot-env"; |
||
215 | reg = <0x60000 0x20000>; |
||
216 | read-only; |
||
217 | }; |
||
218 | |||
219 | partition@80000 { |
||
220 | label = "firmware"; |
||
221 | reg = <0x80000 0x1f00000>; |
||
222 | }; |
||
223 | |||
224 | boardconfig: partition@1f80000 { |
||
225 | label = "boardconfig"; |
||
226 | reg = <0x1f80000 0x80000>; |
||
227 | read-only; |
||
228 | }; |
||
229 | }; |
||
230 | }; |
||
231 | }; |
||
232 | |||
233 | &pcie0 { |
||
234 | status = "okay"; |
||
235 | gpio-reset = <&gpio 21 GPIO_ACTIVE_HIGH>; |
||
236 | }; |
||
237 | |||
238 | &usb_phy0 { |
||
239 | status = "okay"; |
||
240 | }; |
||
241 | |||
242 | &usb_phy1 { |
||
243 | status = "okay"; |
||
244 | }; |
||
245 | |||
246 | &usb0 { |
||
247 | status = "okay"; |
||
248 | vbus-supply = <&usb_vbus>; |
||
249 | }; |
||
250 | |||
251 | &usb1 { |
||
252 | status = "okay"; |
||
253 | vbus-supply = <&usb_vbus>; |
||
254 | }; |