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 = "mercury,mac1200r-v2", "mediatek,mt7628an-soc"; 9 compatible = "mercury,mac1200r-v2", "mediatek,mt7628an-soc";
Line 10... Line -...
10 model = "Mercury MAC1200R v2"; -  
11   -  
12 aliases { -  
13 led-boot = &led_status; -  
14 led-failsafe = &led_status; -  
15 led-running = &led_status; -  
16 led-upgrade = &led_status; -  
17 }; 10 model = "Mercury MAC1200R v2";
18   11  
19 chosen { 12 chosen {
Line 20... Line 13...
20 bootargs = "console=ttyS0,57600"; 13 bootargs = "console=ttyS0,57600";
21 }; 14 };
22   15  
23 memory@0 { 16 memory@0 {
Line 24... Line 17...
24 device_type = "memory"; 17 device_type = "memory";
25 reg = <0x0 0x2000000>; 18 reg = <0x0 0x2000000>;
26 }; 19 };
27   20  
28 leds { 21 gpio-leds {
29 compatible = "gpio-leds"; 22 compatible = "gpio-leds";
30 led_status: status { 23 status {
31 label = "mac1200rv2:green:status"; 24 label = "mac1200rv2:green:status";
Line 32... Line 25...
32 gpios = <&gpio0 11 GPIO_ACTIVE_LOW>; 25 gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
33 }; 26 };
Line 34... Line 27...
34 }; 27 };
-   28 };
-   29  
35 }; 30 &spi0 {
36   31 status = "okay";
37 &spi0 { 32  
-   33 m25p80@0 {
-   34 #address-cells = <1>;
-   35 #size-cells = <1>;
-   36 compatible = "jedec,spi-nor";
-   37 reg = <0 0>;
-   38 spi-max-frequency = <10000000>;
-   39 m25p,chunked-io = <32>;
-   40  
-   41 partition@0 {
-   42 label = "u-boot";
-   43 reg = <0x0 0x1d800>;
-   44 };
-   45  
-   46 factory: partition@0x1d800 {
-   47 label = "factory_info";
-   48 reg = <0x1d800 0x800>;
-   49 read-only;
-   50 };
Line 38... Line -...
38 status = "okay"; -  
39   -  
40 m25p80@0 { -  
41 compatible = "jedec,spi-nor"; -  
42 reg = <0 0>; -  
43 spi-max-frequency = <10000000>; -  
44   -  
45 partitions { -  
46 compatible = "fixed-partitions"; -  
47 #address-cells = <1>; -  
48 #size-cells = <1>; -  
49   -  
50 partition@0 { -  
51 label = "u-boot"; -  
52 reg = <0x0 0x1d800>; -  
53 }; -  
54   -  
55 factory: partition@1d800 { -  
56 label = "factory_info"; -  
57 reg = <0x1d800 0x800>; -  
58 read-only; -  
59 }; -  
60   51  
61 art: partition@1e000 { 52 art: partition@0x1e000 {
62 label = "art"; 53 label = "art";
63 reg = <0x1e000 0x2000>; 54 reg = <0x1e000 0x2000>;
64 read-only; 55 read-only;
65 }; 56 };
66   57  
67 partition@20000 { 58 partition@20000 {
68 label = "config"; 59 label = "config";
69 reg = <0x20000 0x10000>; 60 reg = <0x20000 0x10000>;
70 }; 61 };
71   -  
72 partition@30000 { 62  
73 label = "u-boot2"; 63 partition@30000 {
74 reg = <0x30000 0x10000>; -  
75 }; 64 label = "u-boot2";
76   65 reg = <0x30000 0x10000>;
77 partition@40000 { 66 };
Line 78... Line 67...
78 compatible = "denx,uimage"; 67  
Line 94... Line 83...
94 ralink,mtd-eeprom = <&art 0x0>; 83 ralink,mtd-eeprom = <&art 0x0>;
95 }; 84 };
Line 96... Line 85...
96   85  
97 &pcie { 86 &pcie {
98 status = "okay"; -  
99 }; -  
100   87 status = "okay";
101 &pcie0 { 88 pcie-bridge {
102 mt76@0,0 { 89 mt76@0,0 {
-   90 reg = <0x0000 0 0 0 0>;
103 reg = <0x0000 0 0 0 0>; 91 device_type = "pci";
104 mediatek,mtd-eeprom = <&art 0x1000>; 92 mediatek,mtd-eeprom = <&art 0x1000>;
-   93 ieee80211-freq-limit = <5000000 6000000>;
105 ieee80211-freq-limit = <5000000 6000000>; 94 };
106 }; 95 };