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 10 1>; |
- | ||
25 | linux,code = <KEY_WLAN>; |
25 | gpios = <&pinctrl 10 1>; |
|
26 | debounce-interval = <60>; |
- | ||
27 | }; |
26 | linux,code = <KEY_WLAN>; |
|
28 | |
27 | }; |
|
29 | reset { |
28 | reset { |
|
30 | label = "reset"; |
29 | label = "reset"; |
|
31 | gpios = <&pinctrl 23 1>; |
- | ||
32 | linux,code = <KEY_RESTART>; |
30 | gpios = <&pinctrl 23 1>; |
|
33 | debounce-interval = <60>; |
- | ||
34 | }; |
31 | linux,code = <KEY_RESTART>; |
|
35 | |
32 | }; |
|
36 | wps { |
33 | wps { |
|
37 | label = "wps"; |
34 | label = "wps"; |
|
38 | gpios = <&pinctrl 24 1>; |
- | ||
39 | linux,code = <KEY_WPS_BUTTON>; |
35 | gpios = <&pinctrl 24 1>; |
|
40 | debounce-interval = <60>; |
36 | linux,code = <KEY_WPS_BUTTON>; |
|
Line 41... | Line 37... | |||
41 | }; |
37 | }; |
|
42 | }; |
38 | }; |
|
Line 43... | Line 39... | |||
43 | |
39 | |
|
44 | leds { |
40 | gpio-leds { |
|
45 | compatible = "gpio-leds"; |
41 | compatible = "gpio-leds"; |
|
Line 83... | Line 79... | |||
83 | reg = <0>; |
79 | reg = <0>; |
|
Line 84... | Line 80... | |||
84 | |
80 | |
|
85 | #address-cells = <1>; |
81 | #address-cells = <1>; |
|
Line -... | Line 82... | |||
- | 82 | #size-cells = <1>; |
||
- | 83 | |
||
86 | #size-cells = <1>; |
84 | linux,part-probe = "bcm63xxpart"; |
|
87 | |
85 | |
|
88 | partitions { |
86 | partitions { |
|
89 | compatible = "fixed-partitions"; |
87 | compatible = "fixed-partitions"; |