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 | |
16 | |
|
17 | keys { |
17 | gpio-keys-polled { |
|
18 | compatible = "gpio-keys-polled"; |
18 | compatible = "gpio-keys-polled"; |
|
19 | #address-cells = <1>; |
19 | #address-cells = <1>; |
|
20 | #size-cells = <0>; |
20 | #size-cells = <0>; |
|
- | 21 | poll-interval = <20>; |
||
Line 21... | Line 22... | |||
21 | poll-interval = <20>; |
22 | debounce-interval = <60>; |
|
22 | |
23 | |
|
23 | reset { |
24 | reset { |
|
24 | label = "reset"; |
25 | label = "reset"; |
|
25 | gpios = <&pinctrl 23 1>; |
- | ||
26 | linux,code = <KEY_RESTART>; |
26 | gpios = <&pinctrl 23 1>; |
|
27 | debounce-interval = <60>; |
- | ||
28 | }; |
27 | linux,code = <KEY_RESTART>; |
|
29 | |
28 | }; |
|
30 | wps { |
29 | wps { |
|
31 | label = "wps"; |
30 | label = "wps"; |
|
32 | gpios = <&pinctrl 24 1>; |
- | ||
33 | linux,code = <KEY_WPS_BUTTON>; |
31 | gpios = <&pinctrl 24 1>; |
|
34 | debounce-interval = <60>; |
32 | linux,code = <KEY_WPS_BUTTON>; |
|
Line 35... | Line 33... | |||
35 | }; |
33 | }; |
|
36 | }; |
34 | }; |
|
Line 37... | Line 35... | |||
37 | |
35 | |
|
38 | leds { |
36 | gpio-leds { |
|
39 | compatible = "gpio-leds"; |
37 | compatible = "gpio-leds"; |
|
Line 81... | Line 79... | |||
81 | reg = <0>; |
79 | reg = <0>; |
|
Line 82... | Line 80... | |||
82 | |
80 | |
|
83 | #address-cells = <1>; |
81 | #address-cells = <1>; |
|
Line -... | Line 82... | |||
- | 82 | #size-cells = <1>; |
||
- | 83 | |
||
84 | #size-cells = <1>; |
84 | linux,part-probe = "bcm63xxpart"; |
|
85 | |
85 | |
|
86 | partitions { |
86 | partitions { |
|
87 | compatible = "fixed-partitions"; |
87 | compatible = "fixed-partitions"; |
|
Line 88... | Line 88... | |||
88 | #address-cells = <1>; |
88 | #address-cells = <1>; |
|
89 | #size-cells = <1>; |
89 | #size-cells = <1>; |
|
90 | |
90 | |
|
91 | cfe@0 { |
91 | cfe@0 { |