OpenWrt – Diff between revs 2 and 3

Subversion Repositories:
Rev:
Show entire fileIgnore whitespace
Rev 2 Rev 3
Line 46... Line 46...
46 }; 46 };
Line 47... Line 47...
47   47  
48 spi1: spi@f8008000 { 48 spi1: spi@f8008000 {
Line 49... Line 49...
49 status = "okay"; 49 status = "okay";
50   50  
51 spidev@0 { 51 spidev@0 {
52 compatible = "spidev"; 52 compatible = "spidev";
53 reg = <0>; 53 reg = <0>;
54 spi-max-frequency = <8000000>; 54 spi-max-frequency = <8000000>;
Line 55... Line 55...
55 }; 55 };
56 }; 56 };
57   57  
Line 69... Line 69...
69 }; 69 };
Line 70... Line 70...
70   70  
71 usb2: ehci@00700000 { 71 usb2: ehci@00700000 {
72 status = "okay"; 72 status = "okay";
-   73 };
73 }; 74  
Line 74... Line 75...
74 }; 75 };
75   76  
76 keys { 77 gpio_keys {
77 compatible = "gpio-keys"; 78 compatible = "gpio-keys";
78 #address-cells = <1>; 79 #address-cells = <1>;
79 #size-cells = <0>; 80 #size-cells = <0>;
Line 90... Line 91...
90 gpios = <&pioE 31 GPIO_ACTIVE_LOW>; 91 gpios = <&pioE 31 GPIO_ACTIVE_LOW>;
91 gpio-key,wakeup = <1>; 92 gpio-key,wakeup = <1>;
92 }; 93 };
93 }; 94 };
Line 94... Line 95...
94   95  
95 leds { 96 leds {
96 compatible = "gpio-leds"; -  
97   -  
98 led0 { -  
99 label = "wb50n:blue:led0"; -  
100 gpios = <&pioA 12 GPIO_ACTIVE_LOW>; -  
Line -... Line 97...
-   97 compatible = "gpio-leds";
-   98  
-   99 led0 {
-   100 label = "wb50n:blue:led0";
-   101 gpios = <&pioA 12 GPIO_ACTIVE_LOW>;
-   102 default-state = "off";
101 }; 103 };
102   104  
103 led1 { 105 led1 {
-   106 label = "wb50n:green:led1";
104 label = "wb50n:green:led1"; 107 gpios = <&pioA 24 GPIO_ACTIVE_LOW>;
105 gpios = <&pioA 24 GPIO_ACTIVE_LOW>; 108 default-state = "off";
106 }; 109 };
107   110  
108 led2 { 111 led2 {
-   112 label = "wb50n:red:led2";
109 label = "wb50n:red:led2"; 113 gpios = <&pioA 26 GPIO_ACTIVE_LOW>;
110 gpios = <&pioA 26 GPIO_ACTIVE_LOW>; 114 default-state = "off";
111 }; 115 };