OpenWrt – Diff between revs 2 and 3

Subversion Repositories:
Rev:
Show entire fileIgnore 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";
86 reg = <0x0 0x30000>; 78 reg = <0x0 0x30000>;
87 read-only; 79 read-only;
88 }; 80 };
89   81  
90 partition@30000 { 82 partition@30000 {
91 label = "u-boot-env"; 83 label = "u-boot-env";
92 reg = <0x30000 0x10000>; 84 reg = <0x30000 0x10000>;
93 read-only; 85 read-only;
94 }; 86 };
95   87  
96 factory: partition@40000 { 88 factory: partition@40000 {
97 label = "factory"; 89 label = "factory";
98 reg = <0x40000 0x10000>; 90 reg = <0x40000 0x10000>;
99 read-only; 91 read-only;
100 }; -  
101   92 };
102 partition@50000 { 93  
103 compatible = "denx,uimage"; -  
104 label = "firmware"; 94 partition@50000 {
105 reg = <0x50000 0xfb0000>; 95 label = "firmware";
106 }; 96 reg = <0x50000 0xfb0000>;
Line 107... Line 97...
107 }; 97 };