OpenWrt – Diff between revs 2 and 3

Subversion Repositories:
Rev:
Show entire fileIgnore whitespace
Rev 2 Rev 3
Line 17... Line 17...
17   17  
18 / { 18 / {
19 compatible = "linksys,e1700", "ralink,mt7620a-soc"; 19 compatible = "linksys,e1700", "ralink,mt7620a-soc";
Line 20... Line 20...
20 model = "Linksys E1700"; 20 model = "Linksys E1700";
21   -  
22 aliases { -  
23 led-boot = &led_power; -  
24 led-failsafe = &led_power; -  
25 led-running = &led_power; -  
26 led-upgrade = &led_power; -  
27 }; -  
28   21  
-   22 gpio-keys-polled {
-   23 compatible = "gpio-keys-polled";
29 keys { 24 #address-cells = <1>;
Line 30... Line 25...
30 compatible = "gpio-keys-polled"; 25 #size-cells = <0>;
31 poll-interval = <20>; 26 poll-interval = <20>;
32   27  
Line 41... Line 36...
41 gpios = <&gpio0 2 GPIO_ACTIVE_HIGH>; 36 gpios = <&gpio0 2 GPIO_ACTIVE_HIGH>;
42 linux,code = <KEY_WPS_BUTTON>; 37 linux,code = <KEY_WPS_BUTTON>;
43 }; 38 };
44 }; 39 };
Line 45... Line 40...
45   40  
46 leds { 41 gpio-leds {
Line 47... Line 42...
47 compatible = "gpio-leds"; 42 compatible = "gpio-leds";
48   43  
49 led_power: power { 44 power {
50 label = "e1700:green:power"; 45 label = "e1700:green:power";
Line 51... Line 46...
51 gpios = <&gpio0 10 GPIO_ACTIVE_LOW>; 46 gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
Line 60... Line 55...
60   55  
61 &spi0 { 56 &spi0 {
Line 62... Line 57...
62 status = "okay"; 57 status = "okay";
-   58  
-   59 m25p80@0 {
63   60 #address-cells = <1>;
64 m25p80@0 { 61 #size-cells = <1>;
65 compatible = "jedec,spi-nor"; 62 compatible = "jedec,spi-nor";
Line 66... Line -...
66 reg = <0>; -  
67 spi-max-frequency = <10000000>; -  
68   -  
69 partitions { -  
70 compatible = "fixed-partitions"; -  
71 #address-cells = <1>; 63 reg = <0>;
72 #size-cells = <1>; 64 spi-max-frequency = <10000000>;
73   65  
74 partition@0 { 66 partition@0 {
75 label = "u-boot"; 67 label = "u-boot";
76 reg = <0x0 0x30000>; 68 reg = <0x0 0x30000>;
77 read-only; 69 read-only;
78 }; 70 };
79   71  
80 partition@30000 { 72 partition@30000 {
81 label = "config"; 73 label = "config";
82 reg = <0x30000 0x10000>; 74 reg = <0x30000 0x10000>;
83 read-only; 75 read-only;
84 }; 76 };
85   77  
86 factory: partition@40000 { 78 factory: partition@40000 {
87 label = "factory"; 79 label = "factory";
88 reg = <0x40000 0x10000>; 80 reg = <0x40000 0x10000>;
89 read-only; 81 read-only;
90 }; -  
91   82 };
92 partition@50000 { 83  
93 compatible = "denx,uimage"; -  
94 label = "firmware"; 84 partition@50000 {
95 reg = <0x50000 0x7b0000>; 85 label = "firmware";
96 }; 86 reg = <0x50000 0x7b0000>;
Line 97... Line 87...
97 }; 87 };
Line 154... Line 144...
154 }; 144 };
155 }; 145 };
Line 156... Line 146...
156   146  
157 &gsw { 147 &gsw {
-   148 mediatek,port4 = "gmac";
158 mediatek,port4 = "gmac"; 149 mediatek,mt7530 = <1>;
Line 159... Line 150...
159 }; 150 };
160   151  
161 &wmac { 152 &wmac {