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 = "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";
82 reg = <0>; -  
83 spi-max-frequency = <10000000>; -  
84   -  
85 partitions { -  
86 compatible = "fixed-partitions"; 79 reg = <0>;
Line 87... Line 80...
87 #address-cells = <1>; 80 spi-max-frequency = <10000000>;
88 #size-cells = <1>; 81 m25p,chunked-io = <32>;
89   82  
90 partition@0 { 83 partition@0 {
Line 104... Line 97...
104 reg = <0xf30000 0x10000>; 97 reg = <0xf30000 0x10000>;
105 read-only; 98 read-only;
106 }; 99 };
Line 107... Line 100...
107   100  
108 partition@50000 { -  
109 compatible = "denx,uimage"; 101 partition@50000 {
110 label = "firmware"; 102 label = "firmware";
111 reg = <0x50000 0xee0000>; 103 reg = <0x50000 0xee0000>;
112 }; 104 };
113 }; 105 };
114 }; -  
Line 115... Line 106...
115 }; 106 };
116   107  
117 &pcie { -  
Line 118... Line 108...
118 status = "okay"; 108 &pcie {
119 }; 109 status = "okay";
120   110  
-   111 pcie0 {
121 &pcie0 { 112 mt76@0,0 {
122 mt76@0,0 { 113 reg = <0x0000 0 0 0 0>;
123 reg = <0x0000 0 0 0 0>; 114 device_type = "pci";
124 mediatek,mtd-eeprom = <&factory 0x8000>; 115 mediatek,mtd-eeprom = <&factory 0x8000>;
Line 125... Line 116...
125 ieee80211-freq-limit = <5000000 6000000>; 116 ieee80211-freq-limit = <5000000 6000000>;
126 }; 117 };
127 }; 118 };
-   119  
128   120 pcie1 {
129 &pcie1 { 121 mt76@1,0 {
130 mt76@0,0 { 122 reg = <0x0000 0 0 0 0>;
-   123 device_type = "pci";
Line 131... Line 124...
131 reg = <0x0000 0 0 0 0>; 124 mediatek,mtd-eeprom = <&factory 0x0000>;
132 mediatek,mtd-eeprom = <&factory 0x0000>; 125 };
133 }; 126 };