diff options
author | John Crispin <blogic@openwrt.org> | 2015-11-21 21:24:38 +0000 |
---|---|---|
committer | John Crispin <blogic@openwrt.org> | 2015-11-21 21:24:38 +0000 |
commit | fbdb472f4554ff1cf53cc8d35c2f95beb6ed6225 (patch) | |
tree | b080140b5465f66945ac72b058bd900fa1839d75 | |
parent | 1b1fa294f7615e622827de02a3c305ce07b6e7c9 (diff) | |
download | master-187ad058-fbdb472f4554ff1cf53cc8d35c2f95beb6ed6225.tar.gz master-187ad058-fbdb472f4554ff1cf53cc8d35c2f95beb6ed6225.tar.bz2 master-187ad058-fbdb472f4554ff1cf53cc8d35c2f95beb6ed6225.zip |
ramips: init usb power for Lenovo Y1S
Signed-off-by: Shonn Lu <countrysideboy@qq.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47557 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r-- | target/linux/ramips/dts/Y1S.dts | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/target/linux/ramips/dts/Y1S.dts b/target/linux/ramips/dts/Y1S.dts index f61280b755..d00416220e 100644 --- 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"; }; |