OpenWrt – Diff between revs 2 and 3

Subversion Repositories:
Rev:
Show entire fileIgnore whitespace
Rev 2 Rev 3
Line 2... Line 2...
2 #address-cells = <1>; 2 #address-cells = <1>;
3 #size-cells = <1>; 3 #size-cells = <1>;
4 compatible = "ralink,rt3352-soc"; 4 compatible = "ralink,rt3352-soc";
Line 5... Line 5...
5   5  
6 cpus { -  
7 #address-cells = <1>; -  
8 #size-cells = <0>; -  
9   6 cpus {
10 cpu@0 { 7 cpu@0 {
11 compatible = "mips,mips24KEc"; -  
12 reg = <0>; 8 compatible = "mips,mips24KEc";
13 }; 9 };
Line 14... Line 10...
14 }; 10 };
15   11  
16 chosen { 12 chosen {
Line 17... Line 13...
17 bootargs = "console=ttyS0,57600"; 13 bootargs = "console=ttyS0,57600";
18 }; 14 };
19   15  
20 cpuintc: cpuintc { 16 cpuintc: cpuintc@0 {
21 #address-cells = <0>; 17 #address-cells = <0>;
22 #interrupt-cells = <1>; 18 #interrupt-cells = <1>;
Line 105... Line 101...
105   101  
106 gpio-controller; 102 gpio-controller;
Line 107... Line 103...
107 #gpio-cells = <2>; 103 #gpio-cells = <2>;
108   104  
109 ralink,gpio-base = <0>; 105 ralink,gpio-base = <0>;
110 ralink,nr-gpio = <24>; 106 ralink,num-gpios = <24>;
111 ralink,register-map = [ 00 04 08 0c 107 ralink,register-map = [ 00 04 08 0c
112 20 24 28 2c 108 20 24 28 2c
113 30 34 ]; 109 30 34 ];
Line 124... Line 120...
124   120  
125 gpio-controller; 121 gpio-controller;
Line 126... Line 122...
126 #gpio-cells = <2>; 122 #gpio-cells = <2>;
127   123  
128 ralink,gpio-base = <24>; 124 ralink,gpio-base = <24>;
129 ralink,nr-gpio = <16>; 125 ralink,num-gpios = <16>;
130 ralink,register-map = [ 00 04 08 0c 126 ralink,register-map = [ 00 04 08 0c
Line 131... Line 127...
131 10 14 18 1c 127 10 14 18 1c
Line 140... Line 136...
140   136  
141 gpio-controller; 137 gpio-controller;
Line 142... Line 138...
142 #gpio-cells = <2>; 138 #gpio-cells = <2>;
143   139  
144 ralink,gpio-base = <40>; 140 ralink,gpio-base = <40>;
145 ralink,nr-gpio = <6>; 141 ralink,num-gpios = <6>;
146 ralink,register-map = [ 00 04 08 0c 142 ralink,register-map = [ 00 04 08 0c
Line 147... Line 143...
147 10 14 18 1c 143 10 14 18 1c
Line 257... Line 253...
257 pinctrl-0 = <&state_default>; 253 pinctrl-0 = <&state_default>;
Line 258... Line 254...
258   254  
259 state_default: pinctrl0 { 255 state_default: pinctrl0 {
Line 260... Line 256...
260 }; 256 };
261   257  
262 i2c_pins: i2c_pins { 258 i2c_pins: i2c {
263 i2c_pins { 259 i2c {
264 ralink,group = "i2c"; 260 ralink,group = "i2c";
265 ralink,function = "i2c"; 261 ralink,function = "i2c";
Line 278... Line 274...
278 ralink,group = "rgmii"; 274 ralink,group = "rgmii";
279 ralink,function = "rgmii"; 275 ralink,function = "rgmii";
280 }; 276 };
281 }; 277 };
Line 282... Line 278...
282   278  
283 spi_pins: spi_pins { 279 spi_pins: spi {
284 spi_pins { 280 spi {
285 ralink,group = "spi"; 281 ralink,group = "spi";
286 ralink,function = "spi"; 282 ralink,function = "spi";
287 }; 283 };
Line 356... Line 352...
356   352  
357 ralink,eeprom = "soc_wmac.eeprom"; 353 ralink,eeprom = "soc_wmac.eeprom";
Line 358... Line 354...
358 }; 354 };
359   -  
360 ehci: ehci@101c0000 { -  
361 #address-cells = <1>; 355  
362 #size-cells = <0>; 356 ehci: ehci@101c0000 {
Line 363... Line 357...
363 compatible = "generic-ehci"; 357 compatible = "generic-ehci";
364 reg = <0x101c0000 0x1000>; 358 reg = <0x101c0000 0x1000>;
Line 365... Line 359...
365   359  
366 phys = <&usbphy>; 360 phys = <&usbphy>;
Line 367... Line 361...
367 phy-names = "usb"; 361 phy-names = "usb";
368   -  
369 interrupt-parent = <&intc>; -  
370 interrupts = <18>; -  
371   -  
372 status = "disabled"; -  
373   362  
Line 374... Line 363...
374 ehci_port1: port@1 { 363 interrupt-parent = <&intc>;
375 reg = <1>; -  
376 #trigger-source-cells = <0>; -  
377 }; 364 interrupts = <18>;
378 }; 365  
Line 379... Line 366...
379   366 status = "disabled";
380 ohci: ohci@101c1000 { 367 };
Line 381... Line 368...
381 #address-cells = <1>; 368  
382 #size-cells = <0>; 369 ohci: ohci@101c1000 {
Line 383... Line 370...
383 compatible = "generic-ohci"; 370 compatible = "generic-ohci";
384 reg = <0x101c1000 0x1000>; -  
385   -  
386 phys = <&usbphy>; -  
387 phy-names = "usb"; -  
388   -  
389 interrupt-parent = <&intc>; 371 reg = <0x101c1000 0x1000>;
390 interrupts = <18>; 372