ARM: dts: imx6qdl-dhcom: Add USB overcurrent pin on SoM layer
authorChristoph Niedermaier <cniedermaier@dh-electronics.com>
Tue, 14 Dec 2021 09:03:53 +0000 (10:03 +0100)
committerShawn Guo <shawnguo@kernel.org>
Thu, 16 Dec 2021 09:30:21 +0000 (17:30 +0800)
Add USB overcurrent pin muxing on SoM layer. On DRC02 and PDK2 the USB
overcurrent pin isn't connected, but a USB hub on the board takes care
of the USB overcurrent instead. Therefore disable it there with the
property disable-over-current.

Signed-off-by: Christoph Niedermaier <cniedermaier@dh-electronics.com>
Cc: Shawn Guo <shawnguo@kernel.org>
Cc: Fabio Estevam <festevam@gmail.com>
Cc: Marek Vasut <marex@denx.de>
Cc: NXP Linux Team <linux-imx@nxp.com>
Cc: kernel@dh-electronics.com
To: linux-arm-kernel@lists.infradead.org
Reviewed-by: Marek Vasut <marex@denx.de>
Reviewed-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm/boot/dts/imx6qdl-dhcom-drc02.dtsi
arch/arm/boot/dts/imx6qdl-dhcom-pdk2.dtsi
arch/arm/boot/dts/imx6qdl-dhcom-som.dtsi

index 3d0a50a9ab21077de0f8d89a6db7753f265c1560..702cd4a1b2e61f42b34e103a68ed59b5f5409680 100644 (file)
        rts-gpios = <&gpio7 13 GPIO_ACTIVE_HIGH>; /* GPIO P */
 };
 
+&usbh1 {
+       disable-over-current;
+};
+
 &usdhc2 { /* SD card */
        status = "okay";
 };
index dc21853706a56329305374de0e3e636ff8c64f06..dc89b554e694ebdb224c475cb9eb3c8486b8f990 100644 (file)
        status = "okay";
 };
 
+&usbh1 {
+       disable-over-current;
+};
+
 &usdhc2 { /* SD card */
        status = "okay";
 };
index b2b7daf43ede7862787c2f2e971aeca74b1ec994..5befbe13d1a3dbde79e39a80abe8763f2ad7d7ba 100644 (file)
        pinctrl_usbh1: usbh1-grp {
                fsl,pins = <
                        MX6QDL_PAD_EIM_D31__GPIO3_IO31          0x120b0
+                       MX6QDL_PAD_EIM_D30__USB_H1_OC           0x1b0b1
                >;
        };