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 <dipenp@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2997185
(cherry picked from commit 3382ef1179 in rel-36)
Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/3046292
Reviewed-by: Bibek Basu <bbasu@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
This commit is contained in:
Dipen Patel
2023-11-14 21:08:50 +00:00
committed by mobile promotions
parent 69ca9e6a61
commit 16fbe94504

View File

@@ -1,7 +1,9 @@
// SPDX-License-Identifier: GPL-2.0 // 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 "nv-soc/tegra234-soc-safetyservice-fsicom.dtsi"
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/interrupt/tegra234-irq.h>
/ { / {
compatible = "nvidia,p3740-0002+p3701-0008", "safety", "nvidia,p3701-0008", "nvidia,tegra234"; compatible = "nvidia,p3740-0002+p3701-0008", "safety", "nvidia,p3701-0008", "nvidia,tegra234";
@@ -40,8 +42,11 @@
}; };
hsp_top2: hsp@1600000 { hsp_top2: hsp@1600000 {
interrupts = <GIC_SPI 266 IRQ_TYPE_LEVEL_HIGH>, <GIC_SPI 267 IRQ_TYPE_LEVEL_HIGH>;
interrupt-names = "shared1", "shared2";
status = "okay"; status = "okay";
}; };
spi@3230000 { spi@3230000 {
compatible = "nvidia,tegra186-spi-slave"; compatible = "nvidia,tegra186-spi-slave";
status = "okay"; status = "okay";
@@ -99,7 +104,7 @@
status = "okay"; status = "okay";
}; };
safetyservices_epl_client { safetyservices_epl_client@110000 {
/* userspace app uses this driver to send error code */ /* userspace app uses this driver to send error code */
status = "okay"; status = "okay";
}; };