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 = "hiwifi,hc5962", "mediatek,mt7621-soc"; 9 compatible = "hiwifi,hc5962", "mediatek,mt7621-soc";
Line 10... Line -...
10 model = "HiWiFi HC5962"; -  
11   -  
12 aliases { -  
13 led-boot = &led_status; -  
14 led-failsafe = &led_status; -  
15 led-running = &led_status; -  
16 led-upgrade = &led_status; -  
17 }; 10 model = "HiWiFi HC5962";
18   11  
19 memory@0 { 12 memory@0 {
20 device_type = "memory"; 13 device_type = "memory";
Line 21... Line 14...
21 reg = <0x0 0x10000000>; 14 reg = <0x0 0x10000000>;
22 }; 15 };
23   16  
Line 24... Line 17...
24 chosen { 17 chosen {
25 bootargs = "console=ttyS0,115200"; 18 bootargs = "console=ttyS0,115200";
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_status: status { 24 status {
32 label = "hc5962:white:status"; 25 label = "hc5962:white:status";
33 gpios = <&gpio0 6 GPIO_ACTIVE_LOW>; 26 gpios = <&gpio0 6 GPIO_ACTIVE_LOW>;
34 }; 27 };
Line 35... Line 28...
35   28  
36 system { 29 system {
-   30 label = "hc5962:red:system";
-   31 gpios = <&gpio0 7 GPIO_ACTIVE_LOW>;
37 label = "hc5962:red:system"; 32 };
Line 38... Line 33...
38 gpios = <&gpio0 7 GPIO_ACTIVE_LOW>; 33 };
39 }; 34  
40 }; 35 gpio-keys-polled {
Line 52... Line 47...
52 }; 47 };
Line 53... Line 48...
53   48  
54 &nand { 49 &nand {
Line 55... Line -...
55 status = "okay"; -  
56   -  
57 partitions { -  
58 compatible = "fixed-partitions"; -  
59 #address-cells = <1>; -  
60 #size-cells = <1>; 50 status = "okay";
61   51  
62 partition@0 { 52 partition@0 {
63 label = "u-boot"; 53 label = "u-boot";
64 reg = <0x0 0x80000>; 54 reg = <0x0 0x80000>;
Line 123... Line 113...
123 partition@54c0000 { 113 partition@54c0000 {
124 label = "opt"; 114 label = "opt";
125 reg = <0x54c0000 0x2ac0000>; 115 reg = <0x54c0000 0x2ac0000>;
126 }; 116 };
127 }; 117 };
128 }; -  
Line 129... Line 118...
129   118  
130 &pcie { 119 &pcie {
131 status = "okay"; -  
Line 132... Line 120...
132 }; 120 status = "okay";
133   121  
134 &pcie0 { 122 pcie0 {
-   123 mt76@0,0 {
135 mt76@0,0 { 124 reg = <0x0000 0 0 0 0>;
136 reg = <0x0000 0 0 0 0>; 125 device_type = "pci";
137 mediatek,mtd-eeprom = <&factory 0x0000>; 126 mediatek,mtd-eeprom = <&factory 0x0000>;
138 ieee80211-freq-limit = <2400000 2500000>; 127 ieee80211-freq-limit = <2400000 2500000>;
Line 139... Line 128...
139 }; 128 };
140 }; 129 };
141   130  
-   131 pcie1 {
142 &pcie1 { 132 mt76@1,0 {
143 mt76@0,0 { 133 reg = <0x0000 0 0 0 0>;
144 reg = <0x0000 0 0 0 0>; 134 device_type = "pci";
145 mediatek,mtd-eeprom = <&factory 0x8000>; 135 mediatek,mtd-eeprom = <&factory 0x8000>;
-   136 ieee80211-freq-limit = <5000000 6000000>;
Line 146... Line 137...
146 ieee80211-freq-limit = <5000000 6000000>; 137 };
147 }; 138 };
148 }; 139 };
149   140