[PATCH v8 06/11] arm64: dts: qcom: ipq5210: Add ICE support to SDHCI

From: Varadarajan Narayanan

Date: Fri Nov 06 2026 - 04:27:09 EST


Describe the SDHCI ICE register region and clock, and enable CQE support
for the IPQ5210 SDHCI controller.

Signed-off-by: Varadarajan Narayanan <varadarajan.narayanan@xxxxxxxxxxxxxxxx>
---
arch/arm64/boot/dts/qcom/ipq5210-rdp504.dts | 4 ++++
arch/arm64/boot/dts/qcom/ipq5210.dtsi | 23 +++++++++++++++++++++++
2 files changed, 27 insertions(+)

diff --git a/arch/arm64/boot/dts/qcom/ipq5210-rdp504.dts b/arch/arm64/boot/dts/qcom/ipq5210-rdp504.dts
index e5f2f9217f3b..5715022db6c6 100644
--- a/arch/arm64/boot/dts/qcom/ipq5210-rdp504.dts
+++ b/arch/arm64/boot/dts/qcom/ipq5210-rdp504.dts
@@ -15,3 +15,7 @@ / {
&sdhc {
status = "okay";
};
+
+&sdhc_ice {
+ status = "okay";
+};
diff --git a/arch/arm64/boot/dts/qcom/ipq5210.dtsi b/arch/arm64/boot/dts/qcom/ipq5210.dtsi
index 6dfc89903d2f..705d7ed48713 100644
--- a/arch/arm64/boot/dts/qcom/ipq5210.dtsi
+++ b/arch/arm64/boot/dts/qcom/ipq5210.dtsi
@@ -151,6 +151,14 @@ opp-1416000000 {
};
};

+ sdhc_opp_table_300mhz: opp-table-300mhz {
+ compatible = "operating-points-v2";
+
+ opp-300000000 {
+ opp-hz = /bits/ 64 <300000000>;
+ };
+ };
+
pmu {
compatible = "arm,cortex-a53-pmu";
interrupts = <GIC_PPI 7 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>;
@@ -432,6 +440,21 @@ sdhc: mmc@7804000 {
"core",
"xo";
non-removable;
+ operating-points-v2 = <&sdhc_opp_table_300mhz>;
+ supports-cqe;
+
+ status = "disabled";
+ };
+
+ sdhc_ice: crypto@7808000 {
+ compatible = "qcom,ipq5210-inline-crypto-engine",
+ "qcom,inline-crypto-engine";
+ reg = <0x0 0x07808000 0x0 0x2000>;
+
+ clocks = <&gcc GCC_SDCC1_ICE_CORE_CLK>,
+ <&gcc GCC_SDCC1_AHB_CLK>;
+ clock-names = "core",
+ "iface";

status = "disabled";
};

--
2.34.1