OpenWrt – Diff between revs 2 and 3

Subversion Repositories:
Rev:
Show entire fileIgnore whitespace
Rev 2 Rev 3
Line 39... Line 39...
39   39  
40 / { 40 / {
41 compatible = "alfa-network,ac1200rm", "ralink,mt7620a-soc"; 41 compatible = "alfa-network,ac1200rm", "ralink,mt7620a-soc";
Line 42... Line -...
42 model = "ALFA Network AC1200RM"; -  
43   -  
44 aliases { -  
45 led-boot = &led_wps; -  
46 led-failsafe = &led_wps; -  
47 }; 42 model = "ALFA Network AC1200RM";
48   43  
49 chosen { 44 chosen {
Line 50... Line 45...
50 bootargs = "console=ttyS0,115200"; 45 bootargs = "console=ttyS0,115200";
51 }; 46 };
-   47  
-   48 gpio-keys-polled {
52   49 compatible = "gpio-keys-polled";
Line 53... Line 50...
53 keys { 50 #address-cells = <1>;
54 compatible = "gpio-keys-polled"; 51 #size-cells = <0>;
55 poll-interval = <20>; 52 poll-interval = <20>;
56   53  
57 reset { 54 reset {
58 label = "reset"; 55 label = "reset";
Line 59... Line 56...
59 gpios = <&gpio2 15 GPIO_ACTIVE_LOW>; 56 gpios = <&gpio2 15 GPIO_ACTIVE_LOW>;
60 linux,code = <KEY_RESTART>; 57 linux,code = <KEY_RESTART>;
Line 61... Line 58...
61 }; 58 };
62 }; 59 };
63   60  
64 leds { 61 gpio-leds {
Line 65... Line 62...
65 compatible = "gpio-leds"; 62 compatible = "gpio-leds";
66   63  
67 wlan2g { 64 wlan2g {
68 label = "ac1200rm:green:wlan2g"; 65 label = "ac1200rm:green:wlan2g";
69 gpios = <&gpio3 0 GPIO_ACTIVE_LOW>; 66 gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
70 }; 67 };
Line 107... Line 104...
107 status = "okay"; 104 status = "okay";
108 }; 105 };
Line 109... Line 106...
109   106  
110 &pcie { 107 &pcie {
111 status = "okay"; -  
Line 112... Line 108...
112 }; 108 status = "okay";
113   109  
114 &pcie0 { 110 pcie-bridge {
-   111 mt76@0,0 {
115 mt76@0,0 { 112 reg = <0x0000 0 0 0 0>;
116 reg = <0x0000 0 0 0 0>; 113 device_type = "pci";
117 mediatek,mtd-eeprom = <&factory 0x8000>; 114 mediatek,mtd-eeprom = <&factory 0x8000>;
118 ieee80211-freq-limit = <5000000 6000000>; 115 ieee80211-freq-limit = <5000000 6000000>;
119   116  
120 led { 117 led {
-   118 led-sources = <2>;
121 led-sources = <2>; 119 led-active-low;
122 led-active-low; 120 };
123 }; 121 };
Line 124... Line 122...
124 }; 122 };
Line 135... Line 133...
135   133  
136 &spi0 { 134 &spi0 {
Line 137... Line 135...
137 status = "okay"; 135 status = "okay";
-   136  
-   137 m25p80@0 {
138   138 #address-cells = <1>;
139 m25p80@0 { 139 #size-cells = <1>;
140 compatible = "jedec,spi-nor"; 140 compatible = "jedec,spi-nor";
Line 141... Line -...
141 reg = <0>; -  
142 spi-max-frequency = <10000000>; -  
143   -  
144 partitions { -  
145 compatible = "fixed-partitions"; -  
146 #address-cells = <1>; 141 reg = <0>;
147 #size-cells = <1>; 142 spi-max-frequency = <10000000>;
148   143  
149 partition@0 { 144 partition@0 {
150 label = "u-boot"; 145 label = "u-boot";
Line 151... Line 146...
151 reg = <0x0 0x30000>; 146 reg = <0x0 0x30000>;
152 read-only; 147 read-only;
153 }; 148 };
154   149  
Line 155... Line 150...
155 partition@30000 { 150 partition@30000 {
156 label = "u-boot-env"; 151 label = "u-boot-env";
157 reg = <0x30000 0x1000>; 152 reg = <0x30000 0x1000>;
158 }; 153 };
159   154  
Line 160... Line 155...
160 partition@31000 { 155 partition@031000 {
161 label = "config"; 156 label = "config";
162 reg = <0x31000 0xf000>; 157 reg = <0x31000 0xf000>;
163 read-only; 158 read-only;
164 }; 159 };
Line 165... Line 160...
165   160  
166 factory: partition@40000 { -  
167 label = "factory"; 161 factory: partition@40000 {
168 reg = <0x40000 0x10000>; 162 label = "factory";
169 read-only; -  
170 }; 163 reg = <0x40000 0x10000>;
171   164 read-only;
172 partition@50000 { 165 };
Line 173... Line 166...
173 compatible = "denx,uimage"; 166