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-615-h1", "ralink,rt3352-soc"; 9 compatible = "dlink,dir-615-h1", "ralink,rt3352-soc";
Line 10... Line -...
10 model = "D-Link DIR-615 H1"; -  
11   -  
12 aliases { -  
13 led-boot = &led_status_green; -  
14 led-failsafe = &led_status_green; -  
15 led-running = &led_status_green; -  
16 led-upgrade = &led_status_green; -  
17 }; 10 model = "D-Link DIR-615 H1";
18   11  
Line 19... Line 12...
19 leds { 12 gpio-leds {
20 compatible = "gpio-leds"; 13 compatible = "gpio-leds";
21   14  
22 status { 15 status {
Line 23... Line 16...
23 label = "dir-615-h1:amber:status"; 16 label = "dir-615-h1:amber:status";
24 gpios = <&gpio0 7 GPIO_ACTIVE_HIGH>; 17 gpios = <&gpio0 7 GPIO_ACTIVE_HIGH>;
25 }; 18 };
26   -  
27 led_status_green: status2 { 19  
Line 28... Line 20...
28 label = "dir-615-h1:green:status"; 20 status2 {
29 gpios = <&gpio0 9 GPIO_ACTIVE_HIGH>; 21 label = "dir-615-h1:green:status";
30 default-state = "on"; 22 gpios = <&gpio0 9 GPIO_ACTIVE_HIGH>;
Line 44... Line 36...
44 label = "dir-615-h1:blue:wps"; 36 label = "dir-615-h1:blue:wps";
45 gpios = <&gpio0 14 GPIO_ACTIVE_LOW>; 37 gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
46 }; 38 };
47 }; 39 };
Line 48... Line 40...
48   40  
49 keys { 41 gpio-keys-polled {
-   42 compatible = "gpio-keys-polled";
-   43 #address-cells = <1>;
50 compatible = "gpio-keys-polled"; 44 #size-cells = <0>;
Line 51... Line 45...
51 poll-interval = <20>; 45 poll-interval = <20>;
52   46  
53 reset { 47 reset {
Line 66... Line 60...
66   60  
67 &spi0 { 61 &spi0 {
Line 68... Line 62...
68 status = "okay"; 62 status = "okay";
-   63  
-   64 m25p80@0 {
69   65 #address-cells = <1>;
70 m25p80@0 { 66 #size-cells = <1>;
71 compatible = "jedec,spi-nor"; 67 compatible = "jedec,spi-nor";
Line 72... Line -...
72 reg = <0>; -  
73 spi-max-frequency = <10000000>; -  
74   -  
75 partitions { -  
76 compatible = "fixed-partitions"; -  
77 #address-cells = <1>; 68 reg = <0>;
78 #size-cells = <1>; 69 spi-max-frequency = <10000000>;
79   70  
80 partition@0 { 71 partition@0 {
81 label = "u-boot"; 72 label = "u-boot";
82 reg = <0x0 0x30000>; 73 reg = <0x0 0x30000>;
83 read-only; 74 read-only;
84 }; 75 };
85   76  
86 partition@30000 { 77 partition@30000 {
87 label = "u-boot-env"; 78 label = "u-boot-env";
88 reg = <0x30000 0x10000>; 79 reg = <0x30000 0x10000>;
89 read-only; 80 read-only;
90 }; 81 };
91   82  
92 factory: partition@40000 { 83 factory: partition@40000 {
93 label = "factory"; 84 label = "factory";
94 reg = <0x40000 0x10000>; 85 reg = <0x40000 0x10000>;
95 read-only; 86 read-only;
96 }; -  
97   87 };
98 partition@50000 { 88  
99 compatible = "denx,uimage"; -  
100 label = "firmware"; 89 partition@50000 {
101 reg = <0x50000 0x3b0000>; 90 label = "firmware";
102 }; 91 reg = <0x50000 0x3b0000>;
Line 103... Line 92...
103 }; 92 };