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 = "sercomm,na930", "ralink,mt7620a-soc"; 9 compatible = "sercomm,na930", "ralink,mt7620a-soc";
Line 10... Line -...
10 model = "Sercomm NA930"; -  
11   -  
12 aliases { -  
13 led-boot = &led_power; -  
14 led-failsafe = &led_power; -  
15 led-running = &led_power; -  
16 led-upgrade = &led_power; -  
17 }; 10 model = "Sercomm NA930";
18   11  
19 chosen { 12 chosen {
Line 20... Line 13...
20 bootargs = "console=ttyS1,57600"; 13 bootargs = "console=ttyS1,57600";
-   14 };
-   15  
21 }; 16 nand {
Line 22... Line -...
22   -  
23 nand { -  
24 compatible = "mtk,mt7620-nand"; -  
25   -  
26 partitions { -  
27 compatible = "fixed-partitions"; 17 #address-cells = <1>;
28 #address-cells = <1>; 18 #size-cells = <1>;
29 #size-cells = <1>; 19 compatible = "mtk,mt7620-nand";
30   20  
31 partition@0 { 21 partition@0 {
32 label = "u-boot"; 22 label = "u-boot";
33 reg = <0x0 0x20000>; 23 reg = <0x0 0x20000>;
34 read-only; 24 read-only;
35 }; 25 };
36   26  
37 partition@200000 { 27 partition@200000 {
38 label = "factory"; 28 label = "factory";
39 reg = <0x200000 0x40000>; 29 reg = <0x200000 0x40000>;
40 read-only; 30 read-only;
41 }; 31 };
42   32  
43 partition@240000 { 33 partition@240000 {
44 label = "Config"; 34 label = "Config";
45 reg = <0x240000 0x400000>; 35 reg = <0x240000 0x400000>;
46 read-only; -  
47 }; 36 read-only;
48   37 };
49 partition@640000 { -  
50 compatible = "denx,uimage"; 38  
51 label = "firmware"; 39 partition@640000 {
Line 52... Line 40...
52 reg = <0x640000 0x1400000>; 40 label = "firmware";
53 }; 41 reg = <0x640000 0x1400000>;
-   42 };
-   43 };
54 }; 44  
Line 55... Line 45...
55 }; 45 gpio-keys-polled {
56   46 compatible = "gpio-keys-polled";
57 keys { 47 #address-cells = <1>;
Line 75... Line 65...
75 gpios = <&gpio0 14 GPIO_ACTIVE_LOW>; 65 gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
76 linux,code = <KEY_WPS_BUTTON>; 66 linux,code = <KEY_WPS_BUTTON>;
77 }; 67 };
78 }; 68 };
Line 79... Line 69...
79   69  
80 leds { 70 gpio-leds {
Line 81... Line 71...
81 compatible = "gpio-leds"; 71 compatible = "gpio-leds";
82   72  
83 zwave { 73 zwave {
84 label = "na930:blue:zwave"; 74 label = "na930:blue:zwave";
Line 85... Line 75...
85 gpios = <&gpio2 0 GPIO_ACTIVE_LOW>; 75 gpios = <&gpio2 0 GPIO_ACTIVE_LOW>;
86 }; 76 };
87   77  
88 status { -  
89 label = "na930:blue:status"; -  
90 gpios = <&gpio2 26 GPIO_ACTIVE_LOW>; 78 status {
Line 91... Line 79...
91 trigger-sources = <&ohci_port1>, <&ehci_port1>; 79 label = "na930:blue:status";
92 linux,default-trigger = "usbport"; 80 gpios = <&gpio2 26 GPIO_ACTIVE_LOW>;
93 }; 81 };
94   82  
Line 95... Line 83...
95 service { 83 service {
96 label = "na930:blue:service"; 84 label = "na930:blue:service";
97 gpios = <&gpio2 28 GPIO_ACTIVE_LOW>; 85 gpios = <&gpio2 28 GPIO_ACTIVE_LOW>;
98 }; 86 };
99   87