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 = "zyxel,keenetic-omni-ii", "ralink,mt7620n-soc"; 9 compatible = "zyxel,keenetic-omni-ii", "ralink,mt7620n-soc";
Line 10... Line -...
10 model = "ZyXEL Keenetic Omni II"; -  
11   -  
12 aliases { -  
13 led-boot = &led_power; -  
14 led-failsafe = &led_power; -  
15 led-running = &led_power; -  
16 led-upgrade = &led_power; -  
17 }; 10 model = "ZyXEL Keenetic Omni II";
18   11  
Line 19... Line 12...
19 leds { 12 gpio-leds {
20 compatible = "gpio-leds"; 13 compatible = "gpio-leds";
21   14  
22 wan { 15 wan {
Line 23... Line 16...
23 label = "kn_rc:green:wan"; 16 label = "kn_rc:green:wan";
24 gpios = <&gpio1 14 GPIO_ACTIVE_LOW>; 17 gpios = <&gpio1 14 GPIO_ACTIVE_LOW>;
25 }; 18 };
26   -  
27 usb { -  
28 label = "kn_rc:green:usb"; 19  
Line 29... Line 20...
29 gpios = <&gpio0 20 GPIO_ACTIVE_LOW>; 20 usb {
30 trigger-sources = <&ohci_port1>, <&ehci_port1>; 21 label = "kn_rc:green:usb";
31 linux,default-trigger = "usbport"; 22 gpios = <&gpio0 20 GPIO_ACTIVE_LOW>;
32 }; 23 };
Line 33... Line 24...
33   24  
34 wifi { 25 wifi {
35 label = "kn_rc:green:wifi"; 26 label = "kn_rc:green:wifi";
36 gpios = <&gpio3 0 GPIO_ACTIVE_LOW>; 27 gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
37 }; 28 };
Line 38... Line 29...
38   29  
39 led_power: power { 30 power {
-   31 label = "kn_rc:green:power";
-   32 gpios = <&gpio1 15 GPIO_ACTIVE_LOW>;
40 label = "kn_rc:green:power"; 33 };
Line 41... Line 34...
41 gpios = <&gpio1 15 GPIO_ACTIVE_LOW>; 34 };
42 }; 35  
43 }; 36 gpio-keys-polled {
Line 87... Line 80...
87   80  
88 &spi0 { 81 &spi0 {
Line 89... Line 82...
89 status = "okay"; 82 status = "okay";
-   83  
-   84 m25p80@0 {
90   85 #address-cells = <1>;
91 m25p80@0 { 86 #size-cells = <1>;
92 compatible = "jedec,spi-nor"; 87 compatible = "jedec,spi-nor";
Line 93... Line -...
93 reg = <0>; -  
94 spi-max-frequency = <10000000>; -  
95   -  
96 partitions { -  
97 compatible = "fixed-partitions"; -  
98 #address-cells = <1>; 88 reg = <0>;
99 #size-cells = <1>; 89 spi-max-frequency = <10000000>;
100   90  
101 partition@0 { 91 partition@0 {
102 label = "u-boot"; 92 label = "u-boot";
103 reg = <0x0 0x30000>; 93 reg = <0x0 0x30000>;
104 read-only; 94 read-only;
105 }; 95 };
106   96  
107 partition@30000 { 97 partition@30000 {
108 label = "u-boot-env"; 98 label = "u-boot-env";
109 reg = <0x30000 0x10000>; 99 reg = <0x30000 0x10000>;
110 read-only; 100 read-only;
111 }; 101 };
112   102  
113 factory: partition@40000 { 103 factory: partition@40000 {
114 label = "factory"; 104 label = "factory";
115 reg = <0x40000 0x10000>; 105 reg = <0x40000 0x10000>;
116 read-only; 106 read-only;
117 }; -  
118   107 };
119 partition@50000 { 108  
120 compatible = "denx,uimage"; -  
121 label = "firmware"; 109 partition@50000 {
122 reg = <0x50000 0x7b0000>; 110 label = "firmware";
123 }; 111 reg = <0x50000 0x7b0000>;
Line 124... Line 112...
124 }; 112 };