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 | service { |
23 | service { |
|
23 | label = "service"; |
24 | label = "service"; |
|
24 | gpios = <&pinctrl 10 1>; |
- | ||
25 | linux,code = <BTN_0>; |
25 | gpios = <&pinctrl 10 1>; |
|
26 | debounce-interval = <60>; |
- | ||
27 | }; |
26 | linux,code = <BTN_0>; |
|
28 | |
27 | }; |
|
29 | wlan { |
28 | wlan { |
|
30 | label = "wlan"; |
29 | label = "wlan"; |
|
31 | gpios = <&pinctrl 12 1>; |
- | ||
32 | linux,code = <KEY_WLAN>; |
30 | gpios = <&pinctrl 12 1>; |
|
33 | debounce-interval = <60>; |
- | ||
34 | }; |
31 | linux,code = <KEY_WLAN>; |
|
35 | |
32 | }; |
|
36 | reset { |
33 | reset { |
|
37 | label = "reset"; |
34 | label = "reset"; |
|
38 | gpios = <&pinctrl 24 1>; |
- | ||
39 | linux,code = <KEY_RESTART>; |
35 | gpios = <&pinctrl 24 1>; |
|
40 | debounce-interval = <60>; |
- | ||
41 | }; |
36 | linux,code = <KEY_RESTART>; |
|
42 | |
37 | }; |
|
43 | wps { |
38 | wps { |
|
44 | label = "wps"; |
39 | label = "wps"; |
|
45 | gpios = <&pinctrl 25 1>; |
- | ||
46 | linux,code = <KEY_WPS_BUTTON>; |
40 | gpios = <&pinctrl 25 1>; |
|
47 | debounce-interval = <60>; |
41 | linux,code = <KEY_WPS_BUTTON>; |
|
Line 48... | Line 42... | |||
48 | }; |
42 | }; |
|
49 | }; |
43 | }; |
|
Line 68... | Line 62... | |||
68 | reg = <0>; |
62 | reg = <0>; |
|
Line 69... | Line 63... | |||
69 | |
63 | |
|
70 | #address-cells = <1>; |
64 | #address-cells = <1>; |
|
Line -... | Line 65... | |||
- | 65 | #size-cells = <1>; |
||
- | 66 | |
||
71 | #size-cells = <1>; |
67 | linux,part-probe = "bcm63xxpart"; |
|
72 | |
68 | |
|
73 | partitions { |
69 | partitions { |
|
74 | compatible = "fixed-partitions"; |
70 | compatible = "fixed-partitions"; |