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 | rfkill { |
23 | rfkill { |
|
23 | label = "rfkill"; |
24 | label = "rfkill"; |
|
24 | gpios = <&pinctrl 15 1>; |
- | ||
25 | linux,code = <KEY_WLAN>; |
25 | gpios = <&pinctrl 15 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 87... | Line 83... | |||
87 | reg = <0>; |
83 | reg = <0>; |
|
Line 88... | Line 84... | |||
88 | |
84 | |
|
89 | #address-cells = <1>; |
85 | #address-cells = <1>; |
|
Line -... | Line 86... | |||
- | 86 | #size-cells = <1>; |
||
- | 87 | |
||
90 | #size-cells = <1>; |
88 | linux,part-probe = "bcm63xxpart"; |
|
91 | |
89 | |
|
92 | partitions { |
90 | partitions { |
|
93 | compatible = "fixed-partitions"; |
91 | compatible = "fixed-partitions"; |