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 = "alfanetworks,w502u", "ralink,rt3052-soc"; 9 compatible = "alfanetworks,w502u", "ralink,rt3052-soc";
Line 10... Line -...
10 model = "ALFA Networks W502U"; -  
11   -  
12 aliases { -  
13 led-boot = &led_wps; -  
14 led-failsafe = &led_wps; -  
15 led-running = &led_wps; -  
16 led-upgrade = &led_wps; -  
17 }; 10 model = "ALFA Networks W502U";
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 cfi@1f000000 { 16 cfi@1f000000 {
24 compatible = "cfi-flash"; 17 compatible = "cfi-flash";
-   18 reg = <0x1f000000 0x800000>;
-   19 bank-width = <2>;
-   20 device-width = <2>;
-   21 #address-cells = <1>;
-   22 #size-cells = <1>;
-   23  
-   24 partition@0 {
-   25 label = "u-boot";
-   26 reg = <0x0 0x30000>;
-   27 read-only;
-   28 };
-   29  
-   30 partition@30000 {
-   31 label = "u-boot-env";
-   32 reg = <0x30000 0x10000>;
-   33 read-only;
-   34 };
-   35  
-   36 factory: partition@40000 {
-   37 label = "factory";
Line 25... Line -...
25 reg = <0x1f000000 0x800000>; -  
26 bank-width = <2>; -  
27 device-width = <2>; -  
28   -  
29 partitions { -  
30 compatible = "fixed-partitions"; -  
31 #address-cells = <1>; -  
32 #size-cells = <1>; -  
33   -  
34 partition@0 { -  
35 label = "u-boot"; -  
36 reg = <0x0 0x30000>; -  
37 read-only; -  
38 }; -  
39   -  
40 partition@30000 { -  
41 label = "u-boot-env"; -  
42 reg = <0x30000 0x10000>; -  
43 read-only; -  
44 }; -  
45   -  
46 factory: partition@40000 { -  
47 label = "factory"; -  
48 reg = <0x40000 0x10000>; 38 reg = <0x40000 0x10000>;
49 read-only; -  
50 }; 39 read-only;
51   40 };
52 partition@50000 { -  
53 compatible = "denx,uimage"; 41  
54 label = "firmware"; 42 partition@50000 {
Line 55... Line 43...
55 reg = <0x50000 0x7b0000>; 43 label = "firmware";
56 }; 44 reg = <0x50000 0x7b0000>;
Line 57... Line 45...
57 }; 45 };
58 }; 46 };
59   47  
60 leds { -  
61 compatible = "gpio-leds"; -  
62   48 gpio-leds {
Line 63... Line 49...
63 usb { 49 compatible = "gpio-leds";
64 label = "w502u:blue:usb"; 50  
65 gpios = <&gpio0 13 GPIO_ACTIVE_LOW>; 51 usb {
66 trigger-sources = <&otg_port1>; 52 label = "w502u:blue:usb";
67 linux,default-trigger = "usbport"; 53 gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
Line 68... Line 54...
68 }; 54 };
69   55  
-   56 wps {
-   57 label = "w502u:blue:wps";
70 led_wps: wps { 58 gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
Line 71... Line 59...
71 label = "w502u:blue:wps"; 59 };
72 gpios = <&gpio0 14 GPIO_ACTIVE_LOW>; 60 };
73 }; 61