From 4c91deca44b89ccee4a6b8cf1f5f993897545813 Mon Sep 17 00:00:00 2001 From: Vedant Deshpande Date: Fri, 5 Jul 2024 23:49:17 +0000 Subject: [PATCH] UPSTREAM: arm64: tegra: Add Tegra Security Engine DT nodes Add device tree nodes for Tegra AES and HASH engines. Signed-off-by: Akhil R Signed-off-by: Thierry Reding Bug 4707773 (cherry picked from mainline commit 0d23cacb2ae0fc9d8d40f36cb37ad272b3249ffe) Change-Id: I5fe86a6943f3a57cd6426c3a1ed20e2f773b8430 Signed-off-by: Vedant Deshpande Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3169654 (cherry picked from commit 5c1e11f1bc354728c5d46867a8c63b95da136ec2) Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3177116 GVS: buildbot_gerritrpt Reviewed-by: Brad Griffis --- tegra234.dtsi | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/tegra234.dtsi b/tegra234.dtsi index 54b0596..30760be 100644 --- a/tegra234.dtsi +++ b/tegra234.dtsi @@ -4420,6 +4420,22 @@ */ status = "disabled"; }; + + crypto@15820000 { + compatible = "nvidia,tegra234-se-aes"; + reg = <0x00 0x15820000 0x00 0x10000>; + clocks = <&bpmp TEGRA234_CLK_SE>; + iommus = <&smmu_niso1 TEGRA234_SID_SES_SE1>; + dma-coherent; + }; + + crypto@15840000 { + compatible = "nvidia,tegra234-se-hash"; + reg = <0x00 0x15840000 0x00 0x10000>; + clocks = <&bpmp TEGRA234_CLK_SE>; + iommus = <&smmu_niso1 TEGRA234_SID_SES_SE2>; + dma-coherent; + }; }; pcie@140a0000 {