OpenWrt – Diff between revs 2 and 3

Subversion Repositories:
Rev:
Show entire fileRegard whitespace
Rev 2 Rev 3
Line 7... Line 7...
7   7  
8 / { 8 / {
9 compatible = "tenda,3g300m", "ralink,rt3052-soc"; 9 compatible = "tenda,3g300m", "ralink,rt3052-soc";
Line 10... Line -...
10 model = "Tenda 3G300M"; -  
11   -  
12 aliases { -  
13 led-boot = &led_ap; -  
14 led-failsafe = &led_ap; -  
15 led-running = &led_ap; -  
16 led-upgrade = &led_ap; -  
17 }; 10 model = "Tenda 3G300M";
18   11  
Line 19... Line 12...
19 leds { 12 gpio-leds {
20 compatible = "gpio-leds"; 13 compatible = "gpio-leds";
21   14  
22 3grouter { 15 3grouter {
Line 23... Line 16...
23 label = "3g300m:blue:3grouter"; 16 label = "3g300m:blue:3grouter";
24 gpios = <&gpio0 11 GPIO_ACTIVE_LOW>; 17 gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
25 }; 18 };
26   19  
Line 27... Line 20...
27 led_ap: ap { 20 ap {
Line 40... Line 33...
40 }; 33 };
Line 41... Line 34...
41   34  
42 3g { 35 3g {
43 label = "3g300m:blue:3g"; 36 label = "3g300m:blue:3g";
44 gpios = <&gpio0 7 GPIO_ACTIVE_LOW>; -  
45 trigger-sources = <&otg_port1>; -  
46 linux,default-trigger = "usbport"; 37 gpios = <&gpio0 7 GPIO_ACTIVE_LOW>;
Line 47... Line 38...
47 }; 38 };
48   39  
49 wpsreset { 40 wpsreset {
50 label = "3g300m:blue:wpsreset"; 41 label = "3g300m:blue:wpsreset";
51 gpios = <&gpio0 14 GPIO_ACTIVE_LOW>; 42 gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
Line 52... Line 43...
52 }; 43 };
53 }; 44 };
-   45  
-   46 gpio-keys-polled {
54   47 compatible = "gpio-keys-polled";
Line 55... Line 48...
55 keys { 48 #address-cells = <1>;
56 compatible = "gpio-keys-polled"; 49 #size-cells = <0>;
57 poll-interval = <20>; 50 poll-interval = <20>;
Line 72... Line 65...
72   65  
73 &spi0 { 66 &spi0 {
Line 74... Line 67...
74 status = "okay"; 67 status = "okay";
-   68  
-   69 m25p80@0 {
75   70 #address-cells = <1>;
76 m25p80@0 { 71 #size-cells = <1>;
77 compatible = "jedec,spi-nor"; 72 compatible = "jedec,spi-nor";
Line 78... Line -...
78 reg = <0>; -  
79 spi-max-frequency = <10000000>; -  
80   -  
81 partitions { -  
82 compatible = "fixed-partitions"; -  
83 #address-cells = <1>; 73 reg = <0>;
84 #size-cells = <1>; 74 spi-max-frequency = <10000000>;
85   75  
86 partition@0 { 76 partition@0 {
87 label = "u-boot"; 77 label = "u-boot";
Line 100... Line 90...
100 reg = <0x40000 0x10000>; 90 reg = <0x40000 0x10000>;
101 read-only; 91 read-only;
102 }; 92 };
Line 103... Line 93...
103   93  
104 partition@50000 { -  
105 compatible = "denx,uimage"; 94 partition@50000 {
106 label = "firmware"; 95 label = "firmware";
107 reg = <0x50000 0x3b0000>; 96 reg = <0x50000 0x3b0000>;
108 }; 97 };
109 }; 98 };
110 }; -  
Line 111... Line 99...
111 }; 99 };
112   100  
113 &pinctrl { 101 &pinctrl {
114 state_default: pinctrl0 { 102 state_default: pinctrl0 {