OpenWrt – Diff between revs 2 and 3

Subversion Repositories:
Rev:
Show entire fileIgnore whitespace
Rev 2 Rev 3
Line 6... Line 6...
6   6  
7 / { 7 / {
8 compatible = "samknows,whitebox-v8", "mediatek,mt7621-soc"; 8 compatible = "samknows,whitebox-v8", "mediatek,mt7621-soc";
Line 9... Line -...
9 model = "SamKnows Whitebox 8"; -  
10   -  
11 aliases { -  
12 led-boot = &led_wps; -  
13 led-failsafe = &led_wps; -  
14 led-running = &led_wps; -  
15 led-upgrade = &led_wps; -  
16 }; 9 model = "SamKnows Whitebox 8";
17   10  
18 memory@0 { 11 memory@0 {
19 device_type = "memory"; 12 device_type = "memory";
Line 20... Line 13...
20 reg = <0x0 0x8000000>; 13 reg = <0x0 0x8000000>;
21 }; 14 };
22   15  
Line 23... Line 16...
23 chosen { 16 chosen {
24 bootargs = "console=ttyS0,57600"; 17 bootargs = "console=ttyS0,57600";
Line 25... Line 18...
25 }; 18 };
26   19  
27 leds { 20 gpio-leds {
28 compatible = "gpio-leds"; 21 compatible = "gpio-leds";
Line 29... Line 22...
29   22  
30 led_wps: wps { 23 wps {
31 label = "sk-wb8:green:wps"; 24 label = "sk-wb8:green:wps";
32 gpios = <&gpio1 14 GPIO_ACTIVE_LOW>; -  
33 }; -  
34   25 gpios = <&gpio1 14 GPIO_ACTIVE_LOW>;
35 usb { 26 };
Line 36... Line 27...
36 label = "sk-wb8:green:usb"; 27  
37 gpios = <&gpio1 15 GPIO_ACTIVE_LOW>; 28 usb {
-   29 label = "sk-wb8:green:usb";
-   30 gpios = <&gpio1 15 GPIO_ACTIVE_LOW>;
38 trigger-sources = <&xhci_ehci_port1>, <&ehci_port2>; 31 };
39 linux,default-trigger = "usbport"; 32 };
40 }; 33  
41 }; 34 gpio-keys-polled {
42   35 compatible = "gpio-keys-polled";
Line 58... Line 51...
58   51  
59 &spi0 { 52 &spi0 {
Line 60... Line 53...
60 status = "okay"; 53 status = "okay";
-   54  
-   55 m25p80@0 {
61   56 #address-cells = <1>;
62 m25p80@0 { 57 #size-cells = <1>;
63 compatible = "jedec,spi-nor"; 58 compatible = "jedec,spi-nor";
-   59 reg = <0>;
-   60 spi-max-frequency = <10000000>;
-   61 m25p,chunked-io = <32>;
-   62  
-   63 partition@0 {
-   64 label = "u-boot";
-   65 reg = <0x0 0x30000>;
-   66 read-only;
-   67 };
-   68  
-   69 partition@30000 {
-   70 label = "u-boot-env";
Line 64... Line -...
64 reg = <0>; -  
65 spi-max-frequency = <10000000>; -  
66   -  
67 partitions { -  
68 compatible = "fixed-partitions"; -  
69 #address-cells = <1>; -  
70 #size-cells = <1>; -  
71   -  
72 partition@0 { -  
73 label = "u-boot"; -  
74 reg = <0x0 0x30000>; -  
75 read-only; -  
76 }; -  
77   -  
78 partition@30000 { -  
79 label = "u-boot-env"; -  
80 reg = <0x30000 0x10000>; 71 reg = <0x30000 0x10000>;
81 }; 72 };
82   73  
83 factory: partition@40000 { 74 factory: partition@40000 {
84 label = "factory"; -  
85 reg = <0x40000 0x10000>; -  
86 read-only; -  
87 }; -  
88   -  
89 partition@50000 { -  
90 compatible = "denx,uimage"; -  
91 label = "firmware"; 75 label = "factory";
-   76 reg = <0x40000 0x10000>;
-   77 read-only;
-   78 };
-   79  
-   80 partition@50000 {
-   81 label = "firmware";
92 reg = <0x50000 0xfb0000>; 82 reg = <0x50000 0xfb0000>;
93 }; 83 };
Line 94... Line 84...
94 }; 84  
95 }; 85 };
96 }; -  
Line 97... Line 86...
97   86 };
98 &pcie { 87  
99 status = "okay"; 88 &pcie {
-   89 status = "okay";
100 }; 90  
101   91 pcie0 {
-   92 mt76@0,0 {
102 &pcie0 { 93 reg = <0x0000 0 0 0 0>;
103 mt76@0,0 { -  
Line 104... Line 94...
104 reg = <0x0000 0 0 0 0>; 94 device_type = "pci";
105 mediatek,mtd-eeprom = <&factory 0x8000>; 95 mediatek,mtd-eeprom = <&factory 0x8000>;
106 ieee80211-freq-limit = <5000000 6000000>; 96 ieee80211-freq-limit = <5000000 6000000>;
-   97 };
107 }; 98 };
-   99  
108 }; 100 pcie1 {
109   101 mt76@1,0 {
Line 110... Line 102...
110 &pcie1 { 102 reg = <0x0000 0 0 0 0>;
111 mt76@0,0 { 103 device_type = "pci";