diff --git a/qcom/blair-usb.dtsi b/qcom/blair-usb.dtsi index c4b51bce7d5e..e5d935f4bcf9 100644 --- a/qcom/blair-usb.dtsi +++ b/qcom/blair-usb.dtsi @@ -1,4 +1,5 @@ #include +#include &soc { /* Primary USB port related controller */ @@ -7,13 +8,16 @@ reg = <0x4e00000 0x100000>; reg-names = "core_base"; + iommus = <&apps_smmu 0xe0 0x0>; + qcom,iommu-dma = "atomic"; + qcom,iommu-dma-addr-pool = <0x90000000 0x60000000>; #address-cells = <1>; #size-cells = <1>; ranges; interrupts = , , - ; + ; interrupt-names = "pwr_event_irq", "ss_phy_irq", "hs_phy_irq"; clocks = <&gcc GCC_USB30_PRIM_MASTER_CLK>, @@ -42,14 +46,13 @@ 0x1a4>; /* GSI_IF_STS */ qcom,dwc-usb3-msm-tx-fifo-size = <21288>; qcom,gsi-disable-io-coherency; - extcon = <&eud>; dwc3@4e00000 { compatible = "snps,dwc3"; reg = <0x4e00000 0xcd00>; interrupt-parent = <&intc>; interrupts = ; - usb-phy = <&qusb_phy0>, <&usb_nop_phy>; + usb-phy = <&qusb_phy0>, <&usb_qmp_dp_phy>; tx-fifo-resize; linux,sysdev_is_parent; snps,disable-clk-gating; @@ -88,9 +91,201 @@ 0x17 0x74>; /* override x2 */ }; + /* Primary USB port related QMP USB DP Combo PHY */ + usb_qmp_dp_phy: ssphy@1630000 { + compatible = "qcom,usb-ssphy-qmp-dp-combo"; + reg = <0x1630000 0x3000>; + reg-names = "qmp_phy_base"; + vdd-supply = <&L18A>; + qcom,vdd-voltage-level = <0 880000 880000>; + core-supply = <&L4A>; + qcom,qmp-phy-init-seq = + /* */ + ; + + qcom,qmp-phy-reg-offset = + ; + + clocks = <&gcc GCC_USB3_PRIM_PHY_COM_AUX_CLK>, + <&gcc GCC_USB3_PRIM_PHY_PIPE_CLK>, + <&rpmcc RPM_SMD_XO_CLK_SRC>, + <&gcc GCC_USB3_PRIM_CLKREF_CLK>, + <&gcc GCC_USB3_PRIM_PHY_COM_AUX_CLK>; + clock-names = "aux_clk", "pipe_clk", "ref_clk_src", + "ref_clk", "com_aux_clk"; + + resets = <&gcc GCC_USB3_DP_PHY_PRIM_BCR>, + <&gcc GCC_USB3_PHY_PRIM_SP0_BCR>; + reset-names = "global_phy_reset", "phy_reset"; + }; + usb_nop_phy: usb_nop_phy { compatible = "usb-nop-xceiv"; }; + usb_audio_qmi_dev { + compatible = "qcom,usb-audio-qmi-dev"; + iommus = <&apps_smmu 0x0af 0x0>; + qcom,iommu-dma = "disabled"; + qcom,usb-audio-stream-id = <0xf>; + qcom,usb-audio-intr-num = <2>; + }; };