OpenWrt – Diff between revs 2 and 3
?pathlinks?
Rev 2 | Rev 3 | |||
---|---|---|---|---|
Line 7... | Line 7... | |||
7 | |
7 | |
|
8 | / { |
8 | / { |
|
9 | compatible = "tplink,tl-wr842n-v5", "mediatek,mt7628an-soc"; |
9 | compatible = "tplink,tl-wr842n-v5", "mediatek,mt7628an-soc"; |
|
Line 10... | Line 10... | |||
10 | model = "TP-Link TL-WR842N v5"; |
10 | model = "TP-Link TL-WR842N v5"; |
|
11 | |
- | ||
12 | aliases { |
- | ||
13 | led-boot = &led_power; |
- | ||
14 | led-failsafe = &led_power; |
- | ||
15 | led-running = &led_power; |
- | ||
16 | led-upgrade = &led_power; |
- | ||
17 | }; |
- | ||
18 | |
11 | |
|
- | 12 | gpio-keys-polled { |
||
- | 13 | compatible = "gpio-keys-polled"; |
||
19 | keys { |
14 | #address-cells = <1>; |
|
Line 20... | Line 15... | |||
20 | compatible = "gpio-keys-polled"; |
15 | #size-cells = <0>; |
|
21 | poll-interval = <20>; |
16 | poll-interval = <20>; |
|
22 | |
17 | |
|
Line 31... | Line 26... | |||
31 | gpios = <&gpio1 6 GPIO_ACTIVE_LOW>; |
26 | gpios = <&gpio1 6 GPIO_ACTIVE_LOW>; |
|
32 | linux,code = <KEY_RFKILL>; |
27 | linux,code = <KEY_RFKILL>; |
|
33 | }; |
28 | }; |
|
34 | }; |
29 | }; |
|
Line 35... | Line 30... | |||
35 | |
30 | |
|
36 | leds { |
31 | gpio-leds { |
|
Line 37... | Line 32... | |||
37 | compatible = "gpio-leds"; |
32 | compatible = "gpio-leds"; |
|
38 | |
33 | |
|
39 | lan { |
34 | lan { |
|
40 | label = "tl-wr842n-v5:green:lan"; |
35 | label = "tl-wr842n-v5:green:lan"; |
|
Line 41... | Line 36... | |||
41 | gpios = <&gpio1 9 GPIO_ACTIVE_LOW>; |
36 | gpios = <&gpio1 9 GPIO_ACTIVE_LOW>; |
|
42 | }; |
37 | }; |
|
43 | |
38 | |
|
44 | led_power: power { |
39 | power { |
|
Line 45... | Line 40... | |||
45 | label = "tl-wr842n-v5:green:power"; |
40 | label = "tl-wr842n-v5:green:power"; |
|
46 | gpios = <&gpio0 2 GPIO_ACTIVE_LOW>; |
41 | gpios = <&gpio0 2 GPIO_ACTIVE_LOW>; |
|
47 | }; |
42 | }; |
|
48 | |
- | ||
49 | usb { |
- | ||
50 | label = "tl-wr842n-v5:green:usb"; |
43 | |
|
Line 51... | Line 44... | |||
51 | gpios = <&gpio0 3 GPIO_ACTIVE_LOW>; |
44 | usb { |
|
52 | trigger-sources = <&ohci_port1>, <&ehci_port1>; |
45 | label = "tl-wr842n-v5:green:usb"; |
|
53 | linux,default-trigger = "usbport"; |
46 | gpios = <&gpio0 3 GPIO_ACTIVE_LOW>; |