From 57d974a17610aad69811c6ba4401024eb8ea65bc Mon Sep 17 00:00:00 2001 From: Anaadi Mishra Date: Mon, 17 Jun 2024 16:03:10 +0530 Subject: [PATCH] ARM: dts: msm: Add support for GCC and TCSRCC on Kera Add support for GCC and TCSRCC on Kera platform. While at it, move the corresponding GDSC's to real. Change-Id: I1ecf7e1ec14afc71a9fc228c636668d9052ba14b Signed-off-by: Anaadi Mishra --- qcom/kera.dtsi | 44 ++++++++++++++++++++++++++++++++------------ 1 file changed, 32 insertions(+), 12 deletions(-) diff --git a/qcom/kera.dtsi b/qcom/kera.dtsi index 9dcb25d5..f4f395d9 100644 --- a/qcom/kera.dtsi +++ b/qcom/kera.dtsi @@ -1132,8 +1132,27 @@ }; gcc: clock-controller@100000 { - compatible = "qcom,dummycc"; - clock-output-names = "gcc_clocks"; + compatible = "qcom,kera-gcc", "syscon"; + reg = <0x100000 0x1f4200>; + reg-name = "cc_base"; + vdd_cx-supply = <&VDD_CX_LEVEL>; + vdd_mx-supply = <&VDD_MX_LEVEL>; + clocks = <&rpmhcc RPMH_CXO_CLK>, + <&pcie_0_pipe_clk>, + <&pcie_1_pipe_clk>, + <&sleep_clk>, + <&ufs_phy_rx_symbol_0_clk>, + <&ufs_phy_rx_symbol_1_clk>, + <&ufs_phy_tx_symbol_0_clk>, + <&usb3_phy_wrapper_gcc_usb30_pipe_clk>; + clock-names = "bi_tcxo", + "pcie_0_pipe_clk", + "pcie_1_pipe_clk", + "sleep_clk", + "ufs_phy_rx_symbol_0_clk", + "ufs_phy_rx_symbol_1_clk", + "ufs_phy_tx_symbol_0_clk", + "usb3_phy_wrapper_gcc_usb30_pipe_clk"; #clock-cells = <1>; #reset-cells = <1>; }; @@ -1146,8 +1165,9 @@ }; tcsrcc: clock-controller@1f40000 { - compatible = "qcom,dummycc"; - clock-output-names = "tcsrcc_clocks"; + compatible = "qcom,kera-tcsrcc", "syscon"; + reg = <0x1fbf000 0x20>; + reg-name = "cc_base"; #clock-cells = <1>; #reset-cells = <1>; }; @@ -1366,42 +1386,42 @@ }; &gcc_pcie_0_gdsc { - compatible = "regulator-fixed"; + parent-supply = <&VDD_CX_LEVEL>; status = "ok"; }; &gcc_pcie_0_phy_gdsc { - compatible = "regulator-fixed"; + parent-supply = <&VDD_MX_LEVEL>; status = "ok"; }; &gcc_pcie_1_gdsc { - compatible = "regulator-fixed"; + parent-supply = <&VDD_CX_LEVEL>; status = "ok"; }; &gcc_pcie_1_phy_gdsc { - compatible = "regulator-fixed"; + parent-supply = <&VDD_MX_LEVEL>; status = "ok"; }; &gcc_ufs_mem_phy_gdsc { - compatible = "regulator-fixed"; + parent-supply = <&VDD_MX_LEVEL>; status = "ok"; }; &gcc_ufs_phy_gdsc { - compatible = "regulator-fixed"; + parent-supply = <&VDD_CX_LEVEL>; status = "ok"; }; &gcc_usb30_prim_gdsc { - compatible = "regulator-fixed"; + parent-supply = <&VDD_CX_LEVEL>; status = "ok"; }; &gcc_usb3_phy_gdsc { - compatible = "regulator-fixed"; + parent-supply = <&VDD_MX_LEVEL>; status = "ok"; };