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 = "7links,px-4885", "ralink,rt5350-soc"; -  
8   7 compatible = "7links,px-4885", "ralink,rt5350-soc";
9 aliases { -  
10 led-boot = &led_wifi; -  
11 led-failsafe = &led_wifi; -  
12 led-running = &led_wifi; -  
13 led-upgrade = &led_wifi; -  
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  
20 reset { 15 reset {
21 label = "reset"; 16 label = "reset";
22 gpios = <&gpio0 10 GPIO_ACTIVE_LOW>; 17 gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
Line 23... Line 18...
23 linux,code = <KEY_RESTART>; 18 linux,code = <KEY_RESTART>;
24 }; 19 };
Line 25... Line 20...
25 }; 20 };
26   21  
27 leds { 22 gpio-leds {
28 compatible = "gpio-leds"; 23 compatible = "gpio-leds";
Line 29... Line 24...
29   24  
30 led_wifi: wifi { 25 orange {
31 label = "px-4885:orange:wifi"; 26 label = "px-4885:orange:wifi";
32 gpios = <&gpio0 18 GPIO_ACTIVE_LOW>; -  
33 }; -  
34   27 gpios = <&gpio0 18 GPIO_ACTIVE_LOW>;
35 storage { 28 };
36 label = "px-4885:blue:storage"; 29  
Line 37... Line 30...
37 gpios = <&gpio0 19 GPIO_ACTIVE_LOW>; 30 blue {