From 41f6d6639be5cd874d9b17f39b5ec3d086070ec3 Mon Sep 17 00:00:00 2001 From: Brad Griffis Date: Fri, 1 Nov 2024 00:50:08 +0000 Subject: [PATCH] t23x: dts: enable crypto for Orin NX/Nano Enable crypto accelerators for Orin NX/Nano. Additionally: 1. Remove the compatibles "nvidia,tegra234-se2-aes" and "nvidia,tegra234-se4-hash" since the OOT crypto modules are now aligned with upstream. 2. Remove reference to crypto@15810000 since it is not valid. Bug 4883011 Change-Id: I075c54a194ec46dd2727067fc35b9891ef934770 Signed-off-by: Brad Griffis Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3241042 GVS: buildbot_gerritrpt Reviewed-by: Jon Hunter --- nv-platform/tegra234-p3737-0000+p3701-xxxx-nv-common.dtsi | 4 ---- nv-platform/tegra234-p3740-0002+p3701-0008-nv-common.dtsi | 4 ---- nv-platform/tegra234-p3768-0000+p3767-xxxx-nv-common.dtsi | 8 ++++++++ nv-soc/tegra234-soc-overlay.dtsi | 2 -- 4 files changed, 8 insertions(+), 10 deletions(-) diff --git a/nv-platform/tegra234-p3737-0000+p3701-xxxx-nv-common.dtsi b/nv-platform/tegra234-p3737-0000+p3701-xxxx-nv-common.dtsi index 76c0671..0183139 100644 --- a/nv-platform/tegra234-p3737-0000+p3701-xxxx-nv-common.dtsi +++ b/nv-platform/tegra234-p3737-0000+p3701-xxxx-nv-common.dtsi @@ -204,10 +204,6 @@ status = "okay"; }; - crypto@15810000 { - status = "okay"; - }; - crypto@15820000 { status = "okay"; }; diff --git a/nv-platform/tegra234-p3740-0002+p3701-0008-nv-common.dtsi b/nv-platform/tegra234-p3740-0002+p3701-0008-nv-common.dtsi index 9377de7..a4c5d33 100644 --- a/nv-platform/tegra234-p3740-0002+p3701-0008-nv-common.dtsi +++ b/nv-platform/tegra234-p3740-0002+p3701-0008-nv-common.dtsi @@ -231,10 +231,6 @@ status = "okay"; }; - crypto@15810000 { - status = "okay"; - }; - crypto@15820000 { status = "okay"; }; diff --git a/nv-platform/tegra234-p3768-0000+p3767-xxxx-nv-common.dtsi b/nv-platform/tegra234-p3768-0000+p3767-xxxx-nv-common.dtsi index 4ac4ff0..785bdb1 100644 --- a/nv-platform/tegra234-p3768-0000+p3767-xxxx-nv-common.dtsi +++ b/nv-platform/tegra234-p3768-0000+p3767-xxxx-nv-common.dtsi @@ -254,6 +254,14 @@ status = "okay"; }; + crypto@15820000 { + status = "okay"; + }; + + crypto@15840000 { + status = "okay"; + }; + nvdla0@15880000 { status = "okay"; }; diff --git a/nv-soc/tegra234-soc-overlay.dtsi b/nv-soc/tegra234-soc-overlay.dtsi index d67b06e..adbcca2 100644 --- a/nv-soc/tegra234-soc-overlay.dtsi +++ b/nv-soc/tegra234-soc-overlay.dtsi @@ -637,7 +637,6 @@ }; crypto@15820000 { - compatible = "nvidia,tegra234-se2-aes", "nvidia,tegra234-se-aes"; clock-names = "se"; interconnects = <&mc TEGRA234_MEMORY_CLIENT_SESRD &emc>, <&mc TEGRA234_MEMORY_CLIENT_SESWR &emc>; @@ -647,7 +646,6 @@ }; crypto@15840000 { - compatible = "nvidia,tegra234-se4-hash", "nvidia,tegra234-se-hash"; clock-names = "se"; interconnects = <&mc TEGRA234_MEMORY_CLIENT_SESRD &emc>, <&mc TEGRA234_MEMORY_CLIENT_SESWR &emc>;