From: Ondrej Jirman <[email protected]> Enable the USB2 phy and set the direction as perhipheral.
Signed-off-by: Ondrej Jirman <[email protected]> Tested-by: Petr Hodina <[email protected]> --- arch/arm/dts/rk3399-pinephone-pro-u-boot.dtsi | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/arch/arm/dts/rk3399-pinephone-pro-u-boot.dtsi b/arch/arm/dts/rk3399-pinephone-pro-u-boot.dtsi index 7438bec4ee6..2825d43a9d8 100644 --- a/arch/arm/dts/rk3399-pinephone-pro-u-boot.dtsi +++ b/arch/arm/dts/rk3399-pinephone-pro-u-boot.dtsi @@ -20,3 +20,24 @@ bootph-some-ram; }; }; + +&u2phy0 { + status = "okay"; +}; + +&u2phy0_otg { + status = "okay"; +}; + +&usbdrd_dwc3_0 { + dr_mode = "peripheral"; + maximum-speed = "high-speed"; + phys = <&u2phy0_otg>; + phy-names = "usb2-phy"; + status = "okay"; +}; + +&usbdrd3_0 { + status = "okay"; +}; + -- 2.55.0
