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 = "wiznet,wizfi630a", "ralink,rt5350-soc"; 9 compatible = "wiznet,wizfi630a", "ralink,rt5350-soc";
Line 10... Line -...
10 model = "WIZnet WizFi630A"; -  
11   -  
12 aliases { -  
13 led-boot = &led_run; -  
14 led-failsafe = &led_run; -  
15 led-running = &led_run; -  
16 led-upgrade = &led_run; -  
17 }; 10 model = "WIZnet WizFi630A";
18   11  
19 chosen { 12 chosen {
Line 20... Line 13...
20 bootargs = "console=ttyS1,115200"; 13 bootargs = "console=ttyS1,115200";
21 }; 14 };
Line 22... Line 15...
22   15  
23 leds { 16 gpio-leds {
24 compatible = "gpio-leds"; 17 compatible = "gpio-leds";
25   18  
Line 26... Line 19...
26 led_run: run { 19 run {
Line 42... Line 35...
42 label = "wizfi630a::uart2"; 35 label = "wizfi630a::uart2";
43 gpios = <&gpio0 21 GPIO_ACTIVE_LOW>; 36 gpios = <&gpio0 21 GPIO_ACTIVE_LOW>;
44 }; 37 };
45 }; 38 };
Line 46... Line 39...
46   39  
47 keys { 40 gpio-keys-polled {
-   41 compatible = "gpio-keys-polled";
-   42 #address-cells = <1>;
48 compatible = "gpio-keys-polled"; 43 #size-cells = <0>;
Line 49... Line 44...
49 poll-interval = <20>; 44 poll-interval = <20>;
50   45  
51 reset { 46 reset {
Line 57... Line 52...
57 wps { 52 wps {
58 label = "wps"; 53 label = "wps";
59 gpios = <&gpio0 0 GPIO_ACTIVE_LOW>; 54 gpios = <&gpio0 0 GPIO_ACTIVE_LOW>;
60 linux,code = <KEY_WPS_BUTTON>; 55 linux,code = <KEY_WPS_BUTTON>;
61 }; 56 };
62   57
63 scm1 { 58 scm1 {
64 label = "SCM1"; 59 label = "SCM1";
65 gpios = <&gpio0 19 GPIO_ACTIVE_LOW>; 60 gpios = <&gpio0 19 GPIO_ACTIVE_LOW>;
66 linux,code = <BTN_0>; 61 linux,code = <BTN_0>;
67 }; 62 };
Line 80... Line 75...
80   75  
81 &spi0 { 76 &spi0 {
Line 82... Line 77...
82 status = "okay"; 77 status = "okay";
-   78  
-   79 m25p80@0 {
83   80 #address-cells = <1>;
84 m25p80@0 { 81 #size-cells = <1>;
85 compatible = "jedec,spi-nor"; 82 compatible = "jedec,spi-nor";
Line 86... Line 83...
86 reg = <0>; 83 reg = <0>;
87 spi-max-frequency = <10000000>; -  
88   -  
89 partitions { 84 spi-max-frequency = <10000000>;
-   85  
-   86 partition@0 {
-   87 #size-cells = <1>;
-   88 label = "uboot";
Line 90... Line -...
90 compatible = "fixed-partitions"; -  
91 #address-cells = <1>; -  
92 #size-cells = <1>; -  
93   -  
94 partition@0 { -  
95 #size-cells = <1>; -  
96 label = "uboot"; -  
97 reg = <0x0 0x30000>; 89 reg = <0x0 0x30000>;
98 read-only; 90 read-only;
99 }; 91 };
100   92  
101 partition@30000 { 93 partition@30000 {
102 #size-cells = <1>; 94 #size-cells = <1>;
103 label = "uboot-env"; 95 label = "uboot-env";
104 reg = <0x30000 0x10000>; 96 reg = <0x30000 0x10000>;
105 read-only; 97 read-only;
106 }; 98 };
107   99  
108 factory: partition@40000 { 100 factory: partition@40000 {
109 #size-cells = <1>; 101 #size-cells = <1>;
110 label = "factory"; 102 label = "factory";
111 reg = <0x40000 0x10000>; 103 reg = <0x40000 0x10000>;
112 read-only; -  
113 }; 104 read-only;
114   105 };
115 partition@50000 { 106  
116 compatible = "denx,uimage"; -  
117 #size-cells = <1>; 107 partition@50000 {
118 label = "firmware"; 108 #size-cells = <1>;
119 reg = <0x50000 0xfb0000>; 109 label = "firmware";
Line 120... Line 110...
120 }; 110 reg = <0x50000 0xfb0000>;