OpenWrt – Diff between revs 2 and 3
?pathlinks?
Rev 2 | Rev 3 | |||
---|---|---|---|---|
Line 12... | Line 12... | |||
12 | chosen { |
12 | chosen { |
|
13 | bootargs = "rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200"; |
13 | bootargs = "rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200"; |
|
14 | stdout-path = "serial0:115200n8"; |
14 | stdout-path = "serial0:115200n8"; |
|
15 | }; |
15 | }; |
|
Line 16... | Line 16... | |||
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 34 GPIO_ACTIVE_LOW>; |
- | ||
26 | linux,code = <KEY_RESTART>; |
26 | gpios = <&pinctrl 34 GPIO_ACTIVE_LOW>; |
|
27 | debounce-interval = <60>; |
- | ||
28 | }; |
27 | linux,code = <KEY_RESTART>; |
|
29 | |
28 | }; |
|
30 | wlan { |
29 | wlan { |
|
31 | label = "wlan"; |
30 | label = "wlan"; |
|
32 | gpios = <&pinctrl 37 GPIO_ACTIVE_LOW>; |
- | ||
33 | linux,code = <KEY_WLAN>; |
31 | gpios = <&pinctrl 37 GPIO_ACTIVE_LOW>; |
|
34 | debounce-interval = <60>; |
32 | linux,code = <KEY_WLAN>; |
|
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 71... | Line 69... | |||
71 | }; |
69 | }; |
|
Line 72... | Line 70... | |||
72 | |
70 | |
|
73 | &pflash { |
71 | &pflash { |
|
Line -... | Line 72... | |||
- | 72 | status = "ok"; |
||
- | 73 | |
||
74 | status = "ok"; |
74 | linux,part-probe = "bcm63xxpart"; |
|
75 | |
75 | |
|
76 | partitions { |
76 | partitions { |
|
77 | compatible = "fixed-partitions"; |
77 | compatible = "fixed-partitions"; |