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 = "tplink,c50", "ralink,mt7620a-soc"; 9 compatible = "tplink,c50", "ralink,mt7620a-soc";
Line 10... Line -...
10 model = "TP-Link Archer C50"; -  
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 C50";
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";
25   18  
Line 26... Line 19...
26 lan { 19 lan {
27 label = "c50:green:lan"; 20 label = "c50:green:lan";
28 gpios = <&gpio0 1 GPIO_ACTIVE_LOW>; 21 gpios = <&gpio0 1 GPIO_ACTIVE_LOW>;
29 }; 22 };
30   23  
Line 31... Line 24...
31 led_power: power { 24 power {
32 label = "c50:green:power"; 25 label = "c50:green:power";
33 gpios = <&gpio0 7 GPIO_ACTIVE_LOW>; 26 gpios = <&gpio0 7 GPIO_ACTIVE_LOW>;
34 default-state = "on"; -  
35 }; -  
36   27 default-state = "on";
Line 37... Line 28...
37 usb { 28 };
38 label = "c50:green:usb"; 29  
39 gpios = <&gpio0 9 GPIO_ACTIVE_LOW>; 30 usb {
Line 65... Line 56...
65 label = "c50:green:wps"; 56 label = "c50:green:wps";
66 gpios = <&gpio1 15 GPIO_ACTIVE_LOW>; 57 gpios = <&gpio1 15 GPIO_ACTIVE_LOW>;
67 }; 58 };
68 }; 59 };
Line 69... Line 60...
69   60  
70 keys { 61 gpio-keys-polled {
-   62 compatible = "gpio-keys-polled";
-   63 #address-cells = <1>;
71 compatible = "gpio-keys-polled"; 64 #size-cells = <0>;
Line 72... Line 65...
72 poll-interval = <20>; 65 poll-interval = <20>;
73   66  
74 reset { 67 reset {
Line 98... Line 91...
98   91  
99 &spi0 { 92 &spi0 {
Line 100... Line 93...
100 status = "okay"; 93 status = "okay";
-   94  
-   95 m25p80@0 {
101   96 #address-cells = <1>;
102 m25p80@0 { 97 #size-cells = <1>;
103 compatible = "jedec,spi-nor"; 98 compatible = "jedec,spi-nor";
Line 104... Line -...
104 reg = <0>; -  
105 spi-max-frequency = <10000000>; -  
106   -  
107 partitions { -  
108 compatible = "fixed-partitions"; -  
109 #address-cells = <1>; 99 reg = <0>;
110 #size-cells = <1>; 100 spi-max-frequency = <10000000>;
111   101  
112 partition@0 { 102 partition@0 {
113 label = "u-boot"; 103 label = "u-boot";
Line 114... Line 104...
114 reg = <0x0 0x20000>; 104 reg = <0x0 0x20000>;
115 read-only; -  
116 }; 105 read-only;
117   106 };
118 partition@20000 { 107  
Line 119... Line 108...
119 compatible = "tplink,firmware"; 108 partition@20000 {
Line 144... Line 133...
144 reg = <0x7f0000 0x10000>; 133 reg = <0x7f0000 0x10000>;
145 read-only; 134 read-only;
146 }; 135 };
147 }; 136 };
148 }; 137 };
149 }; -  
Line 150... Line 138...
150   138  
151 &pinctrl { 139 &pinctrl {
152 state_default: pinctrl0 { 140 state_default: pinctrl0 {
153 gpio { 141 gpio {
Line 183... Line 171...
183 pinctrl-0 = <&pa_pins>; 171 pinctrl-0 = <&pa_pins>;
184 }; 172 };
Line 185... Line 173...
185   173  
186 &pcie { 174 &pcie {
187 status = "okay"; -  
Line 188... Line 175...
188 }; 175 status = "okay";
189   176  
190 &pcie0 { 177 pcie-bridge {
-   178 mt76@0,0 {
191 mt76@0,0 { 179 reg = <0x0000 0 0 0 0>;
192 reg = <0x0000 0 0 0 0>; 180 device_type = "pci";
193 mediatek,mtd-eeprom = <&radio 32768>; 181 mediatek,mtd-eeprom = <&radio 32768>;
194 ieee80211-freq-limit = <5000000 6000000>; 182 ieee80211-freq-limit = <5000000 6000000>;
195 mtd-mac-address = <&rom 0xf100>; 183 mtd-mac-address = <&rom 0xf100>;
196 mtd-mac-address-increment = <(-1)>; 184 mtd-mac-address-increment = <(-1)>;
-   185 };