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 = "dlink,dir-620-d1", "ralink,rt3352-soc"; 9 compatible = "dlink,dir-620-d1", "ralink,rt3352-soc";
Line 10... Line -...
10 model = "D-Link DIR-620 D1"; -  
11   -  
12 aliases { -  
13 led-boot = &led_status; -  
14 led-failsafe = &led_status; -  
15 led-running = &led_status; -  
16 led-upgrade = &led_status; -  
17 }; 10 model = "D-Link DIR-620 D1";
18   11  
Line 19... Line 12...
19 leds { 12 gpio-leds {
20 compatible = "gpio-leds"; 13 compatible = "gpio-leds";
21   14  
22 led_status: status { 15 status {
Line 23... Line 16...
23 label = "dir-620-d1:green:status"; 16 label = "dir-620-d1:green:status";
24 gpios = <&gpio0 9 GPIO_ACTIVE_LOW>; 17 gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
25 }; 18 };
26   19  
27 wifi { 20 wifi {
Line 28... Line 21...
28 label = "dir-620-d1:green:wifi"; 21 label = "dir-620-d1:green:wifi";
29 gpios = <&gpio0 17 GPIO_ACTIVE_LOW>; 22 gpios = <&gpio0 17 GPIO_ACTIVE_LOW>;
-   23 };
-   24 };
30 }; 25  
Line 31... Line 26...
31 }; 26 gpio-keys-polled {
32   27 compatible = "gpio-keys-polled";
33 keys { 28 #address-cells = <1>;
Line 44... Line 39...
44   39  
45 &spi0 { 40 &spi0 {
Line 46... Line 41...
46 status = "okay"; 41 status = "okay";
-   42  
-   43 m25p80@0 {
47   44 #address-cells = <1>;
48 m25p80@0 { 45 #size-cells = <1>;
49 compatible = "jedec,spi-nor"; 46 compatible = "jedec,spi-nor";
Line 50... Line -...
50 reg = <0>; -  
51 spi-max-frequency = <10000000>; -  
52   -  
53 partitions { -  
54 compatible = "fixed-partitions"; -  
55 #address-cells = <1>; 47 reg = <0>;
56 #size-cells = <1>; 48 spi-max-frequency = <10000000>;
57   49  
58 partition@0 { 50 partition@0 {
59 label = "u-boot"; 51 label = "u-boot";
60 reg = <0x0 0x30000>; 52 reg = <0x0 0x30000>;
61 read-only; 53 read-only;
62 }; 54 };
63   55  
64 partition@30000 { 56 partition@30000 {
65 label = "u-boot-env"; 57 label = "u-boot-env";
66 reg = <0x30000 0x10000>; 58 reg = <0x30000 0x10000>;
67 read-only; 59 read-only;
68 }; 60 };
69   61  
70 factory: partition@40000 { 62 factory: partition@40000 {
71 label = "factory"; 63 label = "factory";
72 reg = <0x40000 0x10000>; 64 reg = <0x40000 0x10000>;
73 read-only; 65 read-only;
74 }; -  
75   66 };
76 partition@50000 { 67  
77 compatible = "denx,uimage"; -  
78 label = "firmware"; 68 partition@50000 {
79 reg = <0x50000 0x7b0000>; 69 label = "firmware";
80 }; 70 reg = <0x50000 0x7b0000>;
Line 81... Line 71...
81 }; 71 };