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 = "netgear,wnce2001", "ralink,rt3052-soc"; 9 compatible = "netgear,wnce2001", "ralink,rt3052-soc";
Line 10... Line -...
10 model = "Netgear WNCE2001"; -  
11   -  
12 aliases { -  
13 led-boot = &led_power_green; -  
14 led-failsafe = &led_power_green; -  
15 led-running = &led_power_green; -  
16 led-upgrade = &led_power_green; -  
17 }; 10 model = "Netgear WNCE2001";
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";
25   18  
Line 26... Line 19...
26 led_power_green: power-green { 19 power-green {
Line 42... Line 35...
42 label = "wnce2001:red:wlan"; 35 label = "wnce2001:red:wlan";
43 gpios = <&gpio0 13 GPIO_ACTIVE_HIGH>; 36 gpios = <&gpio0 13 GPIO_ACTIVE_HIGH>;
44 }; 37 };
45 }; 38 };
Line 46... Line 39...
46   39  
47 keys { 40 gpio-keys-polled {
-   41 compatible = "gpio-keys-polled";
-   42 #address-cells = <1>;
48 compatible = "gpio-keys-polled"; 43 #size-cells = <0>;
Line 49... Line 44...
49 poll-interval = <20>; 44 poll-interval = <20>;
50   45  
51 reset { 46 reset {
Line 76... Line 71...
76   71  
77 &spi0 { 72 &spi0 {
Line 78... Line 73...
78 status = "okay"; 73 status = "okay";
-   74  
-   75 m25p80@0 {
79   76 #address-cells = <1>;
80 m25p80@0 { 77 #size-cells = <1>;
81 compatible = "jedec,spi-nor"; 78 compatible = "jedec,spi-nor";
Line 82... Line -...
82 reg = <0>; -  
83 spi-max-frequency = <10000000>; -  
84   -  
85 partitions { -  
86 compatible = "fixed-partitions"; -  
87 #address-cells = <1>; 79 reg = <0>;
88 #size-cells = <1>; 80 spi-max-frequency = <10000000>;
89   81  
90 partition@0 { 82 partition@0 {
91 label = "u-boot"; 83 label = "u-boot";
92 reg = <0x0 0x30000>; 84 reg = <0x0 0x30000>;
93 read-only; 85 read-only;
94 }; 86 };
95   87  
96 factory: partition@30000 { 88 factory: partition@30000 {
97 label = "factory"; 89 label = "factory";
98 reg = <0x30000 0x10000>; 90 reg = <0x30000 0x10000>;
99 read-only; 91 read-only;
100 }; 92 };
101   93  
102 partition@40000 { 94 partition@40000 {
103 label = "config"; 95 label = "config";
104 reg = <0x40000 0x20000>; 96 reg = <0x40000 0x20000>;
105 read-only; 97 read-only;
106 }; 98 };
107   99  
108 partition@60000 { 100 partition@60000 {
109 label = "language"; 101 label = "language";
110 reg = <0x60000 0x30000>; 102 reg = <0x60000 0x30000>;
111 read-only; 103 read-only;
112 }; 104 };
113   105  
114 partition@90000 { 106 partition@90000 {
115 label = "pot"; 107 label = "pot";
116 reg = <0x90000 0x10000>; 108 reg = <0x90000 0x10000>;
117 read-only; 109 read-only;
118 }; 110 };
119   111  
120 partition@a0000 { 112 partition@a0000 {
121 label = "checksum"; 113 label = "checksum";
122 reg = <0xa0000 0x10000>; 114 reg = <0xa0000 0x10000>;
123 }; -  
124   115 };
125 partition@b0000 { 116  
126 compatible = "denx,uimage"; -  
127 label = "firmware"; 117 partition@b0000 {
128 reg = <0xb0000 0x350000>; 118 label = "firmware";
129 }; 119 reg = <0xb0000 0x350000>;
Line 130... Line 120...
130 }; 120 };