OpenWrt – Diff between revs 2 and 3
?pathlinks?
Rev 2 | Rev 3 | |||
---|---|---|---|---|
Line 11... | Line 11... | |||
11 | chosen { |
11 | chosen { |
|
12 | bootargs = "rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200"; |
12 | bootargs = "rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200"; |
|
13 | stdout-path = "serial0:115200n8"; |
13 | stdout-path = "serial0:115200n8"; |
|
14 | }; |
14 | }; |
|
Line 15... | Line 15... | |||
15 | |
15 | |
|
16 | keys { |
16 | gpio-keys-polled { |
|
17 | compatible = "gpio-keys-polled"; |
17 | compatible = "gpio-keys-polled"; |
|
18 | #address-cells = <1>; |
18 | #address-cells = <1>; |
|
19 | #size-cells = <0>; |
19 | #size-cells = <0>; |
|
- | 20 | poll-interval = <20>; |
||
Line 20... | Line 21... | |||
20 | poll-interval = <20>; |
21 | debounce-interval = <60>; |
|
21 | |
22 | |
|
22 | reset { |
23 | reset { |
|
23 | label = "reset"; |
24 | label = "reset"; |
|
24 | gpios = <&pinctrl 34 1>; |
- | ||
25 | linux,code = <KEY_RESTART>; |
25 | gpios = <&pinctrl 34 1>; |
|
26 | debounce-interval = <60>; |
- | ||
27 | }; |
26 | linux,code = <KEY_RESTART>; |
|
28 | |
27 | }; |
|
29 | wlan { |
28 | wps { |
|
30 | label = "wlan"; |
29 | label = "wps"; |
|
31 | gpios = <&pinctrl 35 1>; |
- | ||
32 | linux,code = <KEY_WLAN>; |
30 | gpios = <&pinctrl 35 1>; |
|
33 | debounce-interval = <60>; |
31 | linux,code = <KEY_WPS_BUTTON>; |
|
Line 34... | Line 32... | |||
34 | }; |
32 | }; |
|
35 | }; |
33 | }; |
|
Line 36... | Line 34... | |||
36 | |
34 | |
|
37 | leds { |
35 | gpio-leds { |
|
38 | compatible = "gpio-leds"; |
36 | compatible = "gpio-leds"; |
|
Line 54... | Line 52... | |||
54 | gpios = <&pinctrl 12 1>; |
52 | gpios = <&pinctrl 12 1>; |
|
55 | }; |
53 | }; |
|
56 | power_blue { |
54 | power_blue { |
|
57 | label = "VH4032N:blue:power"; |
55 | label = "VH4032N:blue:power"; |
|
58 | gpios = <&pinctrl 22 0>; |
56 | gpios = <&pinctrl 22 0>; |
|
59 | default-state = "on"; |
- | ||
60 | }; |
57 | }; |
|
61 | power_red { |
58 | power_red { |
|
62 | label = "VH4032N:red:power"; |
59 | label = "VH4032N:red:power"; |
|
63 | gpios = <&pinctrl 24 0>; |
60 | gpios = <&pinctrl 24 0>; |
|
- | 61 | default-state = "on"; |
||
64 | }; |
62 | }; |
|
65 | voice_blue { |
63 | voice_blue { |
|
66 | label = "VH4032N:blue:voice"; |
64 | label = "VH4032N:blue:voice"; |
|
67 | gpios = <&pinctrl 25 1>; |
65 | gpios = <&pinctrl 25 1>; |
|
68 | }; |
66 | }; |
|
Line 72... | Line 70... | |||
72 | }; |
70 | }; |
|
73 | }; |
71 | }; |
|
74 | }; |
72 | }; |
|
Line 75... | Line 73... | |||
75 | |
73 | |
|
76 | &pinctrl { |
- | ||
77 | pinctrl-names = "default"; |
- | ||
78 | pinctrl-0 = <&pinctrl_pci &pinctrl_ephy0_led &pinctrl_ephy1_led |
- | ||
79 | &pinctrl_ephy2_led &pinctrl_ephy3_led>; |
- | ||
80 | |
74 | &pinctrl { |
|
81 | usb_hub_reset { |
75 | usb_hub_reset { |
|
82 | gpio-hog; |
76 | gpio-hog; |
|
83 | gpios = <27 0>; |
77 | gpios = <27 0>; |
|
84 | output-high; |
78 | output-high; |
|
Line 87... | Line 81... | |||
87 | }; |
81 | }; |
|
Line 88... | Line 82... | |||
88 | |
82 | |
|
89 | &pflash { |
83 | &pflash { |
|
Line -... | Line 84... | |||
- | 84 | status = "ok"; |
||
- | 85 | |
||
90 | status = "ok"; |
86 | linux,part-probe = "bcm63xxpart"; |
|
91 | |
87 | |
|
92 | partitions { |
88 | partitions { |
|
93 | compatible = "fixed-partitions"; |
89 | compatible = "fixed-partitions"; |