OpenWrt – Diff between revs 2 and 3

Subversion Repositories:
Rev:
Show entire fileIgnore whitespace
Rev 2 Rev 3
Line 38... Line 38...
38 #include <dt-bindings/input/input.h> 38 #include <dt-bindings/input/input.h>
Line 39... Line 39...
39   39  
40 / { 40 / {
Line 41... Line -...
41 compatible = "unielec,u7628-01", "mediatek,mt7628an-soc"; -  
42   -  
43 aliases { -  
44 led-boot = &led_power; -  
45 led-failsafe = &led_power; -  
46 led-running = &led_power; -  
47 led-upgrade = &led_power; -  
48 }; 41 compatible = "unielec,u7628-01", "mediatek,mt7628an-soc";
49   42  
50 chosen { 43 chosen {
Line 51... Line 44...
51 bootargs = "console=ttyS0,115200"; 44 bootargs = "console=ttyS0,115200";
52 }; 45 };
-   46  
-   47 gpio-keys-polled {
53   48 compatible = "gpio-keys-polled";
54 keys { 49 #address-cells = <1>;
55 compatible = "gpio-keys-polled"; 50 #size-cells = <0>;
56 poll-interval = <20>; 51 poll-interval = <20>;
57 reset { 52 reset {
58 label = "reset"; 53 label = "reset";
59 gpios = <&gpio1 6 GPIO_ACTIVE_LOW>; 54 gpios = <&gpio1 6 GPIO_ACTIVE_LOW>;
Line 60... Line 55...
60 linux,code = <KEY_RESTART>; 55 linux,code = <KEY_RESTART>;
61 }; 56 };
Line 62... Line 57...
62 }; 57 };
63   58  
64 leds { 59 gpio-leds {
65 compatible = "gpio-leds"; 60 compatible = "gpio-leds";
Line 66... Line 61...
66   61  
Line 100... Line 95...
100 }; 95 };
Line 101... Line 96...
101   96  
102 usb { 97 usb {
103 label = "u7628-01:green:usb"; 98 label = "u7628-01:green:usb";
104 gpios = <&gpio1 5 GPIO_ACTIVE_LOW>; -  
105 trigger-sources = <&ohci_port1>, <&ehci_port1>; -  
106 linux,default-trigger = "usbport"; 99 gpios = <&gpio1 5 GPIO_ACTIVE_LOW>;
107 }; 100 };
108 }; 101 };
Line 109... Line 102...
109 }; 102 };