diff options
author | Vitaly Chekryzhev <13hakta@gmail.com> | 2017-01-03 23:18:55 +0500 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2017-01-26 16:39:08 +0100 |
commit | e8c265b2cc7be2d7276556fc6e1e372a4c9ea064 (patch) | |
tree | 43eb71e78eb207bf50e69bee3787f5310f9e907f /target/linux/ramips | |
parent | 0c50ea6289b68793a2baf0425f2233c74ca17324 (diff) | |
download | upstream-e8c265b2cc7be2d7276556fc6e1e372a4c9ea064.tar.gz upstream-e8c265b2cc7be2d7276556fc6e1e372a4c9ea064.tar.bz2 upstream-e8c265b2cc7be2d7276556fc6e1e372a4c9ea064.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')
-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>; |