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 = "tenda,3g150b", "ralink,rt5350-soc"; 9 compatible = "tenda,3g150b", "ralink,rt5350-soc";
Line 10... Line -...
10 model = "Tenda 3G150B"; -  
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 3G150B";
18   11  
Line 19... Line 12...
19 leds { 12 gpio-leds {
20 compatible = "gpio-leds"; 13 compatible = "gpio-leds";
21   14  
22 led_ap: ap { 15 ap {
Line 23... Line 16...
23 label = "3g150b:blue:ap"; 16 label = "3g150b:blue:ap";
24 gpios = <&gpio0 7 GPIO_ACTIVE_LOW>; 17 gpios = <&gpio0 7 GPIO_ACTIVE_LOW>;
25 }; 18 };
26   -  
27 3g { -  
28 label = "3g150b:blue:3g"; 19  
29 gpios = <&gpio0 14 GPIO_ACTIVE_LOW>; 20 3g {
Line 30... Line 21...
30 trigger-sources = <&ohci_port1>, <&ehci_port1>; 21 label = "3g150b:blue:3g";
31 linux,default-trigger = "usbport"; 22 gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
-   23 };
-   24 };
32 }; 25  
Line 33... Line 26...
33 }; 26 gpio-keys-polled {
34   27 compatible = "gpio-keys-polled";
35 keys { 28 #address-cells = <1>;
Line 57... Line 50...
57   50  
58 &spi0 { 51 &spi0 {
Line 59... Line 52...
59 status = "okay"; 52 status = "okay";
-   53  
-   54 m25p80@0 {
60   55 #address-cells = <1>;
61 m25p80@0 { 56 #size-cells = <1>;
62 compatible = "jedec,spi-nor"; 57 compatible = "jedec,spi-nor";
Line 63... Line -...
63 reg = <0>; -  
64 spi-max-frequency = <10000000>; -  
65   -  
66 partitions { -  
67 compatible = "fixed-partitions"; -  
68 #address-cells = <1>; 58 reg = <0>;
69 #size-cells = <1>; 59 spi-max-frequency = <10000000>;
70   60  
71 partition@0 { 61 partition@0 {
72 label = "u-boot"; 62 label = "u-boot";
73 reg = <0x0 0x30000>; 63 reg = <0x0 0x30000>;
74 read-only; 64 read-only;
75 }; 65 };
76   66  
77 partition@30000 { 67 partition@30000 {
78 label = "u-boot-env"; 68 label = "u-boot-env";
79 reg = <0x30000 0x10000>; 69 reg = <0x30000 0x10000>;
80 read-only; 70 read-only;
81 }; 71 };
82   72  
83 factory: partition@40000 { 73 factory: partition@40000 {
84 label = "factory"; 74 label = "factory";
85 reg = <0x40000 0x10000>; 75 reg = <0x40000 0x10000>;
86 read-only; 76 read-only;
87 }; -  
88   77 };
89 partition@50000 { 78  
90 compatible = "denx,uimage"; -  
91 label = "firmware"; 79 partition@50000 {
92 reg = <0x50000 0x3b0000>; 80 label = "firmware";
93 }; 81 reg = <0x50000 0x3b0000>;
Line 94... Line 82...
94 }; 82 };
Line 100... Line 88...
100 }; 88 };
Line 101... Line 89...
101   89  
102 &pinctrl { 90 &pinctrl {
103 state_default: pinctrl0 { 91 state_default: pinctrl0 {
104 gpio { 92 gpio {
105 ralink,group = "i2c", "jtag", "uartf", "led"; 93 ralink,group = "i2c", "jtag", "rgmii", "mdio", "uartf", "led";
106 ralink,function = "gpio"; 94 ralink,function = "gpio";
107 }; 95 };
108 }; 96 };