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 = "aigale,ai-br100", "ralink,mt7620a-soc"; 9 compatible = "aigale,ai-br100", "ralink,mt7620a-soc";
Line 10... Line -...
10 model = "Aigale Ai-BR100"; -  
11   -  
12 aliases { -  
13 led-boot = &led_wlan; -  
14 led-failsafe = &led_wlan; -  
15 led-running = &led_wlan; -  
16 led-upgrade = &led_wlan; -  
17 }; 10 model = "Aigale Ai-BR100";
18   11  
Line 19... Line 12...
19 leds { 12 gpio-leds {
20 compatible = "gpio-leds"; 13 compatible = "gpio-leds";
21   14  
22 wan { 15 wan {
Line 23... Line 16...
23 label = "ai-br100:blue:wan"; 16 label = "ai-br100:blue:wan";
24 gpios = <&gpio2 4 GPIO_ACTIVE_LOW>; 17 gpios = <&gpio2 4 GPIO_ACTIVE_LOW>;
25 }; 18 };
26   19  
27 led_wlan: wlan { 20 wlan {
Line 28... Line 21...
28 label = "ai-br100:blue:wlan"; 21 label = "ai-br100:blue:wlan";
29 gpios = <&gpio3 0 GPIO_ACTIVE_LOW>; 22 gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
-   23 };
-   24 };
30 }; 25  
Line 31... Line 26...
31 }; 26 gpio-keys-polled {
32   27 compatible = "gpio-keys-polled";
33 keys { 28 #address-cells = <1>;
Line 52... Line 47...
52   47  
53 &spi0 { 48 &spi0 {
Line 54... Line 49...
54 status = "okay"; 49 status = "okay";
-   50  
-   51 m25p80@0 {
55   52 #address-cells = <1>;
56 m25p80@0 { 53 #size-cells = <1>;
57 compatible = "jedec,spi-nor"; 54 compatible = "jedec,spi-nor";
Line 58... Line -...
58 reg = <0 0>; -  
59 spi-max-frequency = <10000000>; -  
60   -  
61 partitions { -  
62 compatible = "fixed-partitions"; -  
63 #address-cells = <1>; 55 reg = <0 0>;
64 #size-cells = <1>; 56 spi-max-frequency = <10000000>;
65   57  
66 partition@0 { 58 partition@0 {
67 label = "u-boot"; 59 label = "u-boot";
68 reg = <0x0 0x20000>; 60 reg = <0x0 0x20000>;
69 read-only; 61 read-only;
70 }; 62 };
71   63  
72 partition@20000 { 64 partition@20000 {
73 label = "u-boot-env"; 65 label = "u-boot-env";
74 reg = <0x20000 0x10000>; 66 reg = <0x20000 0x10000>;
75 read-only; 67 read-only;
76 }; 68 };
77   69  
78 factory: partition@30000 { 70 factory: partition@30000 {
79 label = "factory"; 71 label = "factory";
80 reg = <0x30000 0x10000>; 72 reg = <0x30000 0x10000>;
81 read-only; 73 read-only;
82 }; -  
83   74 };
84 partition@40000 { 75  
85 compatible = "denx,uimage"; -  
86 label = "firmware"; 76 partition@40000 {
87 reg = <0x40000 0x7c0000>; 77 label = "firmware";
88 }; 78 reg = <0x40000 0x7c0000>;
Line 89... Line 79...
89 }; 79 };