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 = "asus,rt-n15", "ralink,rt2880-soc"; 11 compatible = "asus,rt-n15", "ralink,rt2880-soc";
12 model = "Asus RT-N15"; 12 model = "Asus RT-N15";
Line 13... Line -...
13   -  
14 aliases { -  
15 led-boot = &led_power; -  
16 led-failsafe = &led_power; -  
17 led-running = &led_power; -  
18 led-upgrade = &led_power; -  
19 }; -  
20   13  
21 cfi@1f000000 { 14 cfi@1f000000 {
22 compatible = "cfi-flash"; 15 compatible = "cfi-flash";
23 reg = <0x1f000000 0x800000>; 16 reg = <0x1f000000 0x800000>;
24 bank-width = <2>; 17 bank-width = <2>;
-   18 device-width = <2>;
-   19 #address-cells = <1>;
-   20 #size-cells = <1>;
-   21  
-   22 partition@0 {
-   23 label = "uboot";
-   24 reg = <0x0 0x30000>;
-   25 read-only;
-   26 };
-   27  
-   28 partition@30000 {
-   29 label = "uboot-env";
-   30 reg = <0x30000 0x10000>;
-   31 read-only;
-   32 };
-   33  
-   34 factory: partition@40000 {
-   35 label = "factory";
-   36 reg = <0x40000 0x10000>;
-   37 read-only;
Line 25... Line -...
25 device-width = <2>; -  
26   -  
27 partitions { -  
28 compatible = "fixed-partitions"; -  
29 #address-cells = <1>; -  
30 #size-cells = <1>; -  
31   -  
32 partition@0 { -  
33 label = "uboot"; -  
34 reg = <0x0 0x30000>; -  
35 read-only; -  
36 }; -  
37   -  
38 partition@30000 { -  
39 label = "uboot-env"; -  
40 reg = <0x30000 0x10000>; -  
41 read-only; -  
42 }; -  
43   -  
44 factory: partition@40000 { -  
45 label = "factory"; -  
46 reg = <0x40000 0x10000>; -  
47 read-only; -  
48 }; 38 };
49   -  
50 partition@50000 { 39  
51 compatible = "denx,uimage"; 40 partition@50000 {
52 label = "firmware"; -  
53 reg = <0x50000 0x3b0000>; 41 label = "firmware";
54 }; 42 reg = <0x50000 0x3b0000>;
Line 55... Line 43...
55 }; 43 };
56 }; 44 };
57   45  
58 rtl8366s { 46 rtl8366s {
59 compatible = "realtek,rtl8366s"; 47 compatible = "realtek,rtl8366s";
Line 60... Line 48...
60 gpio-sda = <&gpio0 1 GPIO_ACTIVE_HIGH>; 48 gpio-sda = <&gpio0 1 GPIO_ACTIVE_HIGH>;
61 gpio-sck = <&gpio0 2 GPIO_ACTIVE_HIGH>; 49 gpio-sck = <&gpio0 2 GPIO_ACTIVE_HIGH>;
-   50 };
-   51  
62 }; 52 gpio-keys-polled {
Line 63... Line 53...
63   53 compatible = "gpio-keys-polled";
64 keys { 54 #address-cells = <1>;
65 compatible = "gpio-keys-polled"; 55 #size-cells = <0>;
Line 76... Line 66...
76 gpios = <&gpio0 12 GPIO_ACTIVE_HIGH>; 66 gpios = <&gpio0 12 GPIO_ACTIVE_HIGH>;
77 linux,code = <KEY_RESTART>; 67 linux,code = <KEY_RESTART>;
78 }; 68 };
79 }; 69 };
Line 80... Line 70...
80   70  
81 leds { 71 gpio-leds {
Line 82... Line 72...
82 compatible = "gpio-leds"; 72 compatible = "gpio-leds";
83   73  
84 led_power: power { 74 power {
85 label = "rt-n15:blue:power"; 75 label = "rt-n15:blue:power";
86 gpios = <&gpio0 11 GPIO_ACTIVE_LOW>; 76 gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
87 }; 77 };