From: Vitaly Chekryzhev <13hakta@gmail.com> Date: Tue, 3 Jan 2017 18:18:55 +0000 (+0500) Subject: ramips: ZyXEL Keenetic Viva: export gpio usb power X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=5b2624d61821432b6a939333577ec1de124cdf10;p=openwrt%2Fstaging%2Frmilecki.git ramips: ZyXEL Keenetic Viva: export gpio usb power Export gpio usb to allow power management of USB port. Signed-off-by: Vitaly Chekryzhev <13hakta@gmail.com> --- diff --git a/target/linux/ramips/dts/kng_rc.dts b/target/linux/ramips/dts/kng_rc.dts index fefa1b7d8da..7cd4de3fb25 100644 --- a/target/linux/ramips/dts/kng_rc.dts +++ b/target/linux/ramips/dts/kng_rc.dts @@ -62,6 +62,17 @@ }; }; + gpio_export { + compatible = "gpio-export"; + #size-cells = <0>; + + usb_power { + gpio-export,name = "usb"; + gpio-export,output = <1>; + gpios = <&gpio0 12 GPIO_ACTIVE_HIGH>; + }; + }; + rtl8367rb { compatible = "realtek,rtl8367b"; cpu_port = <7>;