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 = "netgear,wndr3700-v5", "mediatek,mt7621-soc"; 9 compatible = "netgear,wndr3700-v5", "mediatek,mt7621-soc";
Line 10... Line -...
10 model = "Netgear WNDR3700v5"; -  
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 = "Netgear WNDR3700v5";
18   11  
19 memory@0 { 12 memory@0 {
20 device_type = "memory"; 13 device_type = "memory";
Line 21... Line 14...
21 reg = <0x0 0x8000000>; 14 reg = <0x0 0x8000000>;
22 }; 15 };
23   16  
Line 24... Line 17...
24 chosen { 17 chosen {
25 bootargs = "console=ttyS0,57600 maxcpus=2"; 18 bootargs = "console=ttyS0,57600 maxcpus=2";
Line 26... Line 19...
26 }; 19 };
27   20  
28 leds { 21 gpio-leds {
29 compatible = "gpio-leds"; 22 compatible = "gpio-leds";
Line 30... Line 23...
30   23  
31 wps { 24 wps {
32 label = "wndr3700v5:green:wps"; 25 label = "wndr3700v5:green:wps";
33 gpios = <&gpio0 12 GPIO_ACTIVE_LOW>; 26 gpios = <&gpio0 12 GPIO_ACTIVE_LOW>;
34 }; 27 };
Line 35... Line 28...
35   28  
36 led_power: power { 29 power {
-   30 label = "wndr3700v5:green:power";
-   31 gpios = <&gpio0 18 GPIO_ACTIVE_LOW>;
37 label = "wndr3700v5:green:power"; 32 };
Line 38... Line 33...
38 gpios = <&gpio0 18 GPIO_ACTIVE_LOW>; 33 };
39 }; 34  
40 }; 35 gpio-keys-polled {
Line 76... Line 71...
76   71  
77 &spi0 { 72 &spi0 {
Line 78... Line 73...
78 status = "okay"; 73 status = "okay";
-   74  
-   75 mx25l12805d@0 {
79   76 #address-cells = <1>;
80 mx25l12805d@0 { 77 #size-cells = <1>;
81 compatible = "jedec,spi-nor"; 78 compatible = "jedec,spi-nor";
-   79 reg = <0>;
-   80 spi-max-frequency = <10000000>;
-   81 m25p,chunked-io = <32>;
-   82  
-   83 partition@0 {
-   84 label = "u-boot";
-   85 reg = <0x0 0x30000>;
-   86 read-only;
-   87 };
-   88  
-   89 partition@30000 {
-   90 label = "u-boot-env";
-   91 reg = <0x30000 0x10000>;
Line 82... Line -...
82 reg = <0>; -  
83 spi-max-frequency = <10000000>; -  
84   -  
85 partitions { -  
86 compatible = "fixed-partitions"; -  
87 #address-cells = <1>; -  
88 #size-cells = <1>; -  
89   -  
90 partition@0 { -  
91 label = "u-boot"; -  
92 reg = <0x0 0x30000>; -  
93 read-only; -  
94 }; -  
95   -  
96 partition@30000 { -  
97 label = "u-boot-env"; -  
98 reg = <0x30000 0x10000>; -  
99 read-only; 92 read-only;
100 }; 93 };
101   94  
102 factory: partition@f30000 { 95 factory: partition@f30000 {
103 label = "factory"; 96 label = "factory";
104 reg = <0xf30000 0x10000>; 97 reg = <0xf30000 0x10000>;
105 read-only; 98 read-only;
106 }; -  
107   99 };
108 partition@50000 { 100  
109 compatible = "denx,uimage"; -  
110 label = "firmware"; 101 partition@50000 {
111 reg = <0x50000 0xee0000>; 102 label = "firmware";
112 }; 103 reg = <0x50000 0xee0000>;
Line 113... Line 104...
113 }; 104 };
114 }; 105 };
115 }; -  
Line 116... Line 106...
116   106 };
117 &pcie { 107  
118 status = "okay"; 108 &pcie {
-   109 status = "okay";
119 }; 110  
120   111 pcie0 {
-   112 mt76@0,0 {
121 &pcie0 { 113 reg = <0x0000 0 0 0 0>;
122 mt76@0,0 { -  
Line 123... Line 114...
123 reg = <0x0000 0 0 0 0>; 114 device_type = "pci";
124 mediatek,mtd-eeprom = <&factory 0x8000>; 115 mediatek,mtd-eeprom = <&factory 0x8000>;
125 ieee80211-freq-limit = <5000000 6000000>; 116 ieee80211-freq-limit = <5000000 6000000>;
-   117 };
126 }; 118 };
-   119  
127 }; 120 pcie1 {
128   121 mt76@1,0 {
Line 129... Line 122...
129 &pcie1 { 122 reg = <0x0000 0 0 0 0>;
130 mt76@0,0 { 123 device_type = "pci";
131 reg = <0x0000 0 0 0 0>; 124 mediatek,mtd-eeprom = <&factory 0x0000>;
Line 132... Line 125...
132 mediatek,mtd-eeprom = <&factory 0x0000>; 125 };
133 }; 126 };
134 }; 127 };
135   128  
136 &ethernet { 129 &ethernet {
137 mtd-mac-address = <&factory 0x0000000c>; 130 mtd-mac-address = <&factory 0x0000000c>;
138 }; 131 };
139   132