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 | wlan { |
23 | wlan { |
|
23 | label = "wlan"; |
24 | label = "wlan"; |
|
24 | gpios = <&pinctrl 10 1>; |
- | ||
25 | linux,code = <KEY_WLAN>; |
25 | gpios = <&pinctrl 10 1>; |
|
26 | debounce-interval = <60>; |
- | ||
27 | }; |
26 | linux,code = <KEY_WLAN>; |
|
28 | |
27 | }; |
|
29 | reset { |
28 | reset { |
|
30 | label = "reset"; |
29 | label = "reset"; |
|
31 | gpios = <&pinctrl 12 1>; |
- | ||
32 | linux,code = <KEY_RESTART>; |
30 | gpios = <&pinctrl 12 1>; |
|
33 | debounce-interval = <60>; |
- | ||
34 | }; |
31 | linux,code = <KEY_RESTART>; |
|
35 | |
32 | }; |
|
36 | wps { |
33 | wps { |
|
37 | label = "wps"; |
34 | label = "wps"; |
|
38 | gpios = <&pinctrl 35 1>; |
- | ||
39 | linux,code = <KEY_WPS_BUTTON>; |
35 | gpios = <&pinctrl 35 1>; |
|
40 | debounce-interval = <60>; |
36 | linux,code = <KEY_WPS_BUTTON>; |
|
Line 41... | Line 37... | |||
41 | }; |
37 | }; |
|
42 | }; |
38 | }; |
|
Line 43... | Line 39... | |||
43 | |
39 | |
|
44 | leds { |
40 | gpio-leds { |
|
45 | compatible = "gpio-leds"; |
41 | compatible = "gpio-leds"; |
|
Line 93... | Line 89... | |||
93 | }; |
89 | }; |
|
Line 94... | Line 90... | |||
94 | |
90 | |
|
95 | &pflash { |
91 | &pflash { |
|
Line -... | Line 92... | |||
- | 92 | status = "ok"; |
||
- | 93 | |
||
96 | status = "ok"; |
94 | linux,part-probe = "bcm63xxpart"; |
|
97 | |
95 | |
|
98 | partitions { |
96 | partitions { |
|
99 | compatible = "fixed-partitions"; |
97 | compatible = "fixed-partitions"; |
|
Line 121... | Line 119... | |||
121 | nvram@1fe0000 { |
119 | nvram@1fe0000 { |
|
122 | label = "nvram"; |
120 | label = "nvram"; |
|
123 | reg = <0x1fe0000 0x20000>; |
121 | reg = <0x1fe0000 0x20000>; |
|
124 | }; |
122 | }; |
|
125 | }; |
123 | }; |
|
126 | }; |
124 | }; |
|
Line 127... | Line 125... | |||
127 | |
125 | |
|
128 | &pinctrl { |
126 | &pinctrl { |
|
129 | pinctrl-names = "default"; |
127 | pinctrl-names = "default"; |
|
130 | pinctrl-0 = <&pinctrl_pci>; |
128 | pinctrl-0 = <&pinctrl_pci>; |