mirror of
https://github.com/openwrt/openwrt.git
synced 2025-01-18 18:56:37 +00:00
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>
This commit is contained in:
parent
a66623639a
commit
5b2624d618
@ -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 {
|
rtl8367rb {
|
||||||
compatible = "realtek,rtl8367b";
|
compatible = "realtek,rtl8367b";
|
||||||
cpu_port = <7>;
|
cpu_port = <7>;
|
||||||
|
Loading…
Reference in New Issue
Block a user