projects
/
openwrt
/
svn-archive
/
archive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
826f6a7
)
ramips: init usb power for Lenovo Y1S
author
John Crispin
<john@openwrt.org>
Sat, 21 Nov 2015 21:24:38 +0000
(21:24 +0000)
committer
John Crispin
<john@openwrt.org>
Sat, 21 Nov 2015 21:24:38 +0000
(21:24 +0000)
Signed-off-by: Shonn Lu <countrysideboy@qq.com>
SVN-Revision: 47557
target/linux/ramips/dts/Y1S.dts
patch
|
blob
|
history
diff --git
a/target/linux/ramips/dts/Y1S.dts
b/target/linux/ramips/dts/Y1S.dts
index f61280b7554dad0a59c63fe6c72c5854b80ca4de..d00416220e0f1f9e9bfe27d35c431dadfb6937e0 100644
(file)
--- a/
target/linux/ramips/dts/Y1S.dts
+++ b/
target/linux/ramips/dts/Y1S.dts
@@
-40,6
+40,27
@@
};
};
};
};
+ gpio_export {
+ compatible = "gpio-export";
+ #size-cells = <0>;
+ /* GPIO 54、55、56 USB1、2、3 */
+ usb0 {
+ gpio-export,name = "usb0";
+ gpio-export,output = <1>; // GPIOF_OUT_INIT_HIGH
+ gpios = <&gpio2 14 0>; // GPIO2:40+14=GPIO 54
+ };
+ usb1 {
+ gpio-export,name = "usb1";
+ gpio-export,output = <1>;
+ gpios = <&gpio2 15 0>;
+ };
+ usb2 {
+ gpio-export,name = "usb2";
+ gpio-export,output = <1>;
+ gpios = <&gpio2 16 0>;
+ };
+ };
+
gsw@10110000 {
ralink,port4 = "gmac";
};
gsw@10110000 {
ralink,port4 = "gmac";
};