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 = "tplink,mr200", "ralink,mt7620a-soc"; 9 compatible = "tplink,mr200", "ralink,mt7620a-soc";
Line 10... Line -...
10 model = "TP-Link Archer MR200"; -  
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 = "TP-Link Archer MR200";
18   11  
19 chosen { 12 chosen {
Line 20... Line 13...
20 bootargs = "console=ttyS0,115200"; 13 bootargs = "console=ttyS0,115200";
21 }; 14 };
Line 22... Line 15...
22   15  
23 leds { 16 gpio-leds {
24 compatible = "gpio-leds"; 17 compatible = "gpio-leds";
Line 31... Line 24...
31 wan { 24 wan {
32 label = "mr200:white:wan"; 25 label = "mr200:white:wan";
33 gpios = <&gpio0 8 GPIO_ACTIVE_LOW>; 26 gpios = <&gpio0 8 GPIO_ACTIVE_LOW>;
34 }; 27 };
Line 35... Line 28...
35   28  
36 led_power: power { 29 power {
37 label = "mr200:white:power"; 30 label = "mr200:white:power";
38 gpios = <&gpio0 12 GPIO_ACTIVE_LOW>; 31 gpios = <&gpio0 12 GPIO_ACTIVE_LOW>;
Line 39... Line 32...
39 }; 32 };
Line 72... Line 65...
72 label = "mr200:white:wlan"; 65 label = "mr200:white:wlan";
73 gpios = <&gpio3 0 GPIO_ACTIVE_LOW>; 66 gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
74 }; 67 };
75 }; 68 };
Line 76... Line 69...
76   69  
77 keys { 70 gpio-keys {
-   71 compatible = "gpio-keys";
-   72 #address-cells = <1>;
Line 78... Line 73...
78 compatible = "gpio-keys"; 73 #size-cells = <0>;
79   74  
80 reset { 75 reset {
81 label = "reset"; 76 label = "reset";
Line 98... Line 93...
98 gpio-export,name = "power_usb1"; 93 gpio-export,name = "power_usb1";
99 gpio-export,output = <1>; 94 gpio-export,output = <1>;
100 gpios = <&gpio0 11 GPIO_ACTIVE_HIGH>; 95 gpios = <&gpio0 11 GPIO_ACTIVE_HIGH>;
101 }; 96 };
102 }; 97 };
-   98  
103 }; 99 };
Line 104... Line 100...
104   100  
105 &gpio1 { 101 &gpio1 {
106 status = "okay"; 102 status = "okay";
Line 116... Line 112...
116   112  
117 &spi0 { 113 &spi0 {
Line 118... Line 114...
118 status = "okay"; 114 status = "okay";
-   115  
-   116 m25p80@0 {
119   117 #address-cells = <1>;
120 m25p80@0 { 118 #size-cells = <1>;
121 compatible = "jedec,spi-nor"; 119 compatible = "jedec,spi-nor";
Line 122... Line -...
122 reg = <0>; -  
123 spi-max-frequency = <10000000>; -  
124   -  
125 partitions { -  
126 compatible = "fixed-partitions"; -  
127 #address-cells = <1>; 120 reg = <0>;
128 #size-cells = <1>; 121 spi-max-frequency = <10000000>;
129   122  
130 partition@0 { 123 partition@0 {
131 label = "u-boot"; 124 label = "u-boot";
132 reg = <0x0 0x20000>; 125 reg = <0x0 0x20000>;
133 read-only; 126 read-only;
134 }; -  
135   127 };
136 partition@20000 { 128  
137 compatible = "tplink,firmware"; 129 partition@20000 {
138 label = "firmware"; 130 label = "firmware";
139 reg = <0x20000 0x7b0000>; 131 reg = <0x20000 0x7b0000>;
140 }; 132 };
141   133  
142 rom: partition@7d0000 { 134 rom: partition@7d0000 {
143 label = "rom"; 135 label = "rom";
144 reg = <0x7d0000 0x10000>; 136 reg = <0x7d0000 0x10000>;
145 read-only; 137 read-only;
146 }; 138 };
147   139  
148 partition@7e0000 { 140 partition@7e0000 {
149 label = "romfile"; 141 label = "romfile";
150 reg = <0x7e0000 0x10000>; 142 reg = <0x7e0000 0x10000>;
151 read-only; 143 read-only;
152 }; 144 };
153   145  
154 radio: partition@7f0000 { 146 radio: partition@7f0000 {
155 label = "radio"; -  
156 reg = <0x7f0000 0x10000>; 147 label = "radio";
157 read-only; 148 reg = <0x7f0000 0x10000>;
158 }; 149 read-only;
Line 159... Line 150...
159 }; 150 };
Line 190... Line 181...
190 ralink,mtd-eeprom = <&radio 0>; 181 ralink,mtd-eeprom = <&radio 0>;
191 }; 182 };
Line 192... Line 183...
192   183  
193 &pcie { 184 &pcie {
194 status = "okay"; -  
Line 195... Line 185...
195 }; 185 status = "okay";
196   186  
197 &pcie0 { 187 pcie-bridge {
-   188 mt76@0,0 {
198 mt76@0,0 { 189 reg = <0x0000 0 0 0 0>;
-   190 device_type = "pci";
199 reg = <0x0000 0 0 0 0>; 191 mediatek,mtd-eeprom = <&radio 32768>;
200 mediatek,mtd-eeprom = <&radio 32768>; 192 };