OSDN Git Service

ARM: dts: imx53: Update USB configuration on M53Menlo
authorMarek Vasut <marex@denx.de>
Wed, 15 May 2019 22:45:55 +0000 (00:45 +0200)
committerShawn Guo <shawnguo@kernel.org>
Mon, 20 May 2019 01:09:23 +0000 (09:09 +0800)
Turn USBH1 into Host and update the GPIO polarity of the
regulator to match new hardware.

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Shawn Guo <shawnguo@kernel.org>
Cc: Fabio Estevam <festevam@gmail.com>
Cc: NXP Linux Team <linux-imx@nxp.com>
To: linux-arm-kernel@lists.infradead.org
Reviewed-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm/boot/dts/imx53-m53menlo.dts

index 62bc6a9..7dddd70 100644 (file)
@@ -50,7 +50,8 @@
                regulator-name = "vbus";
                regulator-min-microvolt = <5000000>;
                regulator-max-microvolt = <5000000>;
-               gpio = <&gpio1 2 GPIO_ACTIVE_LOW>;
+               gpio = <&gpio1 2 GPIO_ACTIVE_HIGH>;
+               enable-active-high;
        };
 };
 
 
                pinctrl_usb: usbgrp {
                        fsl,pins = <
-                               MX53_PAD_GPIO_2__GPIO1_2                0x1d5
-                               MX53_PAD_GPIO_3__USBOH3_USBH1_OC        0x1d5
+                               MX53_PAD_GPIO_2__GPIO1_2                0x1c4
+                               MX53_PAD_GPIO_3__USBOH3_USBH1_OC        0x1c4
+                               MX53_PAD_GPIO_4__GPIO1_4                0x1c4
+                               MX53_PAD_GPIO_18__GPIO7_13              0x1c4
                        >;
                };
        };
        pinctrl-0 = <&pinctrl_usb>;
        vbus-supply = <&reg_usbh1_vbus>;
        phy_type = "utmi";
-       dr_mode = "peripheral";
+       dr_mode = "host";
        status = "okay";
 };