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-viva", "ralink,mt7620a-soc"; 9 compatible = "zyxel,keenetic-viva", "ralink,mt7620a-soc";
Line 10... Line -...
10 model = "ZyXEL Keenetic Viva"; -  
11   -  
12 aliases { -  
13 led-boot = &led_power_green; -  
14 led-failsafe = &led_power_green; -  
15 led-running = &led_power_green; -  
16 led-upgrade = &led_power_green; -  
17 }; 10 model = "ZyXEL Keenetic Viva";
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 = "kng_rc:green:wan"; 16 label = "kng_rc:green:wan";
24 gpios = <&gpio0 7 GPIO_ACTIVE_LOW>; 17 gpios = <&gpio0 7 GPIO_ACTIVE_LOW>;
25 }; 18 };
26   -  
27 usb { -  
28 label = "kng_rc:green:usb"; 19  
Line 29... Line 20...
29 gpios = <&gpio0 8 GPIO_ACTIVE_LOW>; 20 usb {
30 trigger-sources = <&ohci_port1>, <&ehci_port1>; 21 label = "kng_rc:green:usb";
31 linux,default-trigger = "usbport"; 22 gpios = <&gpio0 8 GPIO_ACTIVE_LOW>;
Line 39... Line 30...
39 wifi { 30 wifi {
40 label = "kng_rc:green:wifi"; 31 label = "kng_rc:green:wifi";
41 gpios = <&gpio0 11 GPIO_ACTIVE_LOW>; 32 gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
42 }; 33 };
Line 43... Line 34...
43   34  
44 led_power_green: power { 35 power {
45 label = "kng_rc:green:power"; 36 label = "kng_rc:green:power";
46 gpios = <&gpio0 14 GPIO_ACTIVE_LOW>; 37 gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
47 }; 38 };
Line 48... Line 39...
48 }; 39 };
49   40  
-   41 gpio-keys-polled {
-   42 compatible = "gpio-keys";
50 keys { 43 #address-cells = <1>;
Line 51... Line 44...
51 compatible = "gpio-keys"; 44 #size-cells = <0>;
52 poll-interval = <20>; 45 poll-interval = <20>;
53   46  
Line 83... Line 76...
83   76  
84 rtl8367rb { 77 rtl8367rb {
85 compatible = "realtek,rtl8367b"; 78 compatible = "realtek,rtl8367b";
86 cpu_port = <7>; 79 cpu_port = <7>;
87 realtek,extif2 = <1 0 1 1 1 1 1 1 2>; 80 realtek,extif2 = <1 0 1 1 1 1 1 1 2>;
88 mii-bus = <&mdio0>; 81 mdio = <&mdio0>;
89 }; 82 };
Line 90... Line 83...
90 }; 83 };
91   84  
Line 92... Line 85...
92 &spi0 { 85 &spi0 {
-   86 status = "okay";
-   87  
93 status = "okay"; 88 m25p80@0 {
94   89 #address-cells = <1>;
95 m25p80@0 { 90 #size-cells = <1>;
Line 96... Line -...
96 compatible = "jedec,spi-nor"; -  
97 reg = <0>; -  
98 spi-max-frequency = <10000000>; -  
99   -  
100 partitions { -  
101 compatible = "fixed-partitions"; 91 compatible = "jedec,spi-nor";
102 #address-cells = <1>; 92 reg = <0>;
103 #size-cells = <1>; 93 spi-max-frequency = <10000000>;
104   94  
105 partition@0 { 95 partition@0 {
106 label = "u-boot"; 96 label = "u-boot";
107 reg = <0x0 0x30000>; 97 reg = <0x0 0x30000>;
108 read-only; 98 read-only;
109 }; 99 };
110   100  
111 partition@30000 { 101 partition@30000 {
112 label = "u-boot-env"; 102 label = "u-boot-env";
113 reg = <0x30000 0x10000>; 103 reg = <0x30000 0x10000>;
114 read-only; 104 read-only;
115 }; 105 };
116   106  
117 factory: partition@40000 { 107 factory: partition@40000 {
118 label = "factory"; 108 label = "factory";
119 reg = <0x40000 0x10000>; 109 reg = <0x40000 0x10000>;
120 read-only; -  
121 }; 110 read-only;
122   111 };
123 partition@50000 { -  
124 compatible = "denx,uimage"; 112  
125 label = "firmware"; 113 partition@50000 {
126 reg = <0x50000 0xfb0000>; 114 label = "firmware";
Line 127... Line 115...
127 }; 115 reg = <0x50000 0xfb0000>;