Skip to content
Snippets Groups Projects
Commit 75f74b75 authored by Gianfranco Mariotti's avatar Gianfranco Mariotti
Browse files

[C61] add usb support

parent 19c118a7
No related branches found
No related tags found
No related merge requests found
...@@ -59,6 +59,27 @@ reg_gpio_exp_rst: gpio_exp_reset { ...@@ -59,6 +59,27 @@ reg_gpio_exp_rst: gpio_exp_reset {
regulator-always-on; regulator-always-on;
}; };
reg_usb_pwr_en: usb2_pwren_regulator {
compatible = "regulator-fixed";
regulator-name = "USB_PWR_EN";
regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>;
gpio = <&gpio4 2 GPIO_ACTIVE_HIGH>;
enable-active-low;
regulator-boot-on;
regulator-always-on;
};
vbus_otg_on: vbusotgon {
compatible = "regulator-fixed";
regulator-name = "VBUS_OTG_ON";
regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>;
gpio = <&pca6416_20 14 GPIO_ACTIVE_HIGH>;
enable-active-high;
regulator-always-on;
};
sound-micfil { sound-micfil {
compatible = "fsl,imx-audio-micfil"; compatible = "fsl,imx-audio-micfil";
model = "imx-audio-micfil"; model = "imx-audio-micfil";
...@@ -389,7 +410,13 @@ &uart3 { ...@@ -389,7 +410,13 @@ &uart3 {
}; };
&usbotg1 { &usbotg1 {
dr_mode = "otg"; vbus-supply = <&vbus_otg_on>;
dr_mode = "host";
status = "okay";
};
&usbotg2 {
dr_mode = "host";
status = "okay"; status = "okay";
}; };
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment