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 | |
|
- | 21 | poll-interval = <20>; |
||
Line 20... | Line 22... | |||
20 | poll-interval = <20>; |
22 | debounce-interval = <60>; |
|
21 | |
23 | |
|
22 | button1 { |
24 | button1 { |
|
23 | label = "1"; |
25 | label = "1"; |
|
24 | gpios = <&pinctrl 36 1>; |
- | ||
25 | linux,code = <KEY_RESTART>; |
26 | gpios = <&pinctrl 36 1>; |
|
Line 26... | Line 27... | |||
26 | debounce-interval = <60>; |
27 | linux,code = <KEY_RESTART>; |
|
27 | }; |
28 | }; |
|
28 | |
29 | |
|
29 | button2 { |
30 | button2 { |
|
30 | label = "2"; |
- | ||
31 | gpios = <&pinctrl 7 1>; |
31 | label = "2"; |
|
32 | linux,code = <BTN_2>; |
32 | gpios = <&pinctrl 7 1>; |
|
Line 33... | Line 33... | |||
33 | debounce-interval = <60>; |
33 | linux,code = <BTN_2>; |
|
34 | }; |
34 | }; |
|
Line 35... | Line 35... | |||
35 | }; |
35 | }; |
|
36 | |
36 | |
|
37 | leds { |
37 | gpio-leds { |
|
Line 67... | Line 67... | |||
67 | |
67 | |
|
68 | &pflash { |
68 | &pflash { |
|
69 | reg = <0x1e400000 0x800000>; |
69 | reg = <0x1e400000 0x800000>; |
|
Line 70... | Line -... | |||
70 | status = "ok"; |
- | ||
71 | |
70 | status = "ok"; |
|
72 | partitions { |
- | ||
73 | compatible = "ecoscentric,redboot-fis-partitions"; |
71 | |
|
Line 74... | Line 72... | |||
74 | }; |
72 | linux,part-probe = "RedBoot"; |
|
75 | }; |
73 | }; |
|
76 | |
74 | |