OpenWrt – Diff between revs 2 and 3
?pathlinks?
Rev 2 | Rev 3 | |||
---|---|---|---|---|
Line 32... | Line 32... | |||
32 | led-upgrade = &power; |
32 | led-upgrade = &power; |
|
33 | }; |
33 | }; |
|
Line 34... | Line 34... | |||
34 | |
34 | |
|
35 | chosen { |
35 | chosen { |
|
36 | bootargs = "rootfstype=squashfs,ext4 rootwait noinitrd"; |
36 | bootargs = "rootfstype=squashfs,ext4 rootwait noinitrd"; |
|
37 | stdout-path = "serial0:115200n8"; |
37 | linux,stdout-path = "serial0:115200n8"; |
|
38 | append-rootblock = "root=/dev/mmcblk0p"; |
38 | append-rootblock = "root=/dev/mmcblk0p"; |
|
Line 39... | Line 39... | |||
39 | }; |
39 | }; |
|
40 | |
40 | |
|
Line 241... | Line 241... | |||
241 | gpios = <&qcom_pinmux 1 GPIO_ACTIVE_HIGH &qcom_pinmux 0 GPIO_ACTIVE_HIGH>; |
241 | gpios = <&qcom_pinmux 1 GPIO_ACTIVE_HIGH &qcom_pinmux 0 GPIO_ACTIVE_HIGH>; |
|
242 | pinctrl-0 = <&mdio0_pins>; |
242 | pinctrl-0 = <&mdio0_pins>; |
|
243 | pinctrl-names = "default"; |
243 | pinctrl-names = "default"; |
|
Line 244... | Line 244... | |||
244 | |
244 | |
|
- | 245 | phy0: ethernet-phy@0 { |
||
245 | phy0: ethernet-phy@0 { |
246 | device_type = "ethernet-phy"; |
|
246 | reg = <0>; |
247 | reg = <0>; |
|
247 | qca,ar8327-initvals = < |
248 | qca,ar8327-initvals = < |
|
248 | 0x00004 0x7600000 /* PAD0_MODE */ |
249 | 0x00004 0x7600000 /* PAD0_MODE */ |
|
249 | 0x00008 0x1000000 /* PAD5_MODE */ |
250 | 0x00008 0x1000000 /* PAD5_MODE */ |
|
Line 268... | Line 269... | |||
268 | 0x009a4 0x000001c6 /* QM_PORT6_CTRL1 */ |
269 | 0x009a4 0x000001c6 /* QM_PORT6_CTRL1 */ |
|
269 | >; |
270 | >; |
|
270 | }; |
271 | }; |
|
Line 271... | Line 272... | |||
271 | |
272 | |
|
- | 273 | phy4: ethernet-phy@4 { |
||
272 | phy4: ethernet-phy@4 { |
274 | device_type = "ethernet-phy"; |
|
273 | reg = <4>; |
275 | reg = <4>; |
|
274 | qca,ar8327-initvals = < |
276 | qca,ar8327-initvals = < |
|
275 | 0x000e4 0x6a545 /* MAC_POWER_SEL */ |
277 | 0x000e4 0x6a545 /* MAC_POWER_SEL */ |
|
276 | 0x0000c 0x80 /* PAD6_MODE */ |
278 | 0x0000c 0x80 /* PAD6_MODE */ |
|
Line 322... | Line 324... | |||
322 | status = "okay"; |
324 | status = "okay"; |
|
323 | }; |
325 | }; |
|
324 | }; |
326 | }; |
|
325 | }; |
327 | }; |
|
Line 326... | Line 328... | |||
326 | |
328 | |
|
327 | keys { |
329 | gpio-keys { |
|
328 | compatible = "gpio-keys"; |
330 | compatible = "gpio-keys"; |
|
329 | pinctrl-0 = <&button_pins>; |
331 | pinctrl-0 = <&button_pins>; |
|
Line 330... | Line 332... | |||
330 | pinctrl-names = "default"; |
332 | pinctrl-names = "default"; |
|
Line 347... | Line 349... | |||
347 | gpios = <&qcom_pinmux 65 GPIO_ACTIVE_LOW>; |
349 | gpios = <&qcom_pinmux 65 GPIO_ACTIVE_LOW>; |
|
348 | linux,code = <KEY_WPS_BUTTON>; |
350 | linux,code = <KEY_WPS_BUTTON>; |
|
349 | }; |
351 | }; |
|
350 | }; |
352 | }; |
|
Line 351... | Line 353... | |||
351 | |
353 | |
|
352 | leds { |
354 | gpio-leds { |
|
353 | compatible = "gpio-leds"; |
355 | compatible = "gpio-leds"; |
|
354 | pinctrl-0 = <&led_pins>; |
356 | pinctrl-0 = <&led_pins>; |
|
Line 355... | Line 357... | |||
355 | pinctrl-names = "default"; |
357 | pinctrl-names = "default"; |