OpenWrt – Diff between revs 2 and 3

Subversion Repositories:
Rev:
Show entire fileIgnore whitespace
Rev 2 Rev 3
Line 9... Line 9...
9   9  
10 / { 10 / {
11 compatible = "netgear,ex3700", "ralink,mt7620a-soc"; 11 compatible = "netgear,ex3700", "ralink,mt7620a-soc";
Line 12... Line -...
12 model = "Netgear EX3700/EX3800"; -  
13   -  
14 aliases { -  
15 led-boot = &led_power_green; -  
16 led-failsafe = &led_power_green; -  
17 led-running = &led_power_green; -  
18 led-upgrade = &led_power_green; -  
19 }; 12 model = "Netgear EX3700/EX3800";
20   13  
21 chosen { 14 chosen {
Line 22... Line 15...
22 bootargs = "console=ttyS0,57600"; 15 bootargs = "console=ttyS0,57600";
23 }; 16 };
Line 24... Line 17...
24   17  
25 leds { 18 gpio-leds {
26 compatible = "gpio-leds"; 19 compatible = "gpio-leds";
27   20  
28 led_power_green: power_g { 21 power_g {
Line 29... Line 22...
29 label = "ex3700:green:power"; 22 label = "ex3700:green:power";
30 gpios = <&gpio2 23 GPIO_ACTIVE_LOW>; 23 gpios = <&gpio2 23 GPIO_ACTIVE_LOW>;
31 default-state = "on"; 24 default-state = "on";
-   25 };
32 }; 26  
Line 33... Line 27...
33   27 power_a {
34 power_a { 28 label = "ex3700:amber:power";
35 label = "ex3700:amber:power"; 29 gpios = <&gpio2 28 GPIO_ACTIVE_LOW>;
Line 60... Line 54...
60 label = "ex3700:green:wps"; 54 label = "ex3700:green:wps";
61 gpios = <&gpio2 27 GPIO_ACTIVE_LOW>; 55 gpios = <&gpio2 27 GPIO_ACTIVE_LOW>;
62 }; 56 };
63 }; 57 };
Line 64... Line 58...
64   58  
65 keys { 59 gpio-keys-polled {
-   60 compatible = "gpio-keys-polled";
-   61 #address-cells = <1>;
66 compatible = "gpio-keys-polled"; 62 #size-cells = <0>;
Line 67... Line 63...
67 poll-interval = <20>; 63 poll-interval = <20>;
68   64  
69 reset { 65 reset {
Line 90... Line 86...
90   86  
91 &spi0 { 87 &spi0 {
Line 92... Line 88...
92 status = "okay"; 88 status = "okay";
-   89  
-   90 m25p80@0 {
93   91 #address-cells = <1>;
94 m25p80@0 { 92 #size-cells = <1>;
95 compatible = "jedec,spi-nor"; 93 compatible = "jedec,spi-nor";
Line 96... Line -...
96 reg = <0>; -  
97 spi-max-frequency = <10000000>; -  
98   -  
99 partitions { -  
100 compatible = "fixed-partitions"; -  
101 #address-cells = <1>; 94 reg = <0>;
102 #size-cells = <1>; 95 spi-max-frequency = <10000000>;
103   96  
104 partition@0 { 97 partition@0 {
105 label = "u-boot"; 98 label = "u-boot";
106 reg = <0x0 0x30000>; 99 reg = <0x0 0x30000>;
107 read-only; 100 read-only;
108 }; 101 };
109   102  
110 partition@30000 { 103 partition@30000 {
111 label = "config"; 104 label = "config";
112 reg = <0x30000 0x10000>; 105 reg = <0x30000 0x10000>;
113 read-only; 106 read-only;
114 }; 107 };
115   108  
116 factory: partition@40000 { 109 factory: partition@40000 {
117 label = "factory"; 110 label = "factory";
118 reg = <0x40000 0x10000>; 111 reg = <0x40000 0x10000>;
119 read-only; 112 read-only;
120 }; -  
121   113 };
122 partition@50000 { 114  
123 compatible = "denx,uimage"; 115 partition@50000 {
124 label = "firmware"; 116 label = "firmware";
125 reg = <0x50000 0x790000>; 117 reg = <0x50000 0x790000>;
126 }; 118 };
127   119  
128 partition@7e0000 { 120 partition@7e0000 {
129 label = "board_data"; 121 label = "board_data";
130 reg = <0x7e0000 0x10000>; 122 reg = <0x7e0000 0x10000>;
131 read-only; 123 read-only;
132 }; 124 };
133   125  
134 partition@7f0000 { 126 partition@7f0000 {
135 label = "nvram"; -  
136 reg = <0x7f0000 0x10000>; 127 label = "nvram";
137 read-only; 128 reg = <0x7f0000 0x10000>;
138 }; 129 read-only;
Line 139... Line 130...
139 }; 130 };
140 }; 131 };
141 }; -  
Line 142... Line 132...
142   132 };
143 &pcie { 133  
144 status = "okay"; 134 &pcie {
-   135 status = "okay";
145 }; 136  
146   137 pcie-bridge {
-   138 mt76@0,0 {
147 &pcie0 { 139 reg = <0x0000 0 0 0 0 >;
148 mt76@0,0 { 140 device_type = "pci";
Line 149... Line 141...
149 reg = <0x0000 0 0 0 0 >; 141 mediatek,mtd-eeprom = <&factory 0x8000>;
150 mediatek,mtd-eeprom = <&factory 0x8000>; 142 ieee80211-freq-limit = <5000000 6000000>;