]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
arm64: dts: qcom: qcs8300: enable the inline crypto engine
authorYuvaraj Ranganathan <quic_yrangana@quicinc.com>
Mon, 25 Nov 2024 06:58:01 +0000 (12:28 +0530)
committerBjorn Andersson <andersson@kernel.org>
Thu, 26 Dec 2024 05:50:49 +0000 (23:50 -0600)
Add an ICE node to qcs8300 SoC description and enable it by adding a
phandle to the UFS node.

Signed-off-by: Yuvaraj Ranganathan <quic_yrangana@quicinc.com>
Link: https://lore.kernel.org/r/20241125065801.1751256-3-quic_yrangana@quicinc.com
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
arch/arm64/boot/dts/qcom/qcs8300.dtsi

index 9f67ef26ac3df52c3d9a2aa846d56fa458211cd2..35380ef738b974d5ad61afb4bd32ac718f9d3d25 100644 (file)
                                        <0 0>,
                                        <0 0>,
                                        <0 0>;
+                       qcom,ice = <&ice>;
                        status = "disabled";
                };
 
                        interconnect-names = "memory";
                };
 
+               ice: crypto@1d88000 {
+                       compatible = "qcom,qcs8300-inline-crypto-engine",
+                                    "qcom,inline-crypto-engine";
+                       reg = <0x0 0x01d88000 0x0 0x18000>;
+                       clocks = <&gcc GCC_UFS_PHY_ICE_CORE_CLK>;
+               };
+
                tcsr_mutex: hwlock@1f40000 {
                        compatible = "qcom,tcsr-mutex";
                        reg = <0x0 0x01f40000 0x0 0x20000>;