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:
Vitaly Chekryzhev 2017-01-03 23:18:55 +05:00 committed by Jo-Philipp Wich
parent 0c50ea6289
commit e8c265b2cc

View file

@ -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>;