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 = "iodata,wn-gx300gr", "mediatek,mt7621-soc"; 9 compatible = "iodata,wn-gx300gr", "mediatek,mt7621-soc";
Line 10... Line -...
10 model = "I-O DATA WN-GX300GR"; -  
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 = "I-O DATA WN-GX300GR";
18   11  
19 memory@0 { 12 memory@0 {
20 device_type = "memory"; 13 device_type = "memory";
Line 21... Line 14...
21 reg = <0x0 0x4000000>; 14 reg = <0x0 0x4000000>;
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_power: power { 24 power {
32 label = "wn-gx300gr:green:power"; 25 label = "wn-gx300gr:green:power";
33 gpios = <&gpio0 7 GPIO_ACTIVE_LOW>; 26 gpios = <&gpio0 7 GPIO_ACTIVE_LOW>;
34 }; 27 };
Line 35... Line 28...
35   28  
36 wps { 29 wps {
-   30 label = "wn-gx300gr:green:wps";
-   31 gpios = <&gpio0 17 GPIO_ACTIVE_LOW>;
37 label = "wn-gx300gr:green:wps"; 32 };
Line 38... Line 33...
38 gpios = <&gpio0 17 GPIO_ACTIVE_LOW>; 33 };
39 }; 34  
40 }; 35 gpio-keys-polled {
Line 73... Line 68...
73   68  
74 &spi0 { 69 &spi0 {
Line 75... Line 70...
75 status = "okay"; 70 status = "okay";
-   71  
-   72 m25p80@0 {
76   73 #address-cells = <1>;
77 m25p80@0 { 74 #size-cells = <1>;
78 compatible = "jedec,spi-nor"; 75 compatible = "jedec,spi-nor";
-   76 reg = <0>;
-   77 spi-max-frequency = <10000000>;
-   78 m25p,chunked-io = <32>;
-   79  
-   80 partition@0 {
-   81 label = "Bootloader";
-   82 reg = <0x0 0x30000>;
-   83 read-only;
-   84 };
-   85  
-   86 partition@30000 {
-   87 label = "Config";
-   88 reg = <0x30000 0x10000>;
-   89 read-only;
-   90 };
-   91  
-   92 Factory: partition@40000 {
-   93 label = "Factory";
-   94 reg = <0x40000 0x10000>;
-   95 read-only;
-   96 };
-   97  
-   98 partition@50000 {
-   99 label = "iNIC_rf";
-   100 reg = <0x50000 0x10000>;
-   101 read-only;
-   102 };
-   103  
-   104 partition@60000 {
-   105 label = "firmware";
-   106 reg = <0x60000 0x770000>;
-   107 };
-   108  
-   109 partition@7d0000 {
-   110 label = "Key";
-   111 reg = <0x7d0000 0x10000>;
Line 79... Line -...
79 reg = <0>; -  
80 spi-max-frequency = <10000000>; -  
81   -  
82 partitions { -  
83 compatible = "fixed-partitions"; -  
84 #address-cells = <1>; -  
85 #size-cells = <1>; -  
86   -  
87 partition@0 { -  
88 label = "Bootloader"; -  
89 reg = <0x0 0x30000>; -  
90 read-only; -  
91 }; -  
92   -  
93 partition@30000 { -  
94 label = "Config"; -  
95 reg = <0x30000 0x10000>; -  
96 read-only; -  
97 }; -  
98   -  
99 Factory: partition@40000 { -  
100 label = "Factory"; -  
101 reg = <0x40000 0x10000>; -  
102 read-only; -  
103 }; -  
104   -  
105 partition@50000 { -  
106 label = "iNIC_rf"; -  
107 reg = <0x50000 0x10000>; -  
108 read-only; -  
109 }; -  
110   -  
111 partition@60000 { -  
112 compatible = "denx,uimage"; -  
113 label = "firmware"; -  
114 reg = <0x60000 0x770000>; -  
115 }; -  
116   -  
117 partition@7d0000 { -  
118 label = "Key"; -  
119 reg = <0x7d0000 0x10000>; -  
120 read-only; 112 read-only;
121 }; 113 };
122   114  
123 partition@7e0000 { 115 partition@7e0000 {
124 label = "backup"; 116 label = "backup";
125 reg = <0x7e0000 0x10000>; 117 reg = <0x7e0000 0x10000>;
126 read-only; 118 read-only;
127 }; 119 };
128   120  
129 partition@7f0000 { 121 partition@7f0000 {
130 label = "storage"; -  
131 reg = <0x7f0000 0x10000>; 122 label = "storage";
132 read-only; 123 reg = <0x7f0000 0x10000>;
133 }; 124 read-only;
Line 134... Line 125...
134 }; 125 };
Line 148... Line 139...
148 }; 139 };
149 }; 140 };
Line 150... Line 141...
150   141  
151 &pcie { 142 &pcie {
152 status = "okay"; -  
Line 153... Line 143...
153 }; 143 status = "okay";
154   144  
155 &pcie0 { 145 pcie0 {
-   146 mt76@0,0 {
156 mt76@0,0 { 147 reg = <0x0000 0 0 0 0>;
-   148 device_type = "pci";
157 reg = <0x0000 0 0 0 0>; 149 mediatek,mtd-eeprom = <&Factory 0x0>;
158 mediatek,mtd-eeprom = <&Factory 0x0>; 150 };
Line 159... Line 151...
159 }; 151 };
160 }; 152 };