OpenWrt – Diff between revs 2 and 3

Subversion Repositories:
Rev:
Show entire fileIgnore whitespace
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 = "zbtlink,zbt-we826", "ralink,mt7620a-soc"; -  
8   -  
9 aliases { -  
10 led-boot = &led_power; -  
11 led-failsafe = &led_power; -  
12 led-running = &led_power; -  
13 led-upgrade = &led_power; -  
14 }; 7 compatible = "zbtlink,zbt-we826", "ralink,mt7620a-soc";
15   8  
16 chosen { 9 chosen {
Line 17... Line 10...
17 bootargs = "console=ttyS0,115200"; 10 bootargs = "console=ttyS0,115200";
18 }; 11 };
19   12  
20 leds { 13 gpio-leds {
21 compatible = "gpio-leds"; 14 compatible = "gpio-leds";
22 led_power: power { 15 power {
23 label = "zbt-we826:green:power"; 16 label = "zbt-we826:green:power";
24 gpios = <&gpio1 14 GPIO_ACTIVE_HIGH>; 17 gpios = <&gpio1 14 GPIO_ACTIVE_HIGH>;
25 }; 18 };
26 usb { -  
27 label = "zbt-we826:green:usb"; -  
28 gpios = <&gpio1 15 GPIO_ACTIVE_HIGH>; 19 usb {
29 trigger-sources = <&ohci_port1>, <&ehci_port1>; 20 label = "zbt-we826:green:usb";
30 linux,default-trigger = "usbport"; 21 gpios = <&gpio1 15 GPIO_ACTIVE_HIGH>;
31 }; 22 };
32 air { 23 air {
33 label = "zbt-we826:green:wifi"; 24 label = "zbt-we826:green:wifi";
Line 34... Line 25...
34 gpios = <&gpio3 0 GPIO_ACTIVE_LOW>; 25 gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
35 }; 26 };
-   27 };
-   28  
36 }; 29 gpio-keys-polled {
37   30 compatible = "gpio-keys-polled";
38 keys { 31 #address-cells = <1>;
39 compatible = "gpio-keys-polled"; 32 #size-cells = <0>;
40 poll-interval = <20>; 33 poll-interval = <20>;