summaryrefslogtreecommitdiff
path: root/target/linux/ramips/dts/kng_rc.dts
diff options
context:
space:
mode:
authorVitaly Chekryzhev <13hakta@gmail.com>2017-01-03 23:18:55 +0500
committerJo-Philipp Wich <jo@mein.io>2017-04-28 17:08:56 +0200
commit5b2624d61821432b6a939333577ec1de124cdf10 (patch)
tree370b896c01cbc04a2654d1174dd64fb6fbe84331 /target/linux/ramips/dts/kng_rc.dts
parenta66623639af5ea120a522565f4b9ad7f9a3f6c18 (diff)
downloadmtk-20170518-5b2624d61821432b6a939333577ec1de124cdf10.zip
mtk-20170518-5b2624d61821432b6a939333577ec1de124cdf10.tar.gz
mtk-20170518-5b2624d61821432b6a939333577ec1de124cdf10.tar.bz2
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.dts11
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 fefa1b7..7cd4de3 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>;