ARM: dts: imx6: pfla02: Fix USB vbus enable pinmuxing
authorStefan Riedmueller <s.riedmueller@phytec.de>
Mon, 29 Mar 2021 13:01:01 +0000 (15:01 +0200)
committerShawn Guo <shawnguo@kernel.org>
Tue, 30 Mar 2021 08:29:01 +0000 (16:29 +0800)
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>
arch/arm/boot/dts/imx6qdl-phytec-pfla02.dtsi

index 702bbd6735df917c76ee58a53ed93c753d47c908..aed9784d3995266bedb2f98b2aae96b510fda0b0 100644 (file)
@@ -31,6 +31,8 @@
 
                reg_usb_h1_vbus: regulator@1 {
                        compatible = "regulator-fixed";
+                       pinctrl-names = "default";
+                       pinctrl-0 = <&pinctrl_usbh1_vbus>;
                        reg = <1>;
                        regulator-name = "usb_h1_vbus";
                        regulator-min-microvolt = <5000000>;
                        >;
                };
 
-               pinctrl_usbh1: usbh1grp {
+               pinctrl_usbh1_vbus: usbh1vbusgrp {
                        fsl,pins = <
-                               MX6QDL_PAD_GPIO_0__USB_H1_PWR           0x80000000
+                               MX6QDL_PAD_GPIO_0__GPIO1_IO00           0x1b0b0
                        >;
                };
 
 
 &usbh1 {
        vbus-supply = <&reg_usb_h1_vbus>;
-       pinctrl-names = "default";
-       pinctrl-0 = <&pinctrl_usbh1>;
        status = "disabled";
 };