From 16fbe94504e3f9026f6044d23b3972fb07a6caba Mon Sep 17 00:00:00 2001 From: Dipen Patel Date: Tue, 14 Nov 2023 21:08:50 +0000 Subject: [PATCH] t23x: platform: safety: Add FSI multicore support The recent version of the FSI FW has updated it to include multi-core FSI support where CCPLEX can communicate with multiple FSI cores, using per core memory carveouts. This CL reflects the changes that it is needed to accomplish that, specifically it adds mapping of the mailbox to each core. While at it, it also corrects the epl DT node in line with latest changes done in the safety SOC dtsi file otherwise it will create two epl nodes which is not desirable. JIRA L4T-4468 Change-Id: I782b57f67c553739ac76ab835da731ceb9a63c67 Signed-off-by: Dipen Patel Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2997185 (cherry picked from commit 3382ef11791fc7f7e5eb23b1e1638162cac02f5d in rel-36) Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3046292 Reviewed-by: Bibek Basu GVS: Gerrit_Virtual_Submit --- nv-platform/tegra234-p3740-0002+p3701-0008-safety.dtsi | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/nv-platform/tegra234-p3740-0002+p3701-0008-safety.dtsi b/nv-platform/tegra234-p3740-0002+p3701-0008-safety.dtsi index 4fa244b..e8af8b2 100644 --- a/nv-platform/tegra234-p3740-0002+p3701-0008-safety.dtsi +++ b/nv-platform/tegra234-p3740-0002+p3701-0008-safety.dtsi @@ -1,7 +1,9 @@ // SPDX-License-Identifier: GPL-2.0 -// SPDX-FileCopyrightText: Copyright (c) 2023, NVIDIA CORPORATION & AFFILIATES. All rights reserved. +// SPDX-FileCopyrightText: Copyright (c) 2023-2024, NVIDIA CORPORATION & AFFILIATES. All rights reserved. #include "nv-soc/tegra234-soc-safetyservice-fsicom.dtsi" +#include +#include / { compatible = "nvidia,p3740-0002+p3701-0008", "safety", "nvidia,p3701-0008", "nvidia,tegra234"; @@ -40,8 +42,11 @@ }; hsp_top2: hsp@1600000 { + interrupts = , ; + interrupt-names = "shared1", "shared2"; status = "okay"; }; + spi@3230000 { compatible = "nvidia,tegra186-spi-slave"; status = "okay"; @@ -99,7 +104,7 @@ status = "okay"; }; - safetyservices_epl_client { + safetyservices_epl_client@110000 { /* userspace app uses this driver to send error code */ status = "okay"; };