ARM: dts: imx6ul-14x14-evk.dtsi: configure USBOTG1 ID pinctrl
authorPeter Chen <peter.chen@nxp.com>
Wed, 16 Oct 2019 08:31:05 +0000 (16:31 +0800)
committerShawn Guo <shawnguo@kernel.org>
Sat, 26 Oct 2019 12:05:41 +0000 (20:05 +0800)
Without configuring this pinctrl, the ID value can't be got correctly,
then, the dual-role switch can't work well.

Signed-off-by: Peter Chen <peter.chen@nxp.com>
Reviewed-by: Jun Li <jun.li@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm/boot/dts/imx6ul-14x14-evk.dtsi

index c2a9dd57e56ad206237ce4c289338e0e1f3999fe..ed3d993c25f7ef48607c3a0cd9a1bc5281952076 100644 (file)
 
 &usbotg1 {
        dr_mode = "otg";
+       pinctrl-names = "default";
+       pinctrl-0 = <&pinctrl_usb_otg1>;
        status = "okay";
 };
 
                >;
        };
 
+       pinctrl_usb_otg1: usbotg1grp {
+               fsl,pins = <
+                       MX6UL_PAD_GPIO1_IO00__ANATOP_OTG1_ID    0x17059
+               >;
+       };
+
        pinctrl_usdhc1: usdhc1grp {
                fsl,pins = <
                        MX6UL_PAD_SD1_CMD__USDHC1_CMD           0x17059