Commit 48cbd9ff authored by Peter Chen's avatar Peter Chen Committed by Shawn Guo

ARM: dts: imx7ulp-evk: enable USBOTG1 support

Enable USBOTG1 support for evk board, it is dual-role function
port.
Signed-off-by: default avatarPeter Chen <peter.chen@nxp.com>
Signed-off-by: default avatarShawn Guo <shawnguo@kernel.org>
parent 5b7bd456
...@@ -30,6 +30,17 @@ backlight { ...@@ -30,6 +30,17 @@ backlight {
status = "okay"; status = "okay";
}; };
reg_usb_otg1_vbus: regulator-usb-otg1-vbus {
compatible = "regulator-fixed";
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_usbotg1_vbus>;
regulator-name = "usb_otg1_vbus";
regulator-min-microvolt = <5000000>;
regulator-max-microvolt = <5000000>;
gpio = <&gpio_ptc 0 GPIO_ACTIVE_HIGH>;
enable-active-high;
};
reg_vsd_3v3: regulator-vsd-3v3 { reg_vsd_3v3: regulator-vsd-3v3 {
compatible = "regulator-fixed"; compatible = "regulator-fixed";
regulator-name = "VSD_3V3"; regulator-name = "VSD_3V3";
...@@ -54,6 +65,17 @@ &tpm4 { ...@@ -54,6 +65,17 @@ &tpm4 {
status = "okay"; status = "okay";
}; };
&usbotg1 {
vbus-supply = <&reg_usb_otg1_vbus>;
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_usbotg1_id>;
srp-disable;
hnp-disable;
adp-disable;
over-current-active-low;
status = "okay";
};
&usdhc0 { &usdhc0 {
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&pinctrl_usdhc0>; pinctrl-0 = <&pinctrl_usdhc0>;
...@@ -77,6 +99,19 @@ IMX7ULP_PAD_PTF2__TPM4_CH1 0x2 ...@@ -77,6 +99,19 @@ IMX7ULP_PAD_PTF2__TPM4_CH1 0x2
>; >;
}; };
pinctrl_usbotg1_vbus: otg1vbusgrp {
fsl,pins = <
IMX7ULP_PAD_PTC0__PTC0 0x20000
>;
};
pinctrl_usbotg1_id: otg1idgrp {
fsl,pins = <
IMX7ULP_PAD_PTC13__USB0_ID 0x10003
IMX7ULP_PAD_PTC16__USB1_OC2 0x10003
>;
};
pinctrl_usdhc0: usdhc0grp { pinctrl_usdhc0: usdhc0grp {
fsl,pins = < fsl,pins = <
IMX7ULP_PAD_PTD1__SDHC0_CMD 0x43 IMX7ULP_PAD_PTD1__SDHC0_CMD 0x43
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment