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 = "buffalo,wsr-1166dhp", "mediatek,mt7621-soc"; 9 compatible = "buffalo,wsr-1166dhp", "mediatek,mt7621-soc";
Line 10... Line -...
10 model = "Buffalo WSR-1166DHP"; -  
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 = "Buffalo WSR-1166DHP";
18   11  
19 memory@0 { 12 memory@0 {
20 device_type = "memory"; 13 device_type = "memory";
Line 21... Line 14...
21 reg = <0x0 0x8000000>; 14 reg = <0x0 0x8000000>;
22 }; 15 };
23   16  
Line 24... Line 17...
24 chosen { 17 chosen {
25 bootargs = "console=ttyS0,57600"; 18 bootargs = "console=ttyS0,57600";
Line 26... Line 19...
26 }; 19 };
27   20  
28 leds { 21 gpio-leds {
Line 51... Line 44...
51 wifi_o { 44 wifi_o {
52 label = "wsr-1166:orange:wifi"; 45 label = "wsr-1166:orange:wifi";
53 gpios = <&gpio1 13 GPIO_ACTIVE_LOW>; 46 gpios = <&gpio1 13 GPIO_ACTIVE_LOW>;
54 }; 47 };
Line 55... Line 48...
55   48  
56 led_power: power { 49 power {
57 label = "wsr-1166:green:power"; 50 label = "wsr-1166:green:power";
58 gpios = <&gpio1 14 GPIO_ACTIVE_LOW>; 51 gpios = <&gpio1 14 GPIO_ACTIVE_LOW>;
Line 59... Line 52...
59 }; 52 };
Line 67... Line 60...
67 label = "wsr-1166:green:wifi"; 60 label = "wsr-1166:green:wifi";
68 gpios = <&gpio1 16 GPIO_ACTIVE_LOW>; 61 gpios = <&gpio1 16 GPIO_ACTIVE_LOW>;
69 }; 62 };
70 }; 63 };
Line 71... Line 64...
71   64  
72 keys { 65 gpio-keys-polled {
-   66 compatible = "gpio-keys-polled";
-   67 #address-cells = <1>;
73 compatible = "gpio-keys-polled"; 68 #size-cells = <0>;
Line 74... Line 69...
74 poll-interval = <20>; 69 poll-interval = <20>;
75   70  
76 power { 71 power {
Line 121... Line 116...
121   116  
122 &spi0 { 117 &spi0 {
Line 123... Line 118...
123 status = "okay"; 118 status = "okay";
-   119  
-   120 m25p80@0 {
124   121 #address-cells = <1>;
125 m25p80@0 { 122 #size-cells = <1>;
126 compatible = "jedec,spi-nor"; 123 compatible = "jedec,spi-nor";
-   124 reg = <0>;
-   125 spi-max-frequency = <10000000>;
-   126 m25p,chunked-io = <32>;
-   127  
-   128 partition@0 {
-   129 label = "u-boot";
-   130 reg = <0x0 0x30000>;
-   131 read-only;
-   132 };
-   133  
-   134 partition@30000 {
-   135 label = "u-boot-env";
-   136 reg = <0x30000 0x10000>;
Line 127... Line -...
127 reg = <0>; -  
128 spi-max-frequency = <10000000>; -  
129   -  
130 partitions { -  
131 compatible = "fixed-partitions"; -  
132 #address-cells = <1>; -  
133 #size-cells = <1>; -  
134   -  
135 partition@0 { -  
136 label = "u-boot"; -  
137 reg = <0x0 0x30000>; -  
138 read-only; -  
139 }; -  
140   -  
141 partition@30000 { -  
142 label = "u-boot-env"; -  
143 reg = <0x30000 0x10000>; -  
144 read-only; 137 read-only;
145 }; 138 };
146   139  
147 factory: partition@40000 { 140 factory: partition@40000 {
148 label = "factory"; 141 label = "factory";
149 reg = <0x40000 0x10000>; 142 reg = <0x40000 0x10000>;
150 read-only; 143 read-only;
151 }; -  
152   144 };
153 partition@50000 { 145  
154 compatible = "openwrt,trx"; 146 partition@50000 {
155 label = "firmware"; 147 label = "firmware";
156 reg = <0x50000 0xf90000>; 148 reg = <0x50000 0xf90000>;
157 }; 149 };
158   150  
159 partition@fe0000 { -  
160 label = "board_data"; 151 partition@fe0000 {
161 reg = <0xfe0000 0x20000>; 152 label = "board_data";
162 }; 153 reg = <0xfe0000 0x20000>;
Line 163... Line 154...
163 }; 154 };
Line 173... Line 164...
173 }; 164 };
174 }; 165 };
Line 175... Line 166...
175   166  
176 &pcie { 167 &pcie {
177 status = "okay"; -  
Line 178... Line 168...
178 }; 168 status = "okay";
179   169  
180 &pcie0 { 170 pcie0 {
-   171 mt76@0,0 {
181 mt76@0,0 { 172 reg = <0x0000 0 0 0 0>;
182 reg = <0x0000 0 0 0 0>; 173 device_type = "pci";
-   174 mediatek,mtd-eeprom = <&factory 0x8000>;
183 mediatek,mtd-eeprom = <&factory 0x8000>; 175 ieee80211-freq-limit = <5000000 6000000>;
184 ieee80211-freq-limit = <5000000 6000000>; -  
Line 185... Line 176...
185 }; 176 };
186 }; 177 };
187   178  
-   179 pcie1 {
188 &pcie1 { 180 mt76@1,0 {
-   181 reg = <0x0000 0 0 0 0>;
189 mt76@0,0 { 182 device_type = "pci";
190 reg = <0x0000 0 0 0 0>; 183 mediatek,mtd-eeprom = <&factory 0x0000>;
Line 191... Line 184...
191 mediatek,mtd-eeprom = <&factory 0x0000>; 184 };
192 }; 185 };