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 = "netis,wf-2881", "mediatek,mt7621-soc"; 9 compatible = "netis,wf-2881", "mediatek,mt7621-soc";
Line 10... Line -...
10 model = "NETIS WF-2881"; -  
11   -  
12 aliases { -  
13 led-boot = &led_wps; -  
14 led-failsafe = &led_wps; -  
15 led-running = &led_wps; -  
16 led-upgrade = &led_wps; -  
17 }; 10 model = "NETIS WF-2881";
18   11  
19 memory@0 { 12 memory@0 {
20 device_type = "memory"; 13 device_type = "memory";
Line 21... Line 14...
21 reg = <0x0 0x8000000>; 14 reg = <0x0 0x8000000>;
22 }; 15 };
23   16  
Line 24... Line 17...
24 chosen { 17 chosen {
25 bootargs = "console=ttyS0,57600"; 18 bootargs = "console=ttyS0,57600";
Line 26... Line 19...
26 }; 19 };
27   20  
28 leds { 21 gpio-leds {
29 compatible = "gpio-leds"; -  
30   -  
31 usb { 22 compatible = "gpio-leds";
Line 32... Line 23...
32 label = "wf-2881:green:usb"; 23  
33 gpios = <&gpio0 6 GPIO_ACTIVE_LOW>; 24 usb {
34 trigger-sources = <&xhci_ehci_port1>, <&ehci_port2>; 25 label = "wf-2881:green:usb";
35 linux,default-trigger = "usbport"; 26 gpios = <&gpio0 6 GPIO_ACTIVE_LOW>;
36 }; 27 };
Line 37... Line 28...
37   28  
38 led_wps: wps { 29 wps {
-   30 label = "wf-2881:green:wps";
-   31 gpios = <&gpio0 0 GPIO_ACTIVE_LOW>;
39 label = "wf-2881:green:wps"; 32 };
Line 40... Line 33...
40 gpios = <&gpio0 0 GPIO_ACTIVE_LOW>; 33 };
41 }; 34  
42 }; 35 gpio-keys-polled {
Line 54... Line 47...
54 }; 47 };
Line 55... Line 48...
55   48  
56 &nand { 49 &nand {
Line 57... Line -...
57 status = "okay"; -  
58   -  
59 partitions { -  
60 compatible = "fixed-partitions"; -  
61 #address-cells = <1>; -  
62 #size-cells = <1>; 50 status = "okay";
63   51  
64 partition@0 { 52 partition@0 {
65 label = "u-boot"; 53 label = "u-boot";
66 reg = <0x0 0x30000>; 54 reg = <0x0 0x30000>;
Line 67... Line 55...
67 read-only; 55 read-only;
68 }; 56 };
69   57  
70 partition@30000 { 58 partition@30000 {
71 label = "u-boot-env"; 59 label = "u-boot-env";
Line 72... Line 60...
72 reg = <0x30000 0x1000>; 60 reg = <0x30000 0x1000>;
73 read-only; 61 read-only;
74 }; 62 };
75   63  
76 partition@80000 { 64 partition@80000 {
Line 77... Line 65...
77 label = "config"; 65 label = "config";
78 reg = <0x80000 0x80000>; 66 reg = <0x80000 0x80000>;
79 read-only; 67 read-only;
80 }; 68 };
81   69  
Line 82... Line 70...
82 factory: partition@100000 { 70 factory: partition@100000 {
83 label = "factory"; -  
84 reg = <0x100000 0x40000>; 71 label = "factory";
85 read-only; 72 reg = <0x100000 0x40000>;
86 }; -  
87   73 read-only;
88 partition@140000 { 74 };
Line 89... Line 75...
89 compatible = "denx,uimage"; 75  
90 label = "firmware"; 76 partition@140000 {
91 reg = <0x140000 0x7E40000>; -  
Line 92... Line 77...
92 }; 77 label = "firmware";
93 }; 78 reg = <0x140000 0x7E40000>;
94 }; 79 };
-   80 };
95   81  
96 &pcie { 82 &pcie {
-   83 status = "okay";
97 status = "okay"; 84  
98 }; -  
Line 99... Line 85...
99   85 pcie0 {
100 &pcie0 { 86 mt76@0,0 {
101 mt76@0,0 { 87 reg = <0x0000 0 0 0 0>;
-   88 device_type = "pci";
102 reg = <0x0000 0 0 0 0>; 89 mediatek,mtd-eeprom = <&factory 0x8000>;
103 mediatek,mtd-eeprom = <&factory 0x8000>; 90 ieee80211-freq-limit = <5000000 6000000>;
-   91 };
104 ieee80211-freq-limit = <5000000 6000000>; 92 };
105 }; 93  
Line 106... Line 94...
106 }; 94 pcie1 {
107   95 mt76@1,0 {