Devicetree
 help / color / mirror / Atom feed
* [PATCH] arm64: dts: qcom: mahua-qcb: Enable UFS
@ 2026-11-29  8:09 Pradeep P V K
  2026-11-29  8:17 ` sashiko-bot
  0 siblings, 1 reply; 2+ messages in thread
From: Pradeep P V K @ 2026-11-29  8:09 UTC (permalink / raw)
  To: Bjorn Andersson, Konrad Dybcio, Abel Vesa, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley
  Cc: linux-arm-msm, devicetree, nitin.rawat, Pradeep P V K

Enable UFS for mahua-qcb board.

Signed-off-by: Pradeep P V K <pradeep.pragallapati@oss.qualcomm.com>
---
 arch/arm64/boot/dts/qcom/mahua-qcb.dts | 18 ++++++++++++++++++
 arch/arm64/boot/dts/qcom/mahua.dtsi    |  6 +++---
 2 files changed, 21 insertions(+), 3 deletions(-)

diff --git a/arch/arm64/boot/dts/qcom/mahua-qcb.dts b/arch/arm64/boot/dts/qcom/mahua-qcb.dts
index 16ad42466fbd..3cff546cf3b1 100644
--- a/arch/arm64/boot/dts/qcom/mahua-qcb.dts
+++ b/arch/arm64/boot/dts/qcom/mahua-qcb.dts
@@ -28,3 +28,21 @@ &tcsr {
 	vdda-refgen3-0p9-supply = <&vreg_l1f1>;
 	vdda-refgen3-1p2-supply = <&vreg_l4f1>;
 };
+
+&ufs_mem_hc {
+	reset-gpios = <&tlmm 250 GPIO_ACTIVE_LOW>;
+
+	vcc-supply = <&vreg_l17b0>;
+	vcc-max-microamp = <1200000>;
+	vccq-supply = <&vreg_l12b0>;
+	vccq-max-microamp = <1200000>;
+
+	status = "okay";
+};
+
+&ufs_mem_phy {
+	vdda-phy-supply = <&vreg_l1c1>;
+	vdda-pll-supply = <&vreg_l4f1>;
+
+	status = "okay";
+};
diff --git a/arch/arm64/boot/dts/qcom/mahua.dtsi b/arch/arm64/boot/dts/qcom/mahua.dtsi
index e7141f8c9e0d..9478a0b5f178 100644
--- a/arch/arm64/boot/dts/qcom/mahua.dtsi
+++ b/arch/arm64/boot/dts/qcom/mahua.dtsi
@@ -122,9 +122,9 @@ &gcc {
 		 <0>,				/* QUSB4 1 PHY RX 1 */
 		 <0>,				/* QUSB4 2 PHY RX 0 */
 		 <0>,				/* QUSB4 2 PHY RX 1 */
-		 <0>,				/* UFS PHY RX Symbol 0 */
-		 <0>,				/* UFS PHY RX Symbol 1 */
-		 <0>,				/* UFS PHY TX Symbol 0 */
+		 <&ufs_mem_phy 0>,
+		 <&ufs_mem_phy 1>,
+		 <&ufs_mem_phy 2>,
 		 <&usb_0_qmpphy QMP_USB43DP_USB3_PIPE_CLK>,
 		 <&usb_1_qmpphy QMP_USB43DP_USB3_PIPE_CLK>,
 		 <&usb_2_qmpphy QMP_USB43DP_USB3_PIPE_CLK>,

---
base-commit: e5aad2bdbbee783611d32599f89cea3f12f9593d
change-id: 20261129-mahua-qcb-ufs-changes-9cbe7a002d5d

Best regards,
-- 
Pradeep P V K <pradeep.pragallapati@oss.qualcomm.com>


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2026-11-29  8:17 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-29  8:09 [PATCH] arm64: dts: qcom: mahua-qcb: Enable UFS Pradeep P V K
2026-11-29  8:17 ` sashiko-bot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox