OpenWrt – Diff between revs 2 and 3

Subversion Repositories:
Rev:
Show entire fileRegard 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";
127 reg = <0>; -  
128 spi-max-frequency = <10000000>; -  
129   -  
130 partitions { -  
131 compatible = "fixed-partitions"; 124 reg = <0>;
Line 132... Line 125...
132 #address-cells = <1>; 125 spi-max-frequency = <10000000>;
133 #size-cells = <1>; 126 m25p,chunked-io = <32>;
134   127  
135 partition@0 { 128 partition@0 {
Line 149... Line 142...
149 reg = <0x40000 0x10000>; 142 reg = <0x40000 0x10000>;
150 read-only; 143 read-only;
151 }; 144 };
Line 152... Line 145...
152   145  
153 partition@50000 { -  
154 compatible = "denx,uimage"; 146 partition@50000 {
155 label = "firmware"; 147 label = "firmware";
156 reg = <0x50000 0xfb0000>; 148 reg = <0x50000 0xfb0000>;
157 }; 149 };
158 }; 150 };
159 }; -  
Line 160... Line 151...
160 }; 151 };
161   152  
162 &pinctrl { 153 &pinctrl {
163 state_default: pinctrl0 { 154 state_default: pinctrl0 {
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>;
177 reg = <0x0000 0 0 0 0>; 168 device_type = "pci";
178 ralink,mtd-eeprom = <&factory 0x8000>; 169 ralink,mtd-eeprom = <&factory 0x8000>;
Line 179... Line 170...
179 }; 170 };
180 }; 171 };
181   172  
-   173 pcie1 {
182 &pcie1 { 174 mt76@1,0 {
183 mt76@0,0 { 175 reg = <0x0000 0 0 0 0>;
184 reg = <0x0000 0 0 0 0>; 176 device_type = "pci";
-   177 mediatek,mtd-eeprom = <&factory 0x0000>;
Line 185... Line 178...
185 mediatek,mtd-eeprom = <&factory 0x0000>; 178 };
186 }; 179 };
187 }; 180 };