[RFC PATCH 3/5] arm64: dts: qcom: sdm630: Add the Inline Crypto Engine node
From: Abel Vesa
Date: Tue Feb 14 2023 - 07:03:37 EST
Drop all values related to the ICE from the SDHC node and add a
dedicated ICE node.
Signed-off-by: Abel Vesa <abel.vesa@xxxxxxxxxx>
---
arch/arm64/boot/dts/qcom/sdm630.dtsi | 18 ++++++++++++------
1 file changed, 12 insertions(+), 6 deletions(-)
diff --git a/arch/arm64/boot/dts/qcom/sdm630.dtsi b/arch/arm64/boot/dts/qcom/sdm630.dtsi
index 5827cda270a0..67a6a27619d8 100644
--- a/arch/arm64/boot/dts/qcom/sdm630.dtsi
+++ b/arch/arm64/boot/dts/qcom/sdm630.dtsi
@@ -1330,9 +1330,8 @@ opp-200000000 {
sdhc_1: mmc@c0c4000 {
compatible = "qcom,sdm630-sdhci", "qcom,sdhci-msm-v5";
reg = <0x0c0c4000 0x1000>,
- <0x0c0c5000 0x1000>,
- <0x0c0c8000 0x8000>;
- reg-names = "hc", "cqhci", "ice";
+ <0x0c0c5000 0x1000>;
+ reg-names = "hc", "cqhci";
interrupts = <GIC_SPI 110 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 112 IRQ_TYPE_LEVEL_HIGH>;
@@ -1340,9 +1339,8 @@ sdhc_1: mmc@c0c4000 {
clocks = <&gcc GCC_SDCC1_AHB_CLK>,
<&gcc GCC_SDCC1_APPS_CLK>,
- <&xo_board>,
- <&gcc GCC_SDCC1_ICE_CORE_CLK>;
- clock-names = "iface", "core", "xo", "ice";
+ <&xo_board>;
+ clock-names = "iface", "core", "xo";
interconnects = <&a2noc 2 &a2noc 10>,
<&gnoc 0 &cnoc 27>;
@@ -1353,6 +1351,8 @@ sdhc_1: mmc@c0c4000 {
pinctrl-1 = <&sdc1_state_off>;
power-domains = <&rpmpd SDM660_VDDCX>;
+ qcom,ice = <&ice>;
+
bus-width = <8>;
non-removable;
@@ -1382,6 +1382,12 @@ opp-384000000 {
};
};
+ ice: inline-crypto-engine {
+ compatible = "qcom,inline-crypto-engine";
+ reg = <0x0c0c8000 0x8000>;
+ clocks = <&gcc GCC_SDCC1_ICE_CORE_CLK>;
+ };
+
usb2: usb@c2f8800 {
compatible = "qcom,sdm660-dwc3", "qcom,dwc3";
reg = <0x0c2f8800 0x400>;
--
2.34.1