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 27 1>; |
- | ||
25 | linux,code = <BTN_0>; |
25 | gpios = <&pinctrl 27 1>; |
|
26 | debounce-interval = <60>; |
- | ||
27 | }; |
26 | linux,code = <BTN_0>; |
|
28 | |
27 | }; |
|
29 | clip { |
28 | clip { |
|
30 | label = "clip"; |
29 | label = "clip"; |
|
31 | gpios = <&pinctrl 31 1>; |
- | ||
32 | linux,code = <BTN_1>; |
30 | gpios = <&pinctrl 31 1>; |
|
33 | debounce-interval = <60>; |
- | ||
34 | }; |
31 | linux,code = <BTN_1>; |
|
35 | |
32 | }; |
|
36 | reset { |
33 | reset { |
|
37 | label = "reset"; |
34 | label = "reset"; |
|
38 | gpios = <&pinctrl 34 1>; |
- | ||
39 | linux,code = <KEY_RESTART>; |
35 | gpios = <&pinctrl 34 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 37 1>; |
- | ||
46 | linux,code = <KEY_WPS_BUTTON>; |
40 | gpios = <&pinctrl 37 1>; |
|
47 | debounce-interval = <60>; |
41 | linux,code = <KEY_WPS_BUTTON>; |
|
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 106... | Line 100... | |||
106 | }; |
100 | }; |
|
Line 107... | Line 101... | |||
107 | |
101 | |
|
108 | &pflash { |
102 | &pflash { |
|
Line -... | Line 103... | |||
- | 103 | status = "ok"; |
||
- | 104 | |
||
109 | status = "ok"; |
105 | linux,part-probe = "bcm63xxpart"; |
|
110 | |
106 | |
|
111 | partitions { |
107 | partitions { |
|
112 | compatible = "brcm,bcm963xx-cfe-nor-partitions"; |
108 | compatible = "brcm,bcm963xx-cfe-nor-partitions"; |