From 3a5cd4a508caa2caa5c1dec72b9f48f91049a649 Mon Sep 17 00:00:00 2001 From: Rohith Kollalsi Date: Thu, 10 Jun 2021 23:20:20 +0530 Subject: [PATCH] ARM: dts: msm: Add support for usb nodes on blair Modify interrupt numbers for hs phy irq as per ipcat. Modify override sequence of hsphy as per hpg. Add interconnect data for the USB DT node and bus votes for NOM and SVS. Add pm-qos-latency node as well. Change-Id: I722c16a3ba785a77c909401b6d11c36b46b057ff --- qcom/blair-usb.dtsi | 28 +++++++++++++++++++++++----- 1 file changed, 23 insertions(+), 5 deletions(-) diff --git a/qcom/blair-usb.dtsi b/qcom/blair-usb.dtsi index 4b36ba02fd8c..e7c3998a0513 100644 --- a/qcom/blair-usb.dtsi +++ b/qcom/blair-usb.dtsi @@ -17,8 +17,10 @@ interrupts = , , - ; - interrupt-names = "pwr_event_irq", "ss_phy_irq", "hs_phy_irq"; + , + ; + interrupt-names = "pwr_event_irq", "ss_phy_irq", + "dm_hs_phy_irq", "dp_hs_phy_irq"; clocks = <&gcc GCC_USB30_PRIM_MASTER_CLK>, <&gcc GCC_SYS_NOC_USB3_PRIM_AXI_CLK>, @@ -38,7 +40,23 @@ qcom,core-clk-rate = <133333333>; qcom,core-clk-rate-hs = <66666667>; + + interconnect-names = "usb-ddr", "usb-ipa", "ddr-usb"; + interconnects = <&system_noc MASTER_USB3_0 &bimc SLAVE_EBI>, + <&system_noc MASTER_USB3_0 &config_noc SLAVE_IPA_CFG>, + <&bimc MASTER_AMPSS_M0 &config_noc SLAVE_USB3>; + + qcom,interconnect-values-nom = /* NOMINAL Votes */ + <1000000 1550000>, + <0 2400>, + <0 40000>; + qcom,interconnect-values-svs = /* SVS Votes */ + <240000 700000>, + <0 2400>, + <0 40000>; + qcom,num-gsi-evt-buffs = <0x3>; + qcom,pm-qos-latency = <61>; qcom,gsi-reg-offset = <0x0fc /* GSI_GENERAL_CFG */ 0x110 /* GSI_DBL_ADDR_L */ @@ -87,9 +105,9 @@ resets = <&gcc GCC_QUSB2PHY_PRIM_BCR>; reset-names = "phy_reset"; qcom,param-override-seq = - <0xe6 0x6c /* override_x0 */ - 0x0b 0x70 /* override_x1 */ - 0x17 0x74>; /* override x2 */ + <0x61 0x6c /* override_x0 */ + 0x43 0x70 /* override_x1 */ + 0x2e 0x74>; /* override x2 */ }; /* Primary USB port related QMP USB DP Combo PHY */