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 = "xiaomi,miwifi-nano", "mediatek,mt7628an-soc"; 9 compatible = "xiaomi,miwifi-nano", "mediatek,mt7628an-soc";
Line 10... Line -...
10 model = "MiWiFi Nano"; -  
11   -  
12 aliases { -  
13 led-boot = &led_blue; -  
14 led-failsafe = &led_blue; -  
15 led-running = &led_blue; -  
16 led-upgrade = &led_blue; -  
17 }; 10 model = "MiWiFi Nano";
18   11  
19 chosen { 12 chosen {
Line 20... Line 13...
20 bootargs = "console=ttyS0,115200"; 13 bootargs = "console=ttyS0,115200";
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 0x4000000>; 18 reg = <0x0 0x4000000>;
Line 26... Line 19...
26 }; 19 };
27   20  
28 leds { 21 gpio-leds {
29 compatible = "gpio-leds"; 22 compatible = "gpio-leds";
30   23  
31 led_blue: status_blue { 24 status_blue {
Line 40... Line 33...
40 label = "miwifi-nano:amber:status"; 33 label = "miwifi-nano:amber:status";
41 gpios = <&gpio1 12 GPIO_ACTIVE_LOW>; 34 gpios = <&gpio1 12 GPIO_ACTIVE_LOW>;
42 }; 35 };
43 }; 36 };
Line 44... Line 37...
44   37  
45 keys { 38 gpio-keys {
-   39 compatible = "gpio-keys-polled";
-   40 #address-cells = <1>;
46 compatible = "gpio-keys-polled"; 41 #size-cells = <0>;
Line 47... Line 42...
47 poll-interval = <20>; 42 poll-interval = <20>;
48   43  
49 reset { 44 reset {
Line 74... Line 69...
74   69  
75 &spi0 { 70 &spi0 {
Line 76... Line 71...
76 status = "okay"; 71 status = "okay";
-   72  
-   73 m25p80@0 {
77   74 #address-cells = <1>;
78 m25p80@0 { 75 #size-cells = <1>;
79 compatible = "jedec,spi-nor"; 76 compatible = "jedec,spi-nor";
-   77 reg = <0>;
-   78 spi-max-frequency = <10000000>;
-   79 m25p,chunked-io = <32>;
-   80  
-   81 partition@0 {
-   82 label = "u-boot";
-   83 reg = <0x0 0x30000>;
-   84 read-only;
-   85 };
-   86  
-   87 partition@30000 {
-   88 label = "u-boot-env";
-   89 reg = <0x30000 0x10000>;
-   90 read-only;
-   91 };
-   92  
-   93 factory: partition@40000 {
-   94 label = "factory";
-   95 reg = <0x40000 0x10000>;
Line 80... Line -...
80 reg = <0>; -  
81 spi-max-frequency = <10000000>; -  
82   -  
83 partitions { -  
84 compatible = "fixed-partitions"; -  
85 #address-cells = <1>; -  
86 #size-cells = <1>; -  
87   -  
88 partition@0 { -  
89 label = "u-boot"; -  
90 reg = <0x0 0x30000>; -  
91 read-only; -  
92 }; -  
93   -  
94 partition@30000 { -  
95 label = "u-boot-env"; -  
96 reg = <0x30000 0x10000>; -  
97 read-only; -  
98 }; -  
99   -  
100 factory: partition@40000 { -  
101 label = "factory"; -  
102 reg = <0x40000 0x10000>; -  
103 read-only; 96 read-only;
104 }; -  
105   97 };
106 partition@50000 { 98  
107 compatible = "denx,uimage"; -  
108 label = "firmware"; 99 partition@50000 {
109 reg = <0x50000 0xfb0000>; 100 label = "firmware";
110 }; 101 reg = <0x50000 0xfb0000>;