ARM: dts: msm: Add UFS support for kera platforms
Add UFS support for kera cdp, mtp and rcm platforms. Change-Id: Iee003994d693a23e563e25621a23a99e85aaadac Signed-off-by: Manish Pandey <quic_mapa@quicinc.com>
This commit is contained in:
@@ -2,3 +2,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved.
|
* Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#include "kera_ufs2.dtsi"
|
||||||
|
@@ -2,3 +2,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved.
|
* Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#include "kera_ufs3.dtsi"
|
||||||
|
@@ -2,3 +2,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved.
|
* Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#include "kera_ufs4.dtsi"
|
||||||
|
@@ -2,3 +2,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved.
|
* Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#include "kera_ufs3.dtsi"
|
||||||
|
@@ -2,3 +2,6 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved.
|
* Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#include "kera_ufs4.dtsi"
|
||||||
|
|
||||||
|
@@ -2,3 +2,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved.
|
* Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#include "kera_ufs2.dtsi"
|
||||||
|
@@ -2,3 +2,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved.
|
* Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#include "kera_ufs3.dtsi"
|
||||||
|
@@ -2,3 +2,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved.
|
* Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#include "kera_ufs2.dtsi"
|
||||||
|
@@ -2,3 +2,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved.
|
* Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#include "kera_ufs3.dtsi"
|
||||||
|
@@ -2,3 +2,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved.
|
* Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#include "kera_ufs2.dtsi"
|
||||||
|
@@ -2,3 +2,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved.
|
* Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#include "kera_ufs3.dtsi"
|
||||||
|
@@ -2,3 +2,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved.
|
* Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#include "kera_ufs4.dtsi"
|
||||||
|
44
qcom/kera_ufs2.dtsi
Normal file
44
qcom/kera_ufs2.dtsi
Normal file
@@ -0,0 +1,44 @@
|
|||||||
|
// SPDX-License-Identifier: BSD-3-Clause
|
||||||
|
/*
|
||||||
|
* Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved.
|
||||||
|
*/
|
||||||
|
|
||||||
|
&ufsphy_mem {
|
||||||
|
compatible = "qcom,ufs-phy-qmp-v4-pineapple";
|
||||||
|
|
||||||
|
/* VDDA_UFS_CORE */
|
||||||
|
vdda-phy-supply = <&L6B>;
|
||||||
|
vdda-phy-max-microamp = <211860>;
|
||||||
|
|
||||||
|
/* VDDA_UFS_0_1P2 */
|
||||||
|
vdda-pll-supply = <&L4B>;
|
||||||
|
vdda-pll-max-microamp = <18330>;
|
||||||
|
|
||||||
|
/* Phy GDSC for VDD_MX, always on */
|
||||||
|
vdd-phy-gdsc-supply = <&gcc_ufs_mem_phy_gdsc>;
|
||||||
|
|
||||||
|
/* Qref power supply, Refer Qref diagram */
|
||||||
|
vdda-qref-supply = <&L2B>;
|
||||||
|
vdda-qref-max-microamp = <1890>;
|
||||||
|
|
||||||
|
status = "ok";
|
||||||
|
};
|
||||||
|
|
||||||
|
&ufshc_mem {
|
||||||
|
vdd-hba-supply = <&gcc_ufs_phy_gdsc>;
|
||||||
|
|
||||||
|
vcc-supply = <&L12B>;
|
||||||
|
vcc-max-microamp = <800000>;
|
||||||
|
|
||||||
|
vccq2-supply = <&L1D>;
|
||||||
|
vccq2-max-microamp = <750000>;
|
||||||
|
|
||||||
|
/* VDD_PX10 is voted for the ufs_reset_n */
|
||||||
|
qcom,vddp-ref-clk-supply = <&L3G>;
|
||||||
|
qcom,vddp-ref-clk-max-microamp = <100>;
|
||||||
|
|
||||||
|
qcom,vccq2-parent-supply = <&S1B>;
|
||||||
|
qcom,vccq2-parent-max-microamp = <210000>;
|
||||||
|
|
||||||
|
status = "ok";
|
||||||
|
};
|
44
qcom/kera_ufs3.dtsi
Normal file
44
qcom/kera_ufs3.dtsi
Normal file
@@ -0,0 +1,44 @@
|
|||||||
|
// SPDX-License-Identifier: BSD-3-Clause
|
||||||
|
/*
|
||||||
|
* Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved.
|
||||||
|
*/
|
||||||
|
|
||||||
|
&ufsphy_mem {
|
||||||
|
compatible = "qcom,ufs-phy-qmp-v4-pineapple";
|
||||||
|
|
||||||
|
/* VDDA_UFS_CORE */
|
||||||
|
vdda-phy-supply = <&L6B>;
|
||||||
|
vdda-phy-max-microamp = <211860>;
|
||||||
|
|
||||||
|
/* VDDA_UFS_0_1P2 */
|
||||||
|
vdda-pll-supply = <&L4B>;
|
||||||
|
vdda-pll-max-microamp = <18330>;
|
||||||
|
|
||||||
|
/* Phy GDSC for VDD_MX, always on */
|
||||||
|
vdd-phy-gdsc-supply = <&gcc_ufs_mem_phy_gdsc>;
|
||||||
|
|
||||||
|
/* Qref power supply, Refer Qref diagram */
|
||||||
|
vdda-qref-supply = <&L2B>;
|
||||||
|
vdda-qref-max-microamp = <1890>;
|
||||||
|
|
||||||
|
status = "ok";
|
||||||
|
};
|
||||||
|
|
||||||
|
&ufshc_mem {
|
||||||
|
vdd-hba-supply = <&gcc_ufs_phy_gdsc>;
|
||||||
|
|
||||||
|
vcc-supply = <&L12B>;
|
||||||
|
vcc-max-microamp = <800000>;
|
||||||
|
|
||||||
|
vccq-supply = <&L1D>;
|
||||||
|
vccq-max-microamp = <750000>;
|
||||||
|
|
||||||
|
/* VDD_PX10 is voted for the ufs_reset_n */
|
||||||
|
qcom,vddp-ref-clk-supply = <&L3G>;
|
||||||
|
qcom,vddp-ref-clk-max-microamp = <100>;
|
||||||
|
|
||||||
|
qcom,vccq-parent-supply = <&S2B>;
|
||||||
|
qcom,vccq-parent-max-microamp = <210000>;
|
||||||
|
|
||||||
|
status = "ok";
|
||||||
|
};
|
49
qcom/kera_ufs4.dtsi
Normal file
49
qcom/kera_ufs4.dtsi
Normal file
@@ -0,0 +1,49 @@
|
|||||||
|
// SPDX-License-Identifier: BSD-3-Clause
|
||||||
|
/*
|
||||||
|
* Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved.
|
||||||
|
*/
|
||||||
|
|
||||||
|
&ufsphy_mem {
|
||||||
|
compatible = "qcom,ufs-phy-qmp-v4-pineapple";
|
||||||
|
|
||||||
|
/* VDDA_UFS_CORE */
|
||||||
|
vdda-phy-supply = <&L6B>;
|
||||||
|
vdda-phy-max-microamp = <211860>;
|
||||||
|
/*
|
||||||
|
* Platforms supporting Gear 5 && Rate B require a different
|
||||||
|
* voltage supply. Check the Power Grid document.
|
||||||
|
*/
|
||||||
|
vdda-phy-min-microvolt = <912000>;
|
||||||
|
|
||||||
|
/* VDDA_UFS_0_1P2 */
|
||||||
|
vdda-pll-supply = <&L4B>;
|
||||||
|
vdda-pll-max-microamp = <18330>;
|
||||||
|
|
||||||
|
/* Phy GDSC for VDD_MX, always on */
|
||||||
|
vdd-phy-gdsc-supply = <&gcc_ufs_mem_phy_gdsc>;
|
||||||
|
|
||||||
|
/* Qref power supply, Refer Qref diagram */
|
||||||
|
vdda-qref-supply = <&L2B>;
|
||||||
|
vdda-qref-max-microamp = <1890>;
|
||||||
|
|
||||||
|
status = "ok";
|
||||||
|
};
|
||||||
|
|
||||||
|
&ufshc_mem {
|
||||||
|
vdd-hba-supply = <&gcc_ufs_phy_gdsc>;
|
||||||
|
|
||||||
|
vcc-supply = <&L12B>;
|
||||||
|
vcc-max-microamp = <1200000>;
|
||||||
|
|
||||||
|
vccq-supply = <&L1D>;
|
||||||
|
vccq-max-microamp = <1200000>;
|
||||||
|
|
||||||
|
/* VDD_PX10 is voted for the ufs_reset_n */
|
||||||
|
qcom,vddp-ref-clk-supply = <&L3G>;
|
||||||
|
qcom,vddp-ref-clk-max-microamp = <100>;
|
||||||
|
|
||||||
|
qcom,vccq-parent-supply = <&S2B>;
|
||||||
|
qcom,vccq-parent-max-microamp = <210000>;
|
||||||
|
|
||||||
|
status = "ok";
|
||||||
|
};
|
Reference in New Issue
Block a user