arm64: dts: qcom: sc7280: Add inline crypto engine
authorLuca Weiss <luca.weiss@fairphone.com>
Wed, 13 Mar 2024 12:53:15 +0000 (13:53 +0100)
committerBjorn Andersson <andersson@kernel.org>
Wed, 3 Apr 2024 18:49:49 +0000 (13:49 -0500)
Add the ICE found on sc7280 and link it to the UFS node.

For reference:

  [    0.261424] qcom-ice 1d88000.crypto: Found QC Inline Crypto Engine (ICE) v3.2.0

Signed-off-by: Luca Weiss <luca.weiss@fairphone.com>
Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Link: https://lore.kernel.org/r/20240313-sc7280-ice-v1-2-3fa089fb7a27@fairphone.com
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
arch/arm64/boot/dts/qcom/sc7280.dtsi

index 7e7f0f0fb41ba03fe39095c7d1b5e2e24ac3136d..6518c9c3a07f13a372d96318ce20c1e20a3f344d 100644 (file)
                                <0 0>,
                                <0 0>,
                                <0 0>;
+                       qcom,ice = <&ice>;
+
                        status = "disabled";
                };
 
                        status = "disabled";
                };
 
+               ice: crypto@1d88000 {
+                       compatible = "qcom,sc7280-inline-crypto-engine",
+                                    "qcom,inline-crypto-engine";
+                       reg = <0 0x01d88000 0 0x8000>;
+                       clocks = <&gcc GCC_UFS_PHY_ICE_CORE_CLK>;
+               };
+
                cryptobam: dma-controller@1dc4000 {
                        compatible = "qcom,bam-v1.7.4", "qcom,bam-v1.7.0";
                        reg = <0x0 0x01dc4000 0x0 0x28000>;