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 | reset { |
23 | reset { |
|
23 | label = "reset"; |
24 | label = "reset"; |
|
24 | gpios = <&pinctrl 36 1>; |
- | ||
25 | linux,code = <KEY_RESTART>; |
25 | gpios = <&pinctrl 36 1>; |
|
26 | debounce-interval = <60>; |
- | ||
27 | }; |
26 | linux,code = <KEY_RESTART>; |
|
28 | |
27 | }; |
|
29 | wps { |
28 | wps { |
|
30 | label = "wps"; |
29 | label = "wps"; |
|
31 | gpios = <&pinctrl 37 0>; |
- | ||
32 | linux,code = <KEY_WPS_BUTTON>; |
30 | gpios = <&pinctrl 37 0>; |
|
33 | debounce-interval = <60>; |
31 | linux,code = <KEY_WPS_BUTTON>; |
|
Line 34... | Line 32... | |||
34 | }; |
32 | }; |
|
35 | }; |
33 | }; |
|
Line 36... | Line 34... | |||
36 | |
34 | |
|
37 | leds { |
35 | gpio-leds { |
|
38 | compatible = "gpio-leds"; |
36 | compatible = "gpio-leds"; |
|
Line 82... | Line 80... | |||
82 | }; |
80 | }; |
|
Line 83... | Line 81... | |||
83 | |
81 | |
|
84 | &pflash { |
82 | &pflash { |
|
Line -... | Line 83... | |||
- | 83 | status = "ok"; |
||
- | 84 | |
||
85 | status = "ok"; |
85 | linux,part-probe = "bcm63xxpart"; |
|
86 | |
86 | |
|
87 | partitions { |
87 | partitions { |
|
88 | compatible = "fixed-partitions"; |
88 | compatible = "fixed-partitions"; |