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,r6220", "mediatek,mt7621-soc"; 9 compatible = "netgear,r6220", "mediatek,mt7621-soc";
Line 10... Line -...
10 model = "Netgear R6220"; -  
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 R6220";
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"; 18 bootargs = "console=ttyS0,57600";
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 led_power: power { 24 power {
32 label = "r6220:green:power"; 25 label = "r6220:green:power";
33 gpios = <&gpio0 18 GPIO_ACTIVE_LOW>; -  
34 }; -  
35   26 gpios = <&gpio0 18 GPIO_ACTIVE_LOW>;
Line 36... Line 27...
36 usb { 27 };
37 label = "r6220:green:usb"; 28  
38 gpios = <&gpio0 15 GPIO_ACTIVE_LOW>; 29 usb {
Line 54... Line 45...
54 label = "r6220:green:wps"; 45 label = "r6220:green:wps";
55 gpios = <&gpio0 12 GPIO_ACTIVE_LOW>; 46 gpios = <&gpio0 12 GPIO_ACTIVE_LOW>;
56 }; 47 };
57 }; 48 };
Line 58... Line 49...
58   49  
59 keys { 50 gpio-keys-polled {
-   51 compatible = "gpio-keys-polled";
-   52 #address-cells = <1>;
60 compatible = "gpio-keys-polled"; 53 #size-cells = <0>;
Line 61... Line 54...
61 poll-interval = <20>; 54 poll-interval = <20>;
62   55  
63 wps { 56 wps {
Line 92... Line 85...
92 }; 85 };
Line 93... Line 86...
93   86  
94 &nand { 87 &nand {
Line 95... Line -...
95 status = "okay"; -  
96   -  
97 partitions { -  
98 compatible = "fixed-partitions"; -  
99 #address-cells = <1>; -  
100 #size-cells = <1>; 88 status = "okay";
101   89  
102 partition@0 { 90 partition@0 {
103 label = "u-boot"; 91 label = "u-boot";
104 reg = <0x0 0x100000>; 92 reg = <0x0 0x100000>;
Line 105... Line 93...
105 read-only; 93 read-only;
106 }; 94 };
107   95  
108 partition@100000 { 96 partition@100000 {
109 label = "SC PID"; 97 label = "SC PID";
Line 110... Line 98...
110 reg = <0x100000 0x100000>; 98 reg = <0x100000 0x100000>;
111 read-only; 99 read-only;
112 }; 100 };
113   101  
Line 114... Line 102...
114 partition@200000 { 102 partition@200000 {
115 label = "kernel"; 103 label = "kernel";
116 reg = <0x200000 0x400000>; 104 reg = <0x200000 0x400000>;
117 }; 105 };
Line 118... Line 106...
118   106  
119 partition@600000 { 107 partition@600000 {
120 label = "ubi"; 108 label = "ubi";
121 reg = <0x600000 0x1c00000>; 109 reg = <0x600000 0x1c00000>;
122 }; 110 };
Line 123... Line 111...
123   111  
124 factory: partition@2e00000 { 112 factory: partition@2e00000 {
125 label = "factory"; 113 label = "factory";
126 reg = <0x2e00000 0x100000>; 114 reg = <0x2e00000 0x100000>;
127 read-only; -  
128 }; 115 read-only;
129   116 };
Line 130... Line 117...
130 partition@4200000 { 117  
131 label = "reserved"; 118 partition@4200000 {
132 reg = <0x4200000 0x3c00000>; -  
Line 133... Line 119...
133 read-only; 119 label = "reserved";
134 }; 120 reg = <0x4200000 0x3c00000>;
135 }; 121 read-only;
-   122 };
136 }; 123 };
137   124  
-   125 &pcie {
138 &pcie { 126 status = "okay";
139 status = "okay"; -  
Line 140... Line 127...
140 }; 127  
141   128 pcie0 {
142 &pcie0 { 129 mt76@0,0 {
-   130 reg = <0x0000 0 0 0 0>;
143 mt76@0,0 { 131 device_type = "pci";
144 reg = <0x0000 0 0 0 0>; 132 mediatek,mtd-eeprom = <&factory 0x8000>;
-   133 ieee80211-freq-limit = <5000000 6000000>;
145 mediatek,mtd-eeprom = <&factory 0x8000>; 134 };
146 ieee80211-freq-limit = <5000000 6000000>; 135 };
Line 147... Line 136...
147 }; 136  
148 }; 137 pcie1 {