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 | wps { |
23 | wps { |
|
23 | label = "wps"; |
24 | label = "wps"; |
|
24 | gpios = <&pinctrl 12 1>; |
- | ||
25 | linux,code = <KEY_WPS_BUTTON>; |
25 | gpios = <&pinctrl 12 1>; |
|
26 | debounce-interval = <60>; |
- | ||
27 | }; |
26 | linux,code = <KEY_WPS_BUTTON>; |
|
28 | |
27 | }; |
|
29 | wlan { |
28 | wlan { |
|
30 | label = "wlan"; |
29 | label = "wlan"; |
|
31 | gpios = <&pinctrl 23 1>; |
- | ||
32 | linux,code = <KEY_WLAN>; |
30 | gpios = <&pinctrl 23 1>; |
|
33 | debounce-interval = <60>; |
- | ||
34 | }; |
31 | linux,code = <KEY_WLAN>; |
|
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>; |
36 | linux,code = <KEY_RESTART>; |
|
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 74... | Line 70... | |||
74 | }; |
70 | }; |
|
Line 75... | Line 71... | |||
75 | |
71 | |
|
76 | &pflash { |
72 | &pflash { |
|
Line -... | Line 73... | |||
- | 73 | status = "ok"; |
||
- | 74 | |
||
77 | status = "ok"; |
75 | linux,part-probe = "bcm63xxpart"; |
|
78 | |
76 | |
|
79 | partitions { |
77 | partitions { |
|
80 | compatible = "fixed-partitions"; |
78 | compatible = "fixed-partitions"; |
|
Line 87... | Line 85... | |||
87 | }; |
85 | }; |
|
Line 88... | Line 86... | |||
88 | |
86 | |
|
89 | linux@20000 { |
87 | linux@20000 { |
|
90 | label = "linux"; |
88 | label = "linux"; |
|
91 | reg = <0x020000 0x770000>; |
- | ||
92 | compatible = "brcm,bcm963xx-imagetag"; |
89 | reg = <0x020000 0x770000>; |
|
Line 93... | Line 90... | |||
93 | }; |
90 | }; |
|
94 | |
91 | |
|
95 | board_data@790000 { |
92 | board_data@790000 { |
|
- | 93 | label = "board_data"; |
||
96 | label = "board_data"; |
94 | reg = <0x790000 0x030000>; |
|
Line 97... | Line 95... | |||
97 | reg = <0x790000 0x030000>; |
95 | compatible = "brcm,bcm963xx-imagetag"; |
|
98 | }; |
96 | }; |
|
99 | |
97 | |