From a63d9bdcb86b788a10a61e7bc0c0e22f5b0c9eb7 Mon Sep 17 00:00:00 2001 From: Jon Hunter Date: Fri, 2 Sep 2022 13:07:28 +0100 Subject: [PATCH] tegra234: overlay: Add optee DT overlay file. Add the DT overlay for OPTEE that have been copied from the nvidia-oot branch. Bug 3733730 Change-Id: I13172d6c6e9930c85f0126477668858dccbbf560 Signed-off-by: Jon Hunter Reviewed-by: Bibek Basu Signed-off-by: Laxman Dewangan Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2916514 --- overlay/Makefile | 1 + overlay/tegra-optee.dts | 27 +++++++++++++++++++++++++++ 2 files changed, 28 insertions(+) create mode 100644 overlay/tegra-optee.dts diff --git a/overlay/Makefile b/overlay/Makefile index 67bc3f6..9e64e2b 100644 --- a/overlay/Makefile +++ b/overlay/Makefile @@ -9,6 +9,7 @@ dtb-y := dtbo-y := makefile-path := t23x/nv-public/overlay +dtbo-y += tegra-optee.dtbo dtbo-y += tegra234-audio-overlay.dtbo dtbo-y += tegra234-carveouts.dtbo dtbo-y += tegra234-jetson.dtbo diff --git a/overlay/tegra-optee.dts b/overlay/tegra-optee.dts new file mode 100644 index 0000000..c2453ff --- /dev/null +++ b/overlay/tegra-optee.dts @@ -0,0 +1,27 @@ +// SPDX-License-Identifier: GPL-2.0-only +// Copyright (c) 2023, NVIDIA CORPORATION & AFFILIATES. All rights reserved. +// Jetson Device-tree overlay for OP-TEE. + +/dts-v1/; +/plugin/; + +/ { + overlay-name = "OP-TEE overlay"; + compatible = "nvidia,tegra234"; + + fragment@0 { + target-path = "/"; + board_config { + sw-modules = "kernel"; + }; + __overlay__ { + firmware { + optee { + compatible = "linaro,optee-tz"; + method = "smc"; + status = "disabled"; + }; + }; + }; + }; +};