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 = "belkin,f7c027", "ralink,rt5350-soc"; 9 compatible = "belkin,f7c027", "ralink,rt5350-soc";
Line 10... Line -...
10 model = "Belkin F7C027"; -  
11   -  
12 aliases { -  
13 led-boot = &led_status_orange; -  
14 led-failsafe = &led_status_orange; -  
15 led-running = &led_status_orange; -  
16 led-upgrade = &led_status_orange; -  
17 }; 10 model = "Belkin F7C027";
18   11  
Line 19... Line 12...
19 leds { 12 gpio-leds {
20 compatible = "gpio-leds"; 13 compatible = "gpio-leds";
21   14  
Line 27... Line 20...
27 power { 20 power {
28 label = "f7c027:blue:power"; 21 label = "f7c027:blue:power";
29 gpios = <&gpio0 9 GPIO_ACTIVE_LOW>; 22 gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
30 }; 23 };
Line 31... Line 24...
31   24  
32 led_status_orange: orange { 25 orange {
33 label = "f7c027:orange:status"; 26 label = "f7c027:orange:status";
34 gpios = <&gpio0 11 GPIO_ACTIVE_LOW>; 27 gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
Line 35... Line 28...
35 }; 28 };
36   29  
37 relay { 30 relay {
38 label = "f7c027:device:relay"; 31 label = "f7c027:device:relay";
39 gpios = <&gpio0 13 GPIO_ACTIVE_HIGH>; 32 gpios = <&gpio0 13 GPIO_ACTIVE_HIGH>;
Line 40... Line 33...
40 }; 33 };
41 }; 34 };
-   35  
-   36 gpio-keys-polled {
42   37 compatible = "gpio-keys-polled";
Line 43... Line 38...
43 keys { 38 #address-cells = <1>;
44 compatible = "gpio-keys-polled"; 39 #size-cells = <0>;
45 poll-interval = <20>; 40 poll-interval = <20>;
Line 66... Line 61...
66   61  
67 &spi0 { 62 &spi0 {
Line 68... Line 63...
68 status = "okay"; 63 status = "okay";
-   64  
-   65 m25p80@0 {
69   66 #address-cells = <1>;
70 m25p80@0 { 67 #size-cells = <1>;
71 compatible = "jedec,spi-nor"; 68 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>; 69 reg = <0>;
78 #size-cells = <1>; 70 spi-max-frequency = <10000000>;
79   71  
80 partition@0 { 72 partition@0 {
81 label = "u-boot"; 73 label = "u-boot";
82 reg = <0x0 0x30000>; 74 reg = <0x0 0x30000>;
83 read-only; 75 read-only;
84 }; 76 };
85   77  
86 partition@30000 { 78 partition@30000 {
87 label = "u-boot-env"; 79 label = "u-boot-env";
88 reg = <0x30000 0x10000>; 80 reg = <0x30000 0x10000>;
89 read-only; 81 read-only;
90 }; 82 };
91   83  
92 factory: partition@40000 { 84 factory: partition@40000 {
93 label = "factory"; 85 label = "factory";
94 reg = <0x40000 0x10000>; 86 reg = <0x40000 0x10000>;
95 read-only; 87 read-only;
96 }; -  
97   88 };
98 partition@50000 { 89  
99 compatible = "denx,uimage"; 90 partition@50000 {
100 label = "firmware"; 91 label = "firmware";
101 reg = <0x50000 0x770000>; 92 reg = <0x50000 0x770000>;
102 }; 93 };
103   94  
104 partition@7c0000 { 95 partition@7c0000 {
105 label = "firmware2"; 96 label = "firmware2";
106 reg = <0x7c0000 0x770000>; 97 reg = <0x7c0000 0x770000>;
107 }; 98 };
108   99  
109 partition@f30000 { 100 partition@f30000 {
110 label = "belkin_settings"; 101 label = "belkin_settings";
111 reg = <0xf30000 0xa0000>; 102 reg = <0xf30000 0xa0000>;
112 }; 103 };
113   104  
114 partition@fd0000 { 105 partition@fd0000 {
115 label = "unknown"; 106 label = "unknown";
116 reg = <0xfd0000 0x10000>; 107 reg = <0xfd0000 0x10000>;
117 }; 108 };
118   109  
119 partition@fe0000 { 110 partition@fe0000 {
120 label = "nvram"; 111 label = "nvram";
121 reg = <0xfe0000 0x10000>; 112 reg = <0xfe0000 0x10000>;
122 }; 113 };
123   114  
124 partition@ff0000 { -  
125 label = "user_factory"; 115 partition@ff0000 {
126 reg = <0xff0000 0x10000>; 116 label = "user_factory";
127 }; 117 reg = <0xff0000 0x10000>;
Line 128... Line 118...
128 }; 118 };