OpenWrt – Diff between revs 2 and 3

Subversion Repositories:
Rev:
Show entire fileIgnore whitespace
Rev 2 Rev 3
Line 11... Line 11...
11   11  
12 chosen { 12 chosen {
13 bootargs = "console=ttyS0,115200"; 13 bootargs = "console=ttyS0,115200";
Line 14... Line 14...
14 }; 14 };
15   15  
Line 16... Line 16...
16 leds { 16 gpio-leds {
17 compatible = "gpio-leds"; 17 compatible = "gpio-leds";
18   18  
Line 40... Line 40...
40 label = "zbt-ape522ii:green:wlan2g4"; 40 label = "zbt-ape522ii:green:wlan2g4";
41 gpios = <&gpio3 0 GPIO_ACTIVE_LOW>; 41 gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
42 }; 42 };
43 }; 43 };
Line 44... Line 44...
44   44  
45 keys { 45 gpio-keys-polled {
-   46 compatible = "gpio-keys-polled";
-   47 #address-cells = <1>;
46 compatible = "gpio-keys-polled"; 48 #size-cells = <0>;
Line 47... Line 49...
47 poll-interval = <20>; 49 poll-interval = <20>;
48   50  
49 reset { 51 reset {
Line 72... Line 74...
72   74  
73 &spi0 { 75 &spi0 {
Line 74... Line 76...
74 status = "okay"; 76 status = "okay";
-   77  
-   78 m25p80@0 {
75   79 #address-cells = <1>;
76 m25p80@0 { 80 #size-cells = <1>;
77 compatible = "jedec,spi-nor"; 81 compatible = "jedec,spi-nor";
Line 78... Line -...
78 reg = <0>; -  
79 spi-max-frequency = <10000000>; -  
80   -  
81 partitions { -  
82 compatible = "fixed-partitions"; -  
83 #address-cells = <1>; 82 reg = <0>;
84 #size-cells = <1>; 83 spi-max-frequency = <10000000>;
85   84  
86 partition@0 { 85 partition@0 {
87 label = "u-boot"; 86 label = "u-boot";
88 reg = <0x0 0x30000>; 87 reg = <0x0 0x30000>;
89 }; 88 };
90   89  
91 partition@30000 { 90 partition@30000 {
92 label = "u-boot-env"; 91 label = "u-boot-env";
93 reg = <0x30000 0x10000>; 92 reg = <0x30000 0x10000>;
94 read-only; 93 read-only;
95 }; 94 };
96   95  
97 factory: partition@40000 { 96 factory: partition@40000 {
98 label = "factory"; 97 label = "factory";
99 reg = <0x40000 0x10000>; 98 reg = <0x40000 0x10000>;
100 read-only; 99 read-only;
101 }; -  
102   100 };
103 partition@50000 { 101  
104 compatible = "denx,uimage"; -  
105 label = "firmware"; 102 partition@50000 {
106 reg = <0x50000 0xf80000>; 103 label = "firmware";
107 }; 104 reg = <0x50000 0xf80000>;
Line 108... Line 105...
108 }; 105 };
Line 122... Line 119...
122 pinctrl-0 = <&pa_pins>; 119 pinctrl-0 = <&pa_pins>;
123 }; 120 };
Line 124... Line 121...
124   121  
125 &pcie { 122 &pcie {
126 status = "okay"; -  
Line 127... Line 123...
127 }; 123 status = "okay";
128   124  
129 &pcie0 { 125 pcie-bridge {
-   126 mt76@0,0 {
130 mt76@0,0 { 127 reg = <0x0000 0 0 0 0>;
131 reg = <0x0000 0 0 0 0>; 128 device_type = "pci";
-   129 mediatek,mtd-eeprom = <&factory 0x8000>;
132 mediatek,mtd-eeprom = <&factory 0x8000>; 130 ieee80211-freq-limit = <5000000 6000000>;
133 ieee80211-freq-limit = <5000000 6000000>; 131 };
Line 134... Line 132...
134 }; 132 };
135 }; 133 };