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 = "asus,rt-n12p", "ralink,mt7620n-soc"; 9 compatible = "asus,rt-n12p", "ralink,mt7620n-soc";
Line 10... Line -...
10 model = "Asus RT-N12+"; -  
11   -  
12 aliases { -  
13 led-boot = &led_power; -  
14 led-failsafe = &led_power; -  
15 led-running = &led_power; -  
16 led-upgrade = &led_power; -  
17 }; 10 model = "Asus RT-N12+";
18   11  
19 chosen { 12 chosen {
Line 20... Line 13...
20 bootargs = "console=ttyS0,115200"; 13 bootargs = "console=ttyS0,115200";
21 }; 14 };
Line 22... Line 15...
22   15  
23 leds { 16 gpio-leds {
24 compatible = "gpio-leds"; 17 compatible = "gpio-leds";
Line 31... Line 24...
31 lan { 24 lan {
32 label = "rt-n12p:green:lan"; 25 label = "rt-n12p:green:lan";
33 gpios = <&gpio1 15 GPIO_ACTIVE_LOW>; 26 gpios = <&gpio1 15 GPIO_ACTIVE_LOW>;
34 }; 27 };
Line 35... Line 28...
35   28  
36 led_power: power { 29 power {
37 label = "rt-n12p:green:power"; 30 label = "rt-n12p:green:power";
38 gpios = <&gpio2 3 GPIO_ACTIVE_LOW>; 31 gpios = <&gpio2 3 GPIO_ACTIVE_LOW>;
Line 39... Line 32...
39 }; 32 };
40   33  
41 air { 34 air {
42 label = "rt-n12p:green:air"; 35 label = "rt-n12p:green:air";
43 gpios = <&gpio3 0 GPIO_ACTIVE_LOW>; 36 gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
Line 44... Line 37...
44 }; 37 };
45 }; 38 };
-   39  
-   40 gpio-keys-polled {
46   41 compatible = "gpio-keys-polled";
Line 47... Line 42...
47 keys { 42 #address-cells = <1>;
48 compatible = "gpio-keys-polled"; 43 #size-cells = <0>;
49 poll-interval = <20>; 44 poll-interval = <20>;
Line 70... Line 65...
70   65  
71 &spi0 { 66 &spi0 {
Line 72... Line 67...
72 status = "okay"; 67 status = "okay";
-   68  
-   69 m25p80@0 {
73   70 #address-cells = <1>;
74 m25p80@0 { 71 #size-cells = <1>;
75 compatible = "jedec,spi-nor"; 72 compatible = "jedec,spi-nor";
Line 76... Line -...
76 reg = <0>; -  
77 spi-max-frequency = <10000000>; -  
78   -  
79 partitions { -  
80 compatible = "fixed-partitions"; -  
81 #address-cells = <1>; 73 reg = <0>;
82 #size-cells = <1>; 74 spi-max-frequency = <10000000>;
83   75  
84 partition@0 { 76 partition@0 {
85 label = "u-boot"; 77 label = "u-boot";
Line 98... Line 90...
98 reg = <0x40000 0x10000>; 90 reg = <0x40000 0x10000>;
99 read-only; 91 read-only;
100 }; 92 };
Line 101... Line 93...
101   93  
102 partition@50000 { -  
103 compatible = "denx,uimage"; 94 partition@50000 {
104 label = "firmware"; 95 label = "firmware";
105 reg = <0x50000 0xfb0000>; 96 reg = <0x50000 0xfb0000>;
106 }; 97 };
107 }; 98 };
108 }; -  
Line 109... Line 99...
109 }; 99 };
110   100  
111 &ethernet { 101 &ethernet {
112 mtd-mac-address = <&factory 0x4>; 102 mtd-mac-address = <&factory 0x4>;