From a13a38714ab5733f8abb7a699b6d544ad6809da9 Mon Sep 17 00:00:00 2001 From: Frank Li Date: Thu, 20 Feb 2020 11:48:05 -0600 Subject: MLK-23346-3 DXL OTG1 change to pinmux control power DXL use usb pwr alternate function in pinmux. Needn't GPIO regulator Reviewed-by: Peter Chen Signed-off-by: Frank Li --- arch/arm64/boot/dts/freescale/imx8dxl-evk.dts | 19 ++++++++----------- 1 file changed, 8 insertions(+), 11 deletions(-) (limited to 'arch/arm64/boot/dts/freescale/imx8dxl-evk.dts') diff --git a/arch/arm64/boot/dts/freescale/imx8dxl-evk.dts b/arch/arm64/boot/dts/freescale/imx8dxl-evk.dts index 6b10944aa57c..e71dc4a939de 100644 --- a/arch/arm64/boot/dts/freescale/imx8dxl-evk.dts +++ b/arch/arm64/boot/dts/freescale/imx8dxl-evk.dts @@ -84,15 +84,6 @@ off-on-delay-us = <3480>; }; - reg_usb_otg1_vbus: regulator@0 { - compatible = "regulator-fixed"; - regulator-name = "usb_otg1_vbus"; - regulator-min-microvolt = <5000000>; - regulator-max-microvolt = <5000000>; - gpio = <&lsio_gpio4 3 GPIO_ACTIVE_HIGH>; - enable-active-high; - }; - }; &flexspi0 { @@ -368,7 +359,8 @@ }; &usbotg1 { - vbus-supply = <®_usb_otg1_vbus>; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_usbotg1>; srp-disable; hnp-disable; adp-disable; @@ -399,7 +391,12 @@ pinctrl_hog: hoggrp { fsl,pins = < IMX8DXL_COMP_CTL_GPIO_1V8_3V3_GPIORHB_PAD 0x000514a0 - IMX8DXL_USB_SS3_TC0_LSIO_GPIO4_IO03 0x00000021 + >; + }; + + pinctrl_usbotg1: otg1 { + fsl,pins = < + IMX8DXL_USB_SS3_TC0_CONN_USB_OTG1_PWR 0x00000021 >; }; -- cgit v1.2.3