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 = "mediatek,linkit-smart-7688", "mediatek,mt7628an-soc"; 9 compatible = "mediatek,linkit-smart-7688", "mediatek,mt7628an-soc";
Line 10... Line -...
10 model = "MediaTek LinkIt Smart 7688"; -  
11   -  
12 aliases { -  
13 led-boot = &led_wifi; -  
14 led-failsafe = &led_wifi; -  
15 led-running = &led_wifi; -  
16 led-upgrade = &led_wifi; -  
17 }; 10 model = "MediaTek LinkIt Smart 7688";
18   11  
19 chosen { 12 chosen {
Line 20... Line 13...
20 bootargs = "console=ttyS2,57600"; 13 bootargs = "console=ttyS2,57600";
Line 33... Line 26...
33 compatible = "mediatek,linkit"; 26 compatible = "mediatek,linkit";
Line 34... Line 27...
34   27  
35 status = "okay"; 28 status = "okay";
Line 36... Line 29...
36 }; 29 };
37   30  
Line 38... Line 31...
38 leds { 31 gpio-leds {
39 compatible = "gpio-leds"; 32 compatible = "gpio-leds";
40   33  
41 led_wifi: wifi { 34 wifi {
42 label = "linkit-smart-7688:orange:wifi"; 35 label = "linkit-smart-7688:orange:wifi";
Line 43... Line 36...
43 gpios = <&gpio1 12 GPIO_ACTIVE_LOW>; 36 gpios = <&gpio1 12 GPIO_ACTIVE_LOW>;
44 }; 37 };
-   38 };
-   39  
45 }; 40 gpio-keys-polled {
Line 46... Line 41...
46   41 compatible = "gpio-keys-polled";
47 keys { 42 #address-cells = <1>;
48 compatible = "gpio-keys-polled"; 43 #size-cells = <0>;
Line 99... Line 94...
99   94  
100 pinctrl-names = "default"; 95 pinctrl-names = "default";
Line 101... Line 96...
101 pinctrl-0 = <&spi_pins>, <&spi_cs1_pins>; 96 pinctrl-0 = <&spi_pins>, <&spi_cs1_pins>;
-   97  
-   98 m25p80@0 {
102   99 #address-cells = <1>;
103 m25p80@0 { 100 #size-cells = <1>;
104 compatible = "jedec,spi-nor"; 101 compatible = "jedec,spi-nor";
-   102 reg = <0>;
-   103 spi-max-frequency = <40000000>;
-   104 m25p,chunked-io = <31>;
-   105  
-   106 partition@0 {
-   107 label = "u-boot";
-   108 reg = <0x0 0x30000>;
-   109 read-only;
-   110 };
-   111  
-   112 partition@30000 {
-   113 label = "u-boot-env";
-   114 reg = <0x30000 0x10000>;
-   115 };
-   116  
-   117 factory: partition@40000 {
-   118 label = "factory";
-   119 reg = <0x40000 0x10000>;
Line 105... Line -...
105 reg = <0>; -  
106 spi-max-frequency = <40000000>; -  
107   -  
108 partitions { -  
109 compatible = "fixed-partitions"; -  
110 #address-cells = <1>; -  
111 #size-cells = <1>; -  
112   -  
113 partition@0 { -  
114 label = "u-boot"; -  
115 reg = <0x0 0x30000>; -  
116 read-only; -  
117 }; -  
118   -  
119 partition@30000 { -  
120 label = "u-boot-env"; -  
121 reg = <0x30000 0x10000>; -  
122 }; -  
123   -  
124 factory: partition@40000 { -  
125 label = "factory"; -  
126 reg = <0x40000 0x10000>; -  
127 read-only; 120 read-only;
128 }; -  
129   121 };
130 partition@50000 { 122  
131 compatible = "denx,uimage"; -  
132 label = "firmware"; 123 partition@50000 {
133 reg = <0x50000 0x1fb0000>; 124 label = "firmware";
Line 134... Line 125...
134 }; 125 reg = <0x50000 0x1fb0000>;
135 }; 126 };