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,dwr-116-a1", "ralink,mt7620n-soc"; 9 compatible = "dlink,dwr-116-a1", "ralink,mt7620n-soc";
Line 10... Line 10...
10 model = "D-Link DWR-116 A1/A2"; 10 model = "D-Link DWR-116 A1/A2";
11   -  
12 aliases { -  
13 led-boot = &led_status; -  
14 led-failsafe = &led_status; -  
15 led-running = &led_status; -  
16 led-upgrade = &led_status; -  
17 }; -  
18   11  
-   12 gpio-keys-polled {
-   13 compatible = "gpio-keys-polled";
19 keys { 14 #address-cells = <1>;
Line 20... Line 15...
20 compatible = "gpio-keys-polled"; 15 #size-cells = <0>;
21 poll-interval = <20>; 16 poll-interval = <20>;
22   17  
Line 31... Line 26...
31 gpios = <&gpio0 1 GPIO_ACTIVE_LOW>; 26 gpios = <&gpio0 1 GPIO_ACTIVE_LOW>;
32 linux,code = <KEY_RESTART>; 27 linux,code = <KEY_RESTART>;
33 }; 28 };
34 }; 29 };
Line 35... Line 30...
35   30  
36 leds { 31 gpio-leds {
Line 37... Line 32...
37 compatible = "gpio-leds"; 32 compatible = "gpio-leds";
38   33  
39 led_status: status { 34 status {
40 label = "dwr-116-a1:green:status"; 35 label = "dwr-116-a1:green:status";
Line 41... Line 36...
41 gpios = <&gpio0 0 GPIO_ACTIVE_HIGH>; 36 gpios = <&gpio0 0 GPIO_ACTIVE_HIGH>;
Line 57... Line 52...
57 }; 52 };
Line 58... Line 53...
58   53  
59 &spi0 { 54 &spi0 {
Line 60... Line 55...
60 status = "okay"; 55 status = "okay";
-   56  
-   57 m25p80@0 {
61   58 #address-cells = <1>;
62 flash@0 { 59 #size-cells = <1>;
63 compatible = "jedec,spi-nor"; 60 compatible = "jedec,spi-nor";
Line 64... Line -...
64 reg = <0>; -  
65 spi-max-frequency = <50000000>; -  
66   -  
67 partitions { -  
68 compatible = "fixed-partitions"; -  
69 #address-cells = <1>; 61 reg = <0>;
70 #size-cells = <1>; 62 spi-max-frequency = <50000000>;
71   63  
72 partition@0 { 64 partition@0 {
73 label = "jboot"; 65 label = "jboot";
74 reg = <0x0 0x10000>; 66 reg = <0x0 0x10000>;
75 read-only; 67 read-only;
76 }; -  
77   68 };
78 partition@10000 { 69  
79 compatible = "amit,jimage"; 70 partition@10000 {
80 label = "firmware"; 71 label = "firmware";
81 reg = <0x10000 0x7e0000>; 72 reg = <0x10000 0x7e0000>;
82 }; 73 };
83   74  
84 config: partition@7f0000 { 75 config: partition@7f0000 {
85 label = "config"; -  
86 reg = <0x7f0000 0x10000>; 76 label = "config";
87 read-only; 77 reg = <0x7f0000 0x10000>;
88 }; 78 read-only;
Line 89... Line 79...
89 }; 79 };