OpenWrt – Diff between revs 2 and 3

Subversion Repositories:
Rev:
Show entire fileIgnore whitespace
Rev 2 Rev 3
Line 7... Line 7...
7   7  
8 / { 8 / {
9 compatible = "tplink,tl-wr840n-v4", "mediatek,mt7628an-soc"; 9 compatible = "tplink,tl-wr840n-v4", "mediatek,mt7628an-soc";
Line 10... Line 10...
10 model = "TP-Link TL-WR840N v4"; 10 model = "TP-Link TL-WR840N v4";
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  
23 reset { 18 reset {
24 label = "reset"; 19 label = "reset";
25 gpios = <&gpio1 6 GPIO_ACTIVE_LOW>; 20 gpios = <&gpio1 6 GPIO_ACTIVE_LOW>;
Line 26... Line 21...
26 linux,code = <KEY_RESTART>; 21 linux,code = <KEY_RESTART>;
27 }; 22 };
Line 28... Line 23...
28 }; 23 };
29   24  
30 leds { 25 gpio-leds {
31 compatible = "gpio-leds"; 26 compatible = "gpio-leds";
Line 32... Line 27...
32   27  
33 lan { 28 lan {
34 label = "tl-wr840n-v4:green:lan"; 29 label = "tl-wr840n-v4:green:lan";
35 gpios = <&gpio1 9 GPIO_ACTIVE_LOW>; 30 gpios = <&gpio1 9 GPIO_ACTIVE_LOW>;
Line 36... Line 31...
36 }; 31 };