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 = "lenovo,newifi-d1", "mediatek,mt7621-soc"; 9 compatible = "lenovo,newifi-d1", "mediatek,mt7621-soc";
Line 10... Line -...
10 model = "Newifi-D1"; -  
11   -  
12 aliases { -  
13 led-boot = &led_blue; -  
14 led-failsafe = &led_blue; -  
15 led-running = &led_blue; -  
16 led-upgrade = &led_blue; -  
17 }; 10 model = "Newifi-D1";
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 {
Line 36... Line 29...
36 status-green { 29 status-green {
37 label = "newifi-d1:green:status"; 30 label = "newifi-d1:green:status";
38 gpios = <&gpio0 13 GPIO_ACTIVE_LOW>; 31 gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
39 }; 32 };
Line 40... Line 33...
40   33  
41 led_blue: status-blue { 34 statys-blue {
42 label = "newifi-d1:blue:status"; 35 label = "newifi-d1:blue:status";
43 gpios = <&gpio0 16 GPIO_ACTIVE_LOW>; -  
44 default-state = "on"; 36 gpios = <&gpio0 16 GPIO_ACTIVE_LOW>;
45 }; 37 };
Line 46... Line 38...
46 }; 38 };
47   39  
-   40 gpio-keys-polled {
-   41 compatible = "gpio-keys-polled";
48 keys { 42 #address-cells = <1>;
Line 49... Line 43...
49 compatible = "gpio-keys-polled"; 43 #size-cells = <0>;
50 poll-interval = <20>; 44 poll-interval = <20>;
51   45  
Line 74... Line 68...
74 }; 68 };
75 }; 69 };
Line 76... Line 70...
76   70  
77 &sdhci { 71 &sdhci {
-   72 status = "okay";
-   73  
-   74 pinctrl-names = "default";
78 status = "okay"; 75 pinctrl-0 = <&sdhci_pins>;
Line 79... Line 76...
79 }; 76 };
80   77  
Line 81... Line 78...
81 &spi0 { 78 &spi0 {
-   79 status = "okay";
-   80  
82 status = "okay"; 81 m25p80@0 {
83   82 #address-cells = <1>;
84 m25p80@0 { 83 #size-cells = <1>;
85 compatible = "mx25l25635f", "jedec,spi-nor"; 84 compatible = "jedec,spi-nor";
-   85 reg = <0>;
-   86 spi-max-frequency = <10000000>;
-   87 m25p,chunked-io = <32>;
-   88  
-   89 partition@0 {
-   90 label = "u-boot";
-   91 reg = <0x0 0x30000>;
-   92 read-only;
-   93 };
-   94  
-   95 partition@30000 {
-   96 label = "u-boot-env";
-   97 reg = <0x30000 0x10000>;
-   98 read-only;
-   99 };
-   100  
-   101 factory: partition@40000 {
-   102 label = "factory";
Line 86... Line -...
86 reg = <0>; -  
87 spi-max-frequency = <25000000>; -  
88 m25p,fast-read; -  
89   -  
90 partitions { -  
91 compatible = "fixed-partitions"; -  
92 #address-cells = <1>; -  
93 #size-cells = <1>; -  
94   -  
95 partition@0 { -  
96 label = "u-boot"; -  
97 reg = <0x0 0x30000>; -  
98 read-only; -  
99 }; -  
100   -  
101 partition@30000 { -  
102 label = "u-boot-env"; -  
103 reg = <0x30000 0x10000>; -  
104 read-only; -  
105 }; -  
106   -  
107 factory: partition@40000 { -  
108 label = "factory"; -  
109 reg = <0x40000 0x10000>; 103 reg = <0x40000 0x10000>;
110 read-only; -  
111 }; 104 read-only;
112   105 };
113 partition@50000 { -  
114 compatible = "denx,uimage"; 106  
115 label = "firmware"; 107 partition@50000 {
116 reg = <0x50000 0x1fb0000>; 108 label = "firmware";
Line 117... Line 109...
117 }; 109 reg = <0x50000 0x1fb0000>;
118 }; 110 };
119 }; -  
Line 120... Line 111...
120 }; 111 };
121   112 };
122 &pcie { 113  
-   114 &pcie {
123 status = "okay"; 115 status = "okay";
124 }; 116  
-   117 pcie0 {
125   118 mt76@0,0 {
126 &pcie0 { -  
Line 127... Line 119...
127 mt76@0,0 { 119 reg = <0x0000 0 0 0 0>;
128 reg = <0x0000 0 0 0 0>; 120 device_type = "pci";
129 mediatek,mtd-eeprom = <&factory 0x8000>; 121 mediatek,mtd-eeprom = <&factory 0x8000>;
-   122 ieee80211-freq-limit = <5000000 6000000>;
130 ieee80211-freq-limit = <5000000 6000000>; 123 };
-   124 };
131 }; 125  
132 }; 126 pcie1 {
Line 133... Line 127...
133   127 mt76@1,0 {
134 &pcie1 { 128 reg = <0x0000 0 0 0 0>;