diff options
author | Vitaly Chekryzhev <13hakta@gmail.com> | 2017-01-03 23:18:55 +0500 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2017-04-28 17:08:56 +0200 |
commit | 5b2624d61821432b6a939333577ec1de124cdf10 (patch) | |
tree | 370b896c01cbc04a2654d1174dd64fb6fbe84331 /target/linux/ramips/dts/kng_rc.dts | |
parent | a66623639af5ea120a522565f4b9ad7f9a3f6c18 (diff) | |
download | upstream-5b2624d61821432b6a939333577ec1de124cdf10.tar.gz upstream-5b2624d61821432b6a939333577ec1de124cdf10.tar.bz2 upstream-5b2624d61821432b6a939333577ec1de124cdf10.zip |
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>
Diffstat (limited to 'target/linux/ramips/dts/kng_rc.dts')
-rw-r--r-- | target/linux/ramips/dts/kng_rc.dts | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/target/linux/ramips/dts/kng_rc.dts b/target/linux/ramips/dts/kng_rc.dts index fefa1b7d8d..7cd4de3fb2 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>; |