diff options
author | Frank Li <Frank.Li@nxp.com> | 2020-02-20 11:48:05 -0600 |
---|---|---|
committer | Frank Li <Frank.Li@nxp.com> | 2020-02-21 13:58:07 -0600 |
commit | a13a38714ab5733f8abb7a699b6d544ad6809da9 (patch) | |
tree | 137043ee9292230a6156f87065de7c81ef37786c /arch/arm64 | |
parent | 37bdd12015a7d26d86c029b850afefda1af6ecbb (diff) |
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 <peter.chen@nxp.com>
Signed-off-by: Frank Li <Frank.Li@nxp.com>
Diffstat (limited to 'arch/arm64')
-rw-r--r-- | arch/arm64/boot/dts/freescale/imx8dxl-evk.dts | 19 |
1 files changed, 8 insertions, 11 deletions
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 >; }; |