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... | |||
7 | compatible = "alphanetworks,asl26555", "ralink,rt3050-soc"; |
7 | compatible = "alphanetworks,asl26555", "ralink,rt3050-soc"; |
|
8 | |
- | ||
9 | aliases { |
- | ||
10 | led-boot = &led_power_green; |
- | ||
11 | led-failsafe = &led_power_green; |
- | ||
12 | led-running = &led_power_green; |
- | ||
13 | led-upgrade = &led_power_green; |
- | ||
14 | }; |
- | ||
15 | |
8 | |
|
- | 9 | gpio-keys-polled { |
||
- | 10 | compatible = "gpio-keys-polled"; |
||
16 | keys { |
11 | #address-cells = <1>; |
|
Line 17... | Line 12... | |||
17 | compatible = "gpio-keys-polled"; |
12 | #size-cells = <0>; |
|
18 | poll-interval = <20>; |
13 | poll-interval = <20>; |
|
19 | |
14 | |
|
Line 28... | Line 23... | |||
28 | gpios = <&gpio0 12 GPIO_ACTIVE_HIGH>; |
23 | gpios = <&gpio0 12 GPIO_ACTIVE_HIGH>; |
|
29 | linux,code = <KEY_WPS_BUTTON>; |
24 | linux,code = <KEY_WPS_BUTTON>; |
|
30 | }; |
25 | }; |
|
31 | }; |
26 | }; |
|
Line 32... | Line 27... | |||
32 | |
27 | |
|
33 | leds { |
28 | gpio-leds { |
|
Line 34... | Line 29... | |||
34 | compatible = "gpio-leds"; |
29 | compatible = "gpio-leds"; |
|
35 | |
30 | |
|
36 | eth { |
31 | eth { |
|
Line 51... | Line 46... | |||
51 | wlan { |
46 | wlan { |
|
52 | label = "asl26555:green:wlan"; |
47 | label = "asl26555:green:wlan"; |
|
53 | gpios = <&gpio0 7 GPIO_ACTIVE_HIGH>; |
48 | gpios = <&gpio0 7 GPIO_ACTIVE_HIGH>; |
|
54 | }; |
49 | }; |
|
Line 55... | Line 50... | |||
55 | |
50 | |
|
56 | led_power_green: power-green { |
51 | power-green { |
|
57 | label = "asl26555:green:power"; |
52 | label = "asl26555:green:power"; |
|
58 | gpios = <&gpio0 8 GPIO_ACTIVE_HIGH>; |
53 | gpios = <&gpio0 8 GPIO_ACTIVE_HIGH>; |
|
Line 59... | Line 54... | |||
59 | }; |
54 | }; |
|
Line 64... | Line 59... | |||
64 | }; |
59 | }; |
|
Line 65... | Line 60... | |||
65 | |
60 | |
|
66 | 3g-green { |
61 | 3g-green { |
|
67 | label = "asl26555:green:3g"; |
62 | label = "asl26555:green:3g"; |
|
68 | gpios = <&gpio0 14 GPIO_ACTIVE_LOW>; |
- | ||
69 | trigger-sources = <&otg_port1>; |
- | ||
70 | linux,default-trigger = "usbport"; |
63 | gpios = <&gpio0 14 GPIO_ACTIVE_LOW>; |
|
Line 71... | Line 64... | |||
71 | }; |
64 | }; |
|
72 | |
65 | |
|
73 | 3g-red { |
66 | 3g-red { |