OpenWrt – Diff between revs 2 and 3

Subversion Repositories:
Rev:
Show entire fileIgnore whitespace
Rev 2 Rev 3
Line 9... Line 9...
9 #address-cells = <1>; 9 #address-cells = <1>;
10 #size-cells = <1>; 10 #size-cells = <1>;
11 compatible = "buffalo,wzr-agl300nh", "ralink,rt2880-soc"; 11 compatible = "buffalo,wzr-agl300nh", "ralink,rt2880-soc";
12 model = "Buffalo WZR-AGL300NH"; 12 model = "Buffalo WZR-AGL300NH";
Line 13... Line 13...
13   13  
14 aliases { 14 pci@440000 {
15 led-boot = &led_router; -  
16 led-failsafe = &led_router; -  
17 led-running = &led_router; -  
18 led-upgrade = &led_router; 15 status = "ok";
Line 19... Line 16...
19 }; 16 };
20   17  
21 cfi@1f000000 { 18 cfi@1f000000 {
22 compatible = "cfi-flash"; 19 compatible = "cfi-flash";
23 reg = <0x1f000000 0x800000>; 20 reg = <0x1f000000 0x800000>;
-   21 bank-width = <2>;
-   22 device-width = <2>;
Line 24... Line -...
24 bank-width = <2>; -  
25 device-width = <2>; -  
26   -  
27 partitions { -  
28 compatible = "fixed-partitions"; -  
29 #address-cells = <1>; 23 #address-cells = <1>;
30 #size-cells = <1>; 24 #size-cells = <1>;
31   25  
32 partition@0 { 26 partition@0 {
33 label = "uboot"; 27 label = "uboot";
34 reg = <0x0 0x30000>; 28 reg = <0x0 0x30000>;
35 read-only; 29 read-only;
36 }; 30 };
37   31  
38 partition@30000 { 32 partition@30000 {
39 label = "uboot-env"; 33 label = "uboot-env";
40 reg = <0x30000 0x10000>; 34 reg = <0x30000 0x10000>;
41 read-only; 35 read-only;
42 }; 36 };
43   37  
44 factory: partition@40000 { 38 factory: partition@40000 {
45 label = "factory"; 39 label = "factory";
46 reg = <0x40000 0x10000>; 40 reg = <0x40000 0x10000>;
47 read-only; 41 read-only;
48 }; -  
49   42 };
50 partition@50000 { 43  
51 compatible = "denx,uimage"; -  
52 label = "firmware"; 44 partition@50000 {
53 reg = <0x50000 0x3b0000>; 45 label = "firmware";
Line 54... Line 46...
54 }; 46 reg = <0x50000 0x3b0000>;
55 }; 47 };
56 }; 48 };
57   49  
58 rtl8366s { 50 rtl8366s {
Line 59... Line 51...
59 compatible = "realtek,rtl8366s"; 51 compatible = "realtek,rtl8366s";
60 gpio-sda = <&gpio0 1 GPIO_ACTIVE_HIGH>; 52 gpio-sda = <&gpio0 1 GPIO_ACTIVE_HIGH>;
-   53 gpio-sck = <&gpio0 2 GPIO_ACTIVE_HIGH>;
-   54 };
61 gpio-sck = <&gpio0 2 GPIO_ACTIVE_HIGH>; 55  
Line 62... Line 56...
62 }; 56 gpio-keys-polled {
63   57 compatible = "gpio-keys-polled";
64 keys { 58 #address-cells = <1>;
Line 82... Line 76...
82 gpios = <&gpio0 9 GPIO_ACTIVE_LOW>; 76 gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
83 linux,code = <KEY_RESTART>; 77 linux,code = <KEY_RESTART>;
84 }; 78 };
85 }; 79 };
Line 86... Line 80...
86   80  
87 leds { 81 gpio-leds {
Line 88... Line 82...
88 compatible = "gpio-leds"; 82 compatible = "gpio-leds";
89   83  
90 led_router: router { 84 router {
91 label = "wzr-agl300nh:green:router"; 85 label = "wzr-agl300nh:green:router";
Line 92... Line 86...
92 gpios = <&gpio0 8 GPIO_ACTIVE_LOW>; 86 gpios = <&gpio0 8 GPIO_ACTIVE_LOW>;
Line 138... Line 132...
138 reg = <0>; 132 reg = <0>;
139 }; 133 };
140 }; 134 };
141 }; 135 };
Line 142... Line -...
142   -  
143 &pci { -  
144 status = "okay"; -  
145 }; -  
146   136  
147 &wmac { 137 &wmac {
148 ralink,mtd-eeprom = <&factory 0>; 138 ralink,mtd-eeprom = <&factory 0>;