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 | help { |
23 | help { |
|
| 23 | label = "help"; |
24 | label = "help"; |
|
| 24 | gpios = <&pinctrl 8 1>; |
- | ||
| 25 | linux,code = <KEY_HELP>; |
25 | gpios = <&pinctrl 8 1>; |
|
| 26 | debounce-interval = <60>; |
- | ||
| 27 | }; |
26 | linux,code = <KEY_HELP>; |
|
| 28 | |
27 | }; |
|
| 29 | wlan { |
28 | wlan { |
|
| 30 | label = "wlan"; |
29 | label = "wlan"; |
|
| 31 | gpios = <&pinctrl 9 1>; |
- | ||
| 32 | linux,code = <KEY_WLAN>; |
30 | gpios = <&pinctrl 9 1>; |
|
| 33 | debounce-interval = <60>; |
- | ||
| 34 | }; |
31 | linux,code = <KEY_WLAN>; |
|
| 35 | |
32 | }; |
|
| 36 | restart { |
33 | restart { |
|
| 37 | label = "restart"; |
34 | label = "restart"; |
|
| 38 | gpios = <&pinctrl 10 1>; |
- | ||
| 39 | linux,code = <KEY_RESTART>; |
35 | gpios = <&pinctrl 10 1>; |
|
| 40 | debounce-interval = <60>; |
- | ||
| 41 | }; |
36 | linux,code = <KEY_RESTART>; |
|
| 42 | |
37 | }; |
|
| 43 | reset { |
38 | reset { |
|
| 44 | label = "reset"; |
39 | label = "reset"; |
|
| 45 | gpios = <&pinctrl 11 1>; |
- | ||
| 46 | linux,code = <KEY_CONFIG>; |
40 | gpios = <&pinctrl 11 1>; |
|
| 47 | debounce-interval = <60>; |
41 | linux,code = <KEY_CONFIG>; |
|
| Line 48... | Line 42... | |||
| 48 | }; |
42 | }; |
|
| 49 | }; |
43 | }; |
|
| Line 50... | Line 44... | |||
| 50 | |
44 | |
|
| 51 | leds { |
45 | gpio-leds { |
|
| 52 | compatible = "gpio-leds"; |
46 | compatible = "gpio-leds"; |
|
| Line 109... | Line 103... | |||
| 109 | }; |
103 | }; |
|
| Line 110... | Line 104... | |||
| 110 | |
104 | |
|
| 111 | &pflash { |
105 | &pflash { |
|
| Line -... | Line 106... | |||
| - | 106 | status = "ok"; |
||
| - | 107 | |
||
| 112 | status = "ok"; |
108 | linux,part-probe = "bcm63xxpart"; |
|
| 113 | |
109 | |
|
| 114 | partitions { |
110 | partitions { |
|
| 115 | compatible = "fixed-partitions"; |
111 | compatible = "fixed-partitions"; |
|