ARM: dts: imx6: pfla02: Fix USB vbus enable pinmuxing

The pinmuxing for the enable pin of the usbh1 node is wrong. It needs to
be muxed as GPIO. While at it, move the pinctrl to the vbus regulator
since it is actually the regulator enable pin.

Signed-off-by: Stefan Riedmueller <s.riedmueller@phytec.de>
Reviewed-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
This commit is contained in:
Stefan Riedmueller 2021-03-29 15:01:01 +02:00 committed by Shawn Guo
parent c11d56b376
commit a255af65df

View File

@ -31,6 +31,8 @@
reg_usb_h1_vbus: regulator@1 { reg_usb_h1_vbus: regulator@1 {
compatible = "regulator-fixed"; compatible = "regulator-fixed";
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_usbh1_vbus>;
reg = <1>; reg = <1>;
regulator-name = "usb_h1_vbus"; regulator-name = "usb_h1_vbus";
regulator-min-microvolt = <5000000>; regulator-min-microvolt = <5000000>;
@ -332,9 +334,9 @@
>; >;
}; };
pinctrl_usbh1: usbh1grp { pinctrl_usbh1_vbus: usbh1vbusgrp {
fsl,pins = < fsl,pins = <
MX6QDL_PAD_GPIO_0__USB_H1_PWR 0x80000000 MX6QDL_PAD_GPIO_0__GPIO1_IO00 0x1b0b0
>; >;
}; };
@ -419,8 +421,6 @@
&usbh1 { &usbh1 {
vbus-supply = <&reg_usb_h1_vbus>; vbus-supply = <&reg_usb_h1_vbus>;
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_usbh1>;
status = "disabled"; status = "disabled";
}; };