OpenWrt – Diff between revs 2 and 3

Subversion Repositories:
Rev:
Show entire fileRegard 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>;
25 device-width = <2>; -  
26   -  
27 partitions { -  
28 compatible = "fixed-partitions"; 18 device-width = <2>;
29 #address-cells = <1>; 19 #address-cells = <1>;
Line 30... Line 20...
30 #size-cells = <1>; 20 #size-cells = <1>;
31   21  
Line 46... Line 36...
46 reg = <0x40000 0x10000>; 36 reg = <0x40000 0x10000>;
47 read-only; 37 read-only;
48 }; 38 };
Line 49... Line 39...
49   39  
50 partition@50000 { -  
51 compatible = "denx,uimage"; 40 partition@50000 {
52 label = "firmware"; 41 label = "firmware";
53 reg = <0x50000 0x3b0000>; 42 reg = <0x50000 0x3b0000>;
54 }; 43 };
55 }; -  
Line 56... Line 44...
56 }; 44 };
57   45  
58 rtl8366s { 46 rtl8366s {
59 compatible = "realtek,rtl8366s"; 47 compatible = "realtek,rtl8366s";
60 gpio-sda = <&gpio0 1 GPIO_ACTIVE_HIGH>; 48 gpio-sda = <&gpio0 1 GPIO_ACTIVE_HIGH>;
Line 61... Line 49...
61 gpio-sck = <&gpio0 2 GPIO_ACTIVE_HIGH>; 49 gpio-sck = <&gpio0 2 GPIO_ACTIVE_HIGH>;
62 }; 50 };
-   51  
-   52 gpio-keys-polled {
63   53 compatible = "gpio-keys-polled";
Line 64... Line 54...
64 keys { 54 #address-cells = <1>;
65 compatible = "gpio-keys-polled"; 55 #size-cells = <0>;
66 poll-interval = <100>; 56 poll-interval = <100>;
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 };