OpenWrt – Diff between revs 2 and 3
?pathlinks?
Rev 2 | Rev 3 | |||
---|---|---|---|---|
Line 4... | Line 4... | |||
4 | #include <dt-bindings/input/input.h> |
4 | #include <dt-bindings/input/input.h> |
|
Line 5... | Line 5... | |||
5 | |
5 | |
|
6 | / { |
6 | / { |
|
Line 7... | Line -... | |||
7 | compatible = "unbranded,wr512-3gn", "ralink,rt3052-soc"; |
- | ||
8 | |
- | ||
9 | aliases { |
- | ||
10 | led-boot = &led_wps; |
- | ||
11 | led-failsafe = &led_wps; |
- | ||
12 | led-running = &led_wps; |
- | ||
13 | led-upgrade = &led_wps; |
- | ||
14 | }; |
7 | compatible = "unbranded,wr512-3gn", "ralink,rt3052-soc"; |
|
15 | |
8 | |
|
Line 16... | Line 9... | |||
16 | leds { |
9 | gpio-leds { |
|
17 | compatible = "gpio-leds"; |
10 | compatible = "gpio-leds"; |
|
18 | |
11 | |
|
Line 29... | Line 22... | |||
29 | ap { |
22 | ap { |
|
30 | label = "wr512-3gn:green:ap"; |
23 | label = "wr512-3gn:green:ap"; |
|
31 | gpios = <&gpio0 12 GPIO_ACTIVE_LOW>; |
24 | gpios = <&gpio0 12 GPIO_ACTIVE_LOW>; |
|
32 | }; |
25 | }; |
|
Line 33... | Line 26... | |||
33 | |
26 | |
|
34 | led_wps: wps { |
27 | wps { |
|
35 | label = "wr512-3gn:green:wps"; |
28 | label = "wr512-3gn:green:wps"; |
|
36 | gpios = <&gpio0 14 GPIO_ACTIVE_LOW>; |
29 | gpios = <&gpio0 14 GPIO_ACTIVE_LOW>; |
|
Line 37... | Line 30... | |||
37 | }; |
30 | }; |
|
38 | |
31 | |
|
39 | station { |
32 | station { |
|
40 | label = "wr512-3gn:green:station"; |
33 | label = "wr512-3gn:green:station"; |
|
41 | gpios = <&gpio0 13 GPIO_ACTIVE_LOW>; |
34 | gpios = <&gpio0 13 GPIO_ACTIVE_LOW>; |
|
Line 42... | Line 35... | |||
42 | }; |
35 | }; |
|
43 | }; |
36 | }; |
|
- | 37 | |
||
- | 38 | gpio-keys-polled { |
||
44 | |
39 | compatible = "gpio-keys-polled"; |
|
Line 45... | Line 40... | |||
45 | keys { |
40 | #address-cells = <1>; |
|
46 | compatible = "gpio-keys-polled"; |
41 | #size-cells = <0>; |
|
47 | poll-interval = <20>; |
42 | poll-interval = <20>; |