OpenWrt – Diff between revs 2 and 3

Subversion Repositories:
Rev:
Show entire fileIgnore whitespace
Rev 2 Rev 3
Line 4... Line 4...
4 #include <dt-bindings/input/input.h> 4 #include <dt-bindings/input/input.h>
Line 5... Line 5...
5   5  
6 / { 6 / {
Line 7... Line -...
7 compatible = "onion,omega2", "mediatek,mt7628an-soc"; -  
8   -  
9 aliases { -  
10 led-boot = &system_led; -  
11 led-failsafe = &system_led; -  
12 led-running = &system_led; -  
13 led-upgrade = &system_led; -  
14 }; 7 compatible = "onion,omega2", "mediatek,mt7628an-soc";
15   8  
16 chosen { 9 chosen {
Line 17... Line 10...
17 bootargs = "console=ttyS0,115200"; 10 bootargs = "console=ttyS0,115200";
18 }; 11 };
Line 19... Line 12...
19   12  
20 leds { 13 gpio-leds {
21 compatible = "gpio-leds"; 14 compatible = "gpio-leds";
22   15  
Line 23... Line 16...
23 system_led: system { 16 system_led: system {
24 gpios = <&gpio1 12 GPIO_ACTIVE_LOW>; 17 gpios = <&gpio1 12 GPIO_ACTIVE_LOW>;
-   18 };
-   19 };
25 }; 20  
Line 26... Line 21...
26 }; 21 gpio-keys-polled {
27   22 compatible = "gpio-keys-polled";
28 keys { 23 #address-cells = <1>;
Line 104... Line 99...
104   99  
105 pinctrl-names = "default"; 100 pinctrl-names = "default";
Line 106... Line 101...
106 pinctrl-0 = <&spi_pins>, <&spi_cs1_pins>; 101 pinctrl-0 = <&spi_pins>, <&spi_cs1_pins>;
-   102  
-   103 m25p80@0 {
107   104 #address-cells = <1>;
108 m25p80@0 { 105 #size-cells = <1>;
109 compatible = "jedec,spi-nor"; 106 compatible = "jedec,spi-nor";
-   107 reg = <0>;
-   108 spi-max-frequency = <40000000>;
-   109 m25p,chunked-io = <31>;
-   110  
-   111 partition@0 {
-   112 label = "u-boot";
-   113 reg = <0x0 0x30000>;
-   114 read-only;
-   115 };
-   116  
-   117 partition@30000 {
-   118 label = "u-boot-env";
-   119 reg = <0x30000 0x10000>;
-   120 read-only;
-   121 };
-   122  
-   123 factory: partition@40000 {
-   124 label = "factory";
-   125 reg = <0x40000 0x10000>;
Line 110... Line -...
110 reg = <0>; -  
111 spi-max-frequency = <40000000>; -  
112   -  
113 partitions { -  
114 compatible = "fixed-partitions"; -  
115 #address-cells = <1>; -  
116 #size-cells = <1>; -  
117   -  
118 partition@0 { -  
119 label = "u-boot"; -  
120 reg = <0x0 0x30000>; -  
121 read-only; -  
122 }; -  
123   -  
124 partition@30000 { -  
125 label = "u-boot-env"; -  
126 reg = <0x30000 0x10000>; -  
127 read-only; -  
128 }; -  
129   -  
130 factory: partition@40000 { -  
131 label = "factory"; -  
132 reg = <0x40000 0x10000>; -  
133 read-only; 126 read-only;
134 }; -  
135   127 };
136 firmware: partition@50000 { -  
137 compatible = "denx,uimage"; 128  
138 label = "firmware"; 129 firmware: partition@50000 {
Line 139... Line 130...
139 }; 130 label = "firmware";
140 }; 131 };