diff --git a/qcom/sdxkova-usb.dtsi b/qcom/sdxkova-usb.dtsi index 5bf509ce..d10dac26 100644 --- a/qcom/sdxkova-usb.dtsi +++ b/qcom/sdxkova-usb.dtsi @@ -3,6 +3,7 @@ * Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved. */ +#include #include &soc { @@ -45,7 +46,7 @@ compatible = "snps,dwc3"; reg = <0x0 0xa600000 0x0 0xd93c>; interrupts = ; - usb-phy = <&usb_nop_phy>, <&usb_nop_phy>; + usb-phy = <&usb_nop_phy>, <&usb_qmp_phy>; snps,has-lpm-erratum; snps,is-utmi-l1-suspend; snps,dis-u1-entry-quirk; @@ -62,6 +63,161 @@ }; + /* USB port related QMP USB UNI PHY */ + usb_qmp_phy: ssphy@ff6000 { + compatible = "qcom,usb-ssphy-qmp-v2"; + reg = <0x0 0xff6000 0x0 0x2000>, + <0x0 0xff7400 0x0 0x4>; + reg-names = "qmp_phy_base", + "pcs_clamp_enable_reg"; + + vdd-supply = <&L4B>; + qcom,vdd-voltage-level = <0 880000 880000>; + qcom,vdd-max-load-uA = <47000>; + core-supply = <&L1B>; + qcom,core-max-load-uA = <15000>; + + usb3_dp_phy_gdsc-supply = <&gcc_usb3_phy_gdsc>; + clocks = <&gcc GCC_USB3_PHY_AUX_CLK>, + <&gcc GCC_USB3_PHY_PIPE_CLK>, + <&gcc GCC_USB3_PHY_PIPE_CLK_SRC>, + <&usb3_phy_wrapper_gcc_usb30_pipe_clk>, + <&gcc GCC_USB3_PRIM_CLKREF_EN>, + <&rpmhcc RPMH_CXO_CLK>, + <&gcc GCC_USB_PHY_CFG_AHB2PHY_CLK>; + clock-names = "aux_clk", "pipe_clk", "pipe_clk_mux", + "pipe_clk_ext_src", "ref_clk", "ref_clk_src", + "cfg_ahb_clk"; + + resets = <&gcc GCC_USB3_PHY_BCR>, + <&gcc GCC_USB3PHY_PHY_BCR>; + reset-names = "phy_reset", "phy_phy_reset"; + + qcom,qmp-phy-init-seq = + /* */ + ; + + qcom,qmp-phy-reg-offset = + ; + }; + usb_nop_phy: usb_nop_phy { compatible = "usb-nop-xceiv"; };