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 = "afoundry,ew1200", "mediatek,mt7621-soc"; 9 compatible = "afoundry,ew1200", "mediatek,mt7621-soc";
Line 10... Line -...
10 model = "EW1200"; -  
11   -  
12 aliases { -  
13 led-boot = &led_run; -  
14 led-failsafe = &led_run; -  
15 led-running = &led_run; -  
16 led-upgrade = &led_run; -  
17 }; 10 model = "EW1200";
18   11  
19 memory@0 { 12 memory@0 {
20 device_type = "memory"; 13 device_type = "memory";
Line 29... Line 22...
29 i2c@900 { 22 i2c@900 {
30 status = "okay"; 23 status = "okay";
31 }; 24 };
32 }; 25 };
Line 33... Line 26...
33   26  
34 keys { 27 gpio-keys-polled {
-   28 compatible = "gpio-keys-polled";
-   29 #address-cells = <1>;
35 compatible = "gpio-keys-polled"; 30 #size-cells = <0>;
Line 36... Line 31...
36 poll-interval = <20>; 31 poll-interval = <20>;
37   32  
38 reset { 33 reset {
39 label = "reset"; 34 label = "reset";
40 gpios = <&gpio0 18 GPIO_ACTIVE_LOW>; 35 gpios = <&gpio0 18 GPIO_ACTIVE_LOW>;
41 linux,code = <KEY_RESTART>; 36 linux,code = <KEY_RESTART>;
Line 42... Line 37...
42 }; 37 };
43 }; 38 };
Line 44... Line 39...
44   39  
45 leds { 40 gpio-leds {
46 compatible = "gpio-leds"; 41 compatible = "gpio-leds";
47   42  
Line 48... Line 43...
48 led_run: run { 43 status {
49 label = "ew1200:green:run"; 44 label = "ew1200:green:run";
50 gpios = <&gpio0 5 GPIO_ACTIVE_HIGH>; 45 gpios = <&gpio0 5 GPIO_ACTIVE_HIGH>;
51 }; -  
52   -  
53 usb { 46 };
54 label = "ew1200:green:usb"; 47  
55 gpios = <&gpio0 4 GPIO_ACTIVE_LOW>; 48 usb {
Line 56... Line 49...
56 trigger-sources = <&xhci_ehci_port1>, <&ehci_port2>; 49 label = "ew1200:green:usb";
Line 65... Line 58...
65   58  
66 &spi0 { 59 &spi0 {
Line 67... Line 60...
67 status = "okay"; 60 status = "okay";
-   61  
-   62 m25p80@0 {
68   63 #address-cells = <1>;
69 m25p80@0 { 64 #size-cells = <1>;
70 compatible = "jedec,spi-nor"; 65 compatible = "jedec,spi-nor";
-   66 reg = <0>;
-   67 spi-max-frequency = <10000000>;
-   68 m25p,chunked-io = <32>;
-   69  
-   70 partition@0 {
-   71 label = "u-boot";
-   72 reg = <0x0 0x30000>;
-   73 read-only;
-   74 };
-   75  
-   76 partition@30000 {
-   77 label = "u-boot-env";
-   78 reg = <0x30000 0x10000>;
Line 71... Line -...
71 reg = <0>; -  
72 spi-max-frequency = <10000000>; -  
73   -  
74 partitions { -  
75 compatible = "fixed-partitions"; -  
76 #address-cells = <1>; -  
77 #size-cells = <1>; -  
78   -  
79 partition@0 { -  
80 label = "u-boot"; -  
81 reg = <0x0 0x30000>; -  
82 read-only; -  
83 }; -  
84   -  
85 partition@30000 { -  
86 label = "u-boot-env"; -  
87 reg = <0x30000 0x10000>; -  
88 read-only; 79 read-only;
89 }; 80 };
90   81  
91 factory: partition@40000 { 82 factory: partition@40000 {
92 label = "factory"; 83 label = "factory";
93 reg = <0x40000 0x10000>; 84 reg = <0x40000 0x10000>;
94 read-only; 85 read-only;
95 }; -  
96   86 };
97 partition@50000 { 87  
98 compatible = "denx,uimage"; -  
99 label = "firmware"; 88 partition@50000 {
100 reg = <0x50000 0xfb0000>; 89 label = "firmware";
101 }; 90 reg = <0x50000 0xfb0000>;
Line 102... Line 91...
102 }; 91 };
103 }; 92 };
104 }; -  
Line 105... Line 93...
105   93 };
106 &pcie { 94  
107 status = "okay"; 95 &pcie {
-   96 status = "okay";
108 }; 97  
109   98 pcie0 {
-   99 mt76@0,0 {
110 &pcie0 { 100 reg = <0x0000 0 0 0 0>;
111 mt76@0,0 { -  
Line 112... Line 101...
112 reg = <0x0000 0 0 0 0>; 101 device_type = "pci";
113 mediatek,mtd-eeprom = <&factory 0x8000>; 102 mediatek,mtd-eeprom = <&factory 0x8000>;
114 ieee80211-freq-limit = <5000000 6000000>; 103 ieee80211-freq-limit = <5000000 6000000>;
-   104 };
115 }; 105 };
116 }; 106  
-   107 pcie1 {
117   108 mt76@1,0 {
118 &pcie1 { 109 reg = <0x0000 0 0 0 0>;
Line 119... Line 110...
119 mt76@0,0 { 110 device_type = "pci";
120 reg = <0x0000 0 0 0 0>; 111 mediatek,mtd-eeprom = <&factory 0x0000>;