OpenWrt – Diff between revs 2 and 3

Subversion Repositories:
Rev:
Show entire fileIgnore whitespace
Rev 2 Rev 3
Line 15... Line 15...
15 memory@0 { 15 memory@0 {
16 device_type = "memory"; 16 device_type = "memory";
17 reg = <0x0 0x4000000>; 17 reg = <0x0 0x4000000>;
18 }; 18 };
Line 19... Line 19...
19   19  
20 keys { 20 gpio-keys-polled {
-   21 compatible = "gpio-keys-polled";
-   22 #address-cells = <1>;
21 compatible = "gpio-keys-polled"; 23 #size-cells = <0>;
Line 22... Line 24...
22 poll-interval = <20>; 24 poll-interval = <20>;
23   25  
24 reset { 26 reset {
Line 32... Line 34...
32 gpios = <&gpio1 6 GPIO_ACTIVE_LOW>; 34 gpios = <&gpio1 6 GPIO_ACTIVE_LOW>;
33 linux,code = <KEY_WPS_BUTTON>; 35 linux,code = <KEY_WPS_BUTTON>;
34 }; 36 };
35 }; 37 };
Line 36... Line 38...
36   38  
37 leds { 39 gpio-leds {
Line 38... Line 40...
38 compatible = "gpio-leds"; 40 compatible = "gpio-leds";
39   41  
40 wifi-high { 42 wifi-high {
Line 60... Line 62...
60 }; 62 };
Line 61... Line 63...
61   63  
62 &pinctrl { 64 &pinctrl {
63 state_default: pinctrl0 { 65 state_default: pinctrl0 {
64 gpio { 66 gpio {
65 ralink,group = "i2c", "wled_an", "gpio", "refclk", "wdt", "p0led_an"; 67 ralink,group = "i2c", "wled_an";
66 ralink,function = "gpio"; 68 ralink,function = "gpio";
67 }; 69 };
68 }; 70 };
Line 69... Line 71...
69 }; 71 };
70   72  
71 &pcie { -  
72 status = "okay"; -  
73 }; 73 &pcie {
74   74 status = "okay";
75 &pcie0 { 75 pcie-bridge {
-   76 mt76@0,0 {
76 mt76@0,0 { 77 reg = <0x0000 0 0 0 0>;
77 reg = <0x0000 0 0 0 0>; 78 device_type = "pci";
-   79 mediatek,mtd-eeprom = <&factory 0x8000>;
78 mediatek,mtd-eeprom = <&factory 0x8000>; 80 ieee80211-freq-limit = <5000000 6000000>;
79 ieee80211-freq-limit = <5000000 6000000>; 81 };
Line 80... Line 82...
80 }; 82 };
81 }; 83 };
Line 82... Line 84...
82   84  
-   85 &spi0 {
-   86 status = "okay";
83 &spi0 { 87  
84 status = "okay"; 88 m25p80@0 {
85   89 #address-cells = <1>;
-   90 #size-cells = <1>;
-   91 compatible = "jedec,spi-nor";
-   92 reg = <0>;
-   93 spi-max-frequency = <10000000>;
-   94 m25p,chunked-io = <32>;
-   95  
-   96 partition@0 {
-   97 label = "u-boot";
-   98 reg = <0x0 0x30000>;
-   99 read-only;
-   100 };
-   101  
-   102 partition@30000 {
-   103 label = "u-boot-env";
-   104 reg = <0x30000 0x10000>;
-   105 read-only;
-   106 };
-   107  
-   108 factory: partition@40000 {
Line 86... Line -...
86 flash@0 { -  
87 compatible = "jedec,spi-nor"; -  
88 reg = <0>; -  
89 spi-max-frequency = <10000000>; -  
90   -  
91 partitions { -  
92 compatible = "fixed-partitions"; -  
93 #address-cells = <1>; -  
94 #size-cells = <1>; -  
95   -  
96 partition@0 { -  
97 label = "u-boot"; -  
98 reg = <0x0 0x30000>; -  
99 read-only; -  
100 }; -  
101   -  
102 partition@30000 { -  
103 label = "u-boot-env"; -  
104 reg = <0x30000 0x10000>; -  
105 read-only; -  
106 }; -  
107   -  
108 factory: partition@40000 { -  
109 label = "factory"; 109 label = "factory";
110 reg = <0x40000 0x10000>; -  
111 read-only; 110 reg = <0x40000 0x10000>;
112 }; 111 read-only;
113   -  
114 partition@50000 { 112 };
115 compatible = "denx,uimage"; 113  
116 label = "firmware"; 114 partition@50000 {
Line 117... Line 115...
117 reg = <0x50000 0x7b0000>; 115 label = "firmware";
118 }; 116 reg = <0x50000 0x7b0000>;
-   117 };
119 }; 118 };
Line 120... Line 119...
120 }; 119 };
121 }; 120  
122   121 &wmac {
123 &wmac { 122 status = "okay";