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-600dhp", "mediatek,mt7621-soc"; 9 compatible = "buffalo,wsr-600dhp", "mediatek,mt7621-soc";
Line 10... Line -...
10 model = "Buffalo WSR-600DHP"; -  
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-600DHP";
18   11  
19 memory@0 { 12 memory@0 {
20 device_type = "memory"; 13 device_type = "memory";
Line 21... Line 14...
21 reg = <0x0 0x4000000>; 14 reg = <0x0 0x4000000>;
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 {
29 compatible = "gpio-leds"; 22 compatible = "gpio-leds";
Line 30... Line 23...
30   23  
Line 67... Line 60...
67 label = "wsr-600:green:internet"; 60 label = "wsr-600:green:internet";
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 = "denx,uimage"; -  
155 label = "firmware"; 146 partition@50000 {
156 reg = <0x50000 0xfb0000>; 147 label = "firmware";
157 }; 148 reg = <0x50000 0xfb0000>;
Line 158... Line 149...
158 }; 149 };
Line 168... Line 159...
168 }; 159 };
169 }; 160 };
Line 170... Line 161...
170   161  
171 &pcie { 162 &pcie {
172 status = "okay"; -  
Line 173... Line 163...
173 }; 163 status = "okay";
174   164  
175 &pcie0 { 165 pcie0 {
-   166 rt5592@0,0 {
176 rt5592@0,0 { 167 reg = <0x0000 0 0 0 0>;
-   168 device_type = "pci";
177 reg = <0x0000 0 0 0 0>; 169 ralink,mtd-eeprom = <&factory 0x8000>;
178 ralink,mtd-eeprom = <&factory 0x8000>; -  
Line 179... Line 170...
179 }; 170 };
180 }; 171 };
181   172  
-   173 pcie1 {
182 &pcie1 { 174 mt76@1,0 {
-   175 reg = <0x0000 0 0 0 0>;
183 mt76@0,0 { 176 device_type = "pci";
184 reg = <0x0000 0 0 0 0>; 177 mediatek,mtd-eeprom = <&factory 0x0000>;
Line 185... Line 178...
185 mediatek,mtd-eeprom = <&factory 0x0000>; 178 };
186 }; 179 };