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 = "trendnet,tew-714tru", "ralink,rt5350-soc"; 9 compatible = "trendnet,tew-714tru", "ralink,rt5350-soc";
Line 10... Line 10...
10 model = "TRENDnet TEW714TRU"; 10 model = "TRENDnet TEW714TRU";
11   11  
Line 12... Line 12...
12 leds { 12 gpio-leds {
13 compatible = "gpio-leds"; 13 compatible = "gpio-leds";
14   14  
15 usb { -  
16 label = "tew-714tru:red:usb"; -  
17 gpios = <&gpio0 9 GPIO_ACTIVE_LOW>; 15 usb {
Line 18... Line 16...
18 trigger-sources = <&ohci_port1>, <&ehci_port1>; 16 label = "tew-714tru:red:usb";
19 linux,default-trigger = "usbport"; 17 gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
20 }; 18 };
21   19  
22 wifi { 20 wifi {
Line 23... Line 21...
23 label = "tew-714tru:green:wifi"; 21 label = "tew-714tru:green:wifi";
24 gpios = <&gpio0 13 GPIO_ACTIVE_LOW>; 22 gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
-   23 };
-   24 };
25 }; 25  
Line 26... Line 26...
26 }; 26 gpio-keys-polled {
27   27 compatible = "gpio-keys-polled";
28 keys { 28 #address-cells = <1>;
Line 60... Line 60...
60   60  
61 &spi0 { 61 &spi0 {
Line 62... Line 62...
62 status = "okay"; 62 status = "okay";
-   63  
-   64 m25p80@0 {
63   65 #address-cells = <1>;
64 m25p80@0 { 66 #size-cells = <1>;
65 compatible = "jedec,spi-nor"; 67 compatible = "jedec,spi-nor";
Line 66... Line -...
66 reg = <0>; -  
67 spi-max-frequency = <10000000>; -  
68   -  
69 partitions { -  
70 compatible = "fixed-partitions"; -  
71 #address-cells = <1>; 68 reg = <0>;
72 #size-cells = <1>; 69 spi-max-frequency = <10000000>;
73   70  
74 partition@0 { 71 partition@0 {
75 label = "u-boot"; 72 label = "u-boot";
Line 88... Line 85...
88 reg = <0x40000 0x10000>; 85 reg = <0x40000 0x10000>;
89 read-only; 86 read-only;
90 }; 87 };
Line 91... Line 88...
91   88  
92 partition@50000 { -  
93 compatible = "denx,uimage"; 89 partition@50000 {
94 label = "firmware"; 90 label = "firmware";
95 reg = <0x50000 0x7b0000>; 91 reg = <0x50000 0x7b0000>;
96 }; 92 };
97 }; 93 };
98 }; -  
Line 99... Line 94...
99 }; 94 };
100   95  
101 &pinctrl { 96 &pinctrl {
102 state_default: pinctrl0 { 97 state_default: pinctrl0 {