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 = "airlink101,ar670w", "ralink,rt2880-soc"; 9 compatible = "airlink101,ar670w", "ralink,rt2880-soc";
Line 10... Line -...
10 model = "Airlink101 AR670W"; -  
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 = "Airlink101 AR670W";
18   11  
19 cfi@bdc00000 { 12 cfi@bdc00000 {
20 compatible = "cfi-flash"; 13 compatible = "cfi-flash";
-   14 reg = <0xbc400000 0x800000>;
-   15 bank-width = <2>;
-   16 #address-cells = <1>;
-   17 #size-cells = <1>;
-   18  
-   19 u-boot@0 {
-   20 reg = <0x0 0x30000>;
-   21 label = "u-boot";
-   22 read-only;
-   23 };
-   24  
-   25 factory: factory@30000 {
-   26 reg = <0x30000 0x10000>;
-   27 label = "factory";
Line 21... Line -...
21 reg = <0xbc400000 0x800000>; -  
22 bank-width = <2>; -  
23   -  
24 partitions { -  
25 compatible = "fixed-partitions"; -  
26 #address-cells = <1>; -  
27 #size-cells = <1>; -  
28   -  
29 partition@0 { -  
30 reg = <0x0 0x30000>; -  
31 label = "u-boot"; -  
32 read-only; -  
33 }; -  
34   -  
35 factory: partition@30000 { -  
36 reg = <0x30000 0x10000>; -  
37 label = "factory"; -  
38 read-only; 28 read-only;
39 }; -  
40   29 };
41 partition@40000 { 30  
42 compatible = "lzma"; -  
43 reg = <0x40000 0x3c0000>; 31 firmware@40000 {
44 label = "firmware"; 32 reg = <0x40000 0x3c0000>;
Line 45... Line 33...
45 }; 33 label = "firmware";
46 }; 34 };
Line 47... Line 35...
47 }; 35 };
48   36  
49 leds { 37 gpio-leds {
50 compatible = "gpio-leds"; 38 compatible = "gpio-leds";
Line 51... Line 39...
51   39  
52 led_power: power { 40 status {
53 label = "ar670w:green:power"; 41 label = "ar670w:green:power";
54 gpios = <&gpio0 7 GPIO_ACTIVE_LOW>; 42 gpios = <&gpio0 7 GPIO_ACTIVE_LOW>;
55 }; 43 };
Line 56... Line 44...
56   44  
57 wpsblue { 45 wpsblue {
-   46 label = "ar670w:blue:wps";
-   47 gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
58 label = "ar670w:blue:wps"; 48 };
Line 59... Line 49...
59 gpios = <&gpio0 13 GPIO_ACTIVE_LOW>; 49 };
60 }; 50  
61 }; 51 gpio-keys-polled {