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 = "buffalo,whr-g300n", "ralink,rt3052-soc"; 9 compatible = "buffalo,whr-g300n", "ralink,rt3052-soc";
Line 10... Line -...
10 model = "Buffalo WHR-G300N"; -  
11   -  
12 aliases { -  
13 led-boot = &led_diag; -  
14 led-failsafe = &led_diag; -  
15 led-upgrade = &led_diag; -  
16 }; 10 model = "Buffalo WHR-G300N";
17   11  
18 cfi@1f000000 { 12 cfi@1f000000 {
19 compatible = "cfi-flash"; 13 compatible = "cfi-flash";
20 reg = <0x1f000000 0x800000>; 14 reg = <0x1f000000 0x800000>;
-   15 bank-width = <2>;
-   16 device-width = <2>;
-   17 #address-cells = <1>;
-   18 #size-cells = <1>;
-   19  
-   20 partition@0 {
-   21 label = "u-boot";
-   22 reg = <0x0 0x30000>;
-   23 read-only;
-   24 };
-   25  
-   26 partition@30000 {
-   27 label = "u-boot-env";
-   28 reg = <0x30000 0x10000>;
-   29 read-only;
-   30 };
-   31  
-   32 factory: partition@40000 {
-   33 label = "factory";
-   34 reg = <0x40000 0x10000>;
-   35 read-only;
-   36 };
-   37  
-   38 partition@50000 {
-   39 label = "firmware";
Line 21... Line -...
21 bank-width = <2>; -  
22 device-width = <2>; -  
23   -  
24 partitions { -  
25 compatible = "fixed-partitions"; -  
26 #address-cells = <1>; -  
27 #size-cells = <1>; -  
28   -  
29 partition@0 { -  
30 label = "u-boot"; -  
31 reg = <0x0 0x30000>; -  
32 read-only; -  
33 }; -  
34   -  
35 partition@30000 { -  
36 label = "u-boot-env"; -  
37 reg = <0x30000 0x10000>; -  
38 read-only; -  
39 }; -  
40   -  
41 factory: partition@40000 { -  
42 label = "factory"; -  
43 reg = <0x40000 0x10000>; -  
44 read-only; -  
45 }; -  
46   -  
47 partition@50000 { -  
48 compatible = "denx,uimage"; -  
49 label = "firmware"; -  
50 reg = <0x50000 0x3a0000>; 40 reg = <0x50000 0x3a0000>;
51 }; 41 };
52   42  
53 partition@3f0000 { 43 partition@3f0000 {
54 label = "user"; -  
55 reg = <0x3f0000 0x10000>; 44 label = "user";
56 read-only; 45 reg = <0x3f0000 0x10000>;
Line 57... Line 46...
57 }; 46 read-only;
58 }; 47 };
Line 59... Line 48...
59 }; 48 };
60   49  
61 leds { 50 gpio-leds {
62 compatible = "gpio-leds"; 51 compatible = "gpio-leds";
Line 63... Line 52...
63   52  
Line 75... Line 64...
75 label = "whr-g300n:amber:security"; 64 label = "whr-g300n:amber:security";
76 gpios = <&gpio0 14 GPIO_ACTIVE_LOW>; 65 gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
77 }; 66 };
78 }; 67 };
Line 79... Line 68...
79   68  
80 keys { 69 gpio-keys-polled {
-   70 compatible = "gpio-keys-polled";
-   71 #address-cells = <1>;
81 compatible = "gpio-keys-polled"; 72 #size-cells = <0>;
Line 82... Line 73...
82 poll-interval = <20>; 73 poll-interval = <20>;
83   74  
84 reset { 75 reset {