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 = "zbtlink,zbt-we2026", "ralink,mt7620n-soc"; 9 compatible = "zbtlink,zbt-we2026", "ralink,mt7620n-soc";
Line 10... Line -...
10 model = "Zbtlink ZBT-WE2026"; -  
11   -  
12 aliases { -  
13 led-boot = &led_power; -  
14 led-failsafe = &led_power; -  
15 led-running = &led_power; -  
16 led-upgrade = &led_power; -  
17 }; 10 model = "Zbtlink ZBT-WE2026";
18   11  
19 chosen { 12 chosen {
Line 20... Line 13...
20 bootargs = "console=ttyS0,115200"; 13 bootargs = "console=ttyS0,115200";
21 }; 14 };
Line 22... Line 15...
22   15  
23 leds { 16 gpio-leds {
24 compatible = "gpio-leds"; 17 compatible = "gpio-leds";
25   18  
Line 26... Line 19...
26 led_power: power { 19 power {
27 label = "zbt-we2026:red:power"; 20 label = "zbt-we2026:red:power";
28 gpios = <&gpio1 14 GPIO_ACTIVE_LOW>; 21 gpios = <&gpio1 14 GPIO_ACTIVE_LOW>;
29 }; 22 };
30   23  
Line 31... Line 24...
31 wlan { 24 wlan {
32 label = "zbt-we2026:green:wlan"; 25 label = "zbt-we2026:green:wlan";
-   26 gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
-   27 };
33 gpios = <&gpio3 0 GPIO_ACTIVE_LOW>; 28 };
Line 34... Line 29...
34 }; 29  
35 }; 30 gpio-keys-polled {
36   31 compatible = "gpio-keys-polled";
Line 56... Line 51...
56   51  
57 &spi0 { 52 &spi0 {
Line 58... Line 53...
58 status = "okay"; 53 status = "okay";
-   54  
-   55 en25q64@0 {
59   56 #address-cells = <1>;
60 en25q64@0 { 57 #size-cells = <1>;
61 compatible = "jedec,spi-nor"; 58 compatible = "jedec,spi-nor";
Line 62... Line -...
62 reg = <0>; -  
63 spi-max-frequency = <10000000>; -  
64   -  
65 partitions { -  
66 compatible = "fixed-partitions"; -  
67 #address-cells = <1>; 59 reg = <0>;
68 #size-cells = <1>; 60 spi-max-frequency = <10000000>;
69   61  
70 partition@0 { 62 partition@0 {
71 label = "u-boot"; 63 label = "u-boot";
72 reg = <0x0 0x30000>; 64 reg = <0x0 0x30000>;
73 read-only; 65 read-only;
74 }; 66 };
75   67  
76 partition@30000 { 68 partition@30000 {
77 label = "u-boot-env"; 69 label = "u-boot-env";
78 reg = <0x30000 0x10000>; 70 reg = <0x30000 0x10000>;
79 read-only; 71 read-only;
80 }; 72 };
81   73  
82 factory: partition@40000 { 74 factory: partition@40000 {
83 label = "factory"; 75 label = "factory";
84 reg = <0x40000 0x10000>; 76 reg = <0x40000 0x10000>;
85 read-only; 77 read-only;
86 }; -  
87   78 };
88 partition@50000 { 79  
89 compatible = "denx,uimage"; -  
90 label = "firmware"; 80 partition@50000 {
91 reg = <0x50000 0x760000>; 81 label = "firmware";
92 }; 82 reg = <0x50000 0x760000>;
Line 93... Line 83...
93 }; 83 };