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 | phone { |
23 | phone { |
|
23 | label = "phone"; |
24 | label = "phone"; |
|
24 | gpios = <&pinctrl 1 1>; |
- | ||
25 | linux,code = <KEY_PHONE>; |
25 | gpios = <&pinctrl 1 1>; |
|
26 | debounce-interval = <60>; |
- | ||
27 | }; |
26 | linux,code = <KEY_PHONE>; |
|
28 | |
27 | }; |
|
29 | reset { |
28 | reset { |
|
30 | label = "reset"; |
29 | label = "reset"; |
|
31 | gpios = <&pinctrl 9 1>; |
- | ||
32 | linux,code = <KEY_RESTART>; |
30 | gpios = <&pinctrl 9 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 11 1>; |
- | ||
39 | linux,code = <KEY_WPS_BUTTON>; |
35 | gpios = <&pinctrl 11 1>; |
|
40 | debounce-interval = <60>; |
36 | linux,code = <KEY_WPS_BUTTON>; |
|
41 | }; |
37 | }; |
|
Line 42... | Line 38... | |||
42 | }; |
38 | }; |
|
Line 141... | Line 137... | |||
141 | }; |
137 | }; |
|
Line 142... | Line 138... | |||
142 | |
138 | |
|
143 | &pflash { |
139 | &pflash { |
|
Line -... | Line 140... | |||
- | 140 | status = "ok"; |
||
- | 141 | |
||
144 | status = "ok"; |
142 | linux,part-probe = "bcm63xxpart"; |
|
145 | |
143 | |
|
146 | partitions { |
144 | partitions { |
|
147 | compatible = "fixed-partitions"; |
145 | compatible = "fixed-partitions"; |