OpenWrt – Diff between revs 2 and 3

Subversion Repositories:
Rev:
Show entire fileRegard 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>;
21 bank-width = <2>; -  
22 device-width = <2>; -  
23   -  
24 partitions { 15 bank-width = <2>;
25 compatible = "fixed-partitions"; 16 device-width = <2>;
Line 26... Line 17...
26 #address-cells = <1>; 17 #address-cells = <1>;
27 #size-cells = <1>; 18 #size-cells = <1>;
Line 43... Line 34...
43 reg = <0x40000 0x10000>; 34 reg = <0x40000 0x10000>;
44 read-only; 35 read-only;
45 }; 36 };
Line 46... Line 37...
46   37  
47 partition@50000 { -  
48 compatible = "denx,uimage"; 38 partition@50000 {
49 label = "firmware"; 39 label = "firmware";
50 reg = <0x50000 0x3a0000>; 40 reg = <0x50000 0x3a0000>;
Line 51... Line 41...
51 }; 41 };
52   42  
53 partition@3f0000 { 43 partition@3f0000 {
54 label = "user"; 44 label = "user";
55 reg = <0x3f0000 0x10000>; 45 reg = <0x3f0000 0x10000>;
56 read-only; 46 read-only;
57 }; -  
Line 58... Line 47...
58 }; 47 };
59 }; 48 };
Line 60... Line 49...
60   49  
61 leds { 50 gpio-leds {
62 compatible = "gpio-leds"; 51 compatible = "gpio-leds";
63   52  
Line 64... Line 53...
64 led_diag: diag { 53 diag {
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 {