[PATCH 4/4] arm64: dt: sm6125: Add power domains to sdhc
From: Martin Botka
Date: Tue Nov 30 2021 - 16:24:11 EST
Add RPM Power Domains to internal eMMC and SDCard.
Signed-off-by: Martin Botka <martin.botka@xxxxxxxxxxxxxx>
---
arch/arm64/boot/dts/qcom/sm6125.dtsi | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/arch/arm64/boot/dts/qcom/sm6125.dtsi b/arch/arm64/boot/dts/qcom/sm6125.dtsi
index 1e280c4d402d..b5471bf9fbc4 100644
--- a/arch/arm64/boot/dts/qcom/sm6125.dtsi
+++ b/arch/arm64/boot/dts/qcom/sm6125.dtsi
@@ -460,6 +460,9 @@ sdhc_1: sdhci@4744000 {
<&gcc GCC_SDCC1_APPS_CLK>,
<&xo_board>;
clock-names = "iface", "core", "xo";
+
+ power-domains = <&rpmpd SM6125_VDDCX>;
+
bus-width = <8>;
non-removable;
status = "disabled";
@@ -483,6 +486,8 @@ sdhc_2: sdhci@4784000 {
pinctrl-1 = <&sdc2_state_off>;
pinctrl-names = "default", "sleep";
+ power-domains = <&rpmpd SM6125_VDDCX>;
+
bus-width = <4>;
status = "disabled";
};
--
2.34.0