projects
/
librecmc
/
librecmc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0c50ea6
)
ramips: ZyXEL Keenetic Viva: export gpio usb power
author
Vitaly Chekryzhev
<13hakta@gmail.com>
Tue, 3 Jan 2017 18:18:55 +0000
(23:18 +0500)
committer
Jo-Philipp Wich
<jo@mein.io>
Thu, 26 Jan 2017 15:39:08 +0000
(16:39 +0100)
Export gpio usb to allow power management of USB port.
Signed-off-by: Vitaly Chekryzhev <13hakta@gmail.com>
target/linux/ramips/dts/kng_rc.dts
patch
|
blob
|
history
diff --git
a/target/linux/ramips/dts/kng_rc.dts
b/target/linux/ramips/dts/kng_rc.dts
index fefa1b7d8da7e726c24897070f68191c9303877f..7cd4de3fb2547c4cea6ed487775b6d6f1f12529b 100644
(file)
--- 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>;