arm64: dts: librem5-devkit: add a vbus supply to usb0
authorAngus Ainslie (Purism) <angus@akkea.ca>
Thu, 27 Feb 2020 13:17:26 +0000 (14:17 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 21 Apr 2020 07:04:54 +0000 (09:04 +0200)
commit dde061b865598ad91f50140760e1d224e5045db9 upstream.

Without a VBUS supply the dwc3 driver won't go into otg mode.

Fixes: eb4ea0857c83 ("arm64: dts: fsl: librem5: Add a device tree for the Librem5 devkit")
Signed-off-by: Angus Ainslie (Purism) <angus@akkea.ca>
Signed-off-by: Martin Kepplinger <martin.kepplinger@puri.sm>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/arm64/boot/dts/freescale/imx8mq-librem5-devkit.dts

index 98cfe67b7db7b60ed058028abdb01456d5413e7f..19b427f68dad2c2ff0bc9d1a0655f00d600b4945 100644 (file)
 };
 
 &usb3_phy0 {
+       vbus-supply = <&reg_5v_p>;
        status = "okay";
 };