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 37 1>; |
- | ||
25 | linux,code = <KEY_RESTART>; |
25 | gpios = <&pinctrl 37 1>; |
|
26 | debounce-interval = <60>; |
26 | linux,code = <KEY_RESTART>; |
|
Line 27... | Line 27... | |||
27 | }; |
27 | }; |
|
28 | }; |
28 | }; |
|
Line 29... | Line 29... | |||
29 | |
29 | |
|
30 | leds { |
30 | gpio-leds { |
|
31 | compatible = "gpio-leds"; |
31 | compatible = "gpio-leds"; |
|
Line 38... | Line 38... | |||
38 | }; |
38 | }; |
|
Line 39... | Line 39... | |||
39 | |
39 | |
|
40 | &pflash { |
40 | &pflash { |
|
Line -... | Line 41... | |||
- | 41 | status = "ok"; |
||
- | 42 | |
||
41 | status = "ok"; |
43 | linux,part-probe = "bcm63xxpart"; |
|
42 | |
44 | |
|
43 | partitions { |
45 | partitions { |
|
44 | compatible = "fixed-partitions"; |
46 | compatible = "fixed-partitions"; |
|
Line 45... | Line 47... | |||
45 | #address-cells = <1>; |
47 | #address-cells = <1>; |