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 | wifi { |
23 | wifi { |
|
23 | label = "wifi"; |
24 | label = "wifi"; |
|
24 | gpios = <&pinctrl 2 1>; |
- | ||
25 | linux,code = <KEY_WLAN>; |
25 | gpios = <&pinctrl 2 1>; |
|
Line 26... | Line 26... | |||
26 | debounce-interval = <60>; |
26 | linux,code = <KEY_WLAN>; |
|
27 | }; |
27 | }; |
|
28 | |
28 | |
|
29 | wps { |
29 | wps { |
|
30 | label = "wps"; |
- | ||
31 | gpios = <&pinctrl 33 1>; |
30 | label = "wps"; |
|
Line 32... | Line 31... | |||
32 | linux,code = <KEY_WPS_BUTTON>; |
31 | gpios = <&pinctrl 33 1>; |
|
33 | debounce-interval = <60>; |
32 | linux,code = <KEY_WPS_BUTTON>; |
|
34 | }; |
33 | }; |
|
35 | |
34 | |
|
36 | reset { |
- | ||
37 | label = "reset"; |
35 | reset { |
|
38 | gpios = <&pinctrl 34 1>; |
36 | label = "reset"; |
|
Line 39... | Line 37... | |||
39 | linux,code = <KEY_RESTART>; |
37 | gpios = <&pinctrl 34 1>; |
|
40 | debounce-interval = <60>; |
38 | linux,code = <KEY_RESTART>; |
|
Line 41... | Line 39... | |||
41 | }; |
39 | }; |
|
42 | }; |
40 | }; |
|
43 | |
41 | |
|
Line 94... | Line 92... | |||
94 | reg = <0>; |
92 | reg = <0>; |
|
Line 95... | Line 93... | |||
95 | |
93 | |
|
96 | #address-cells = <1>; |
94 | #address-cells = <1>; |
|
Line -... | Line 95... | |||
- | 95 | #size-cells = <1>; |
||
- | 96 | |
||
97 | #size-cells = <1>; |
97 | linux,part-probe = "bcm63xxpart"; |
|
98 | |
98 | |
|
99 | partitions { |
99 | partitions { |
|
100 | compatible = "fixed-partitions"; |
100 | compatible = "fixed-partitions"; |