From cd656a5612e6f6942fd8fb768b5dd948efbc37ac Mon Sep 17 00:00:00 2001 From: Daniel Boulby Date: Tue, 23 Jul 2024 17:35:58 +0100 Subject: [PATCH] feat(spm): change UART0-1 to NS device region To enable device memory sharing test make memory region for UART0 and 1 a NS device region so that it can be shared by tf-a-tests to the cactus SP. Signed-off-by: Daniel Boulby Change-Id: Iadfe02a65f5d4a8b60296f07c4943dd31f201453 --- plat/arm/board/fvp/fdts/fvp_spmc_manifest.dts | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/plat/arm/board/fvp/fdts/fvp_spmc_manifest.dts b/plat/arm/board/fvp/fdts/fvp_spmc_manifest.dts index 9fba4af38..bf0e7f387 100644 --- a/plat/arm/board/fvp/fdts/fvp_spmc_manifest.dts +++ b/plat/arm/board/fvp/fdts/fvp_spmc_manifest.dts @@ -99,12 +99,17 @@ memory@2 { device_type = "device-memory"; - reg = <0x0 0x1c090000 0x0 0x40000>, /* UART */ + reg = <0x0 0x1c0b0000 0x0 0x20000>, /* UART 2-3 */ <0x0 0x2bfe0000 0x0 0x20000>, /* SMMUv3TestEngine */ <0x0 0x2a490000 0x0 0x20000>, /* SP805 Trusted Watchdog */ <0x0 0x1c130000 0x0 0x10000>; /* Virtio block device */ }; + memory@3 { + device_type = "ns-device-memory"; + reg = <0x0 0x1c090000 0x0 0x20000>; /* UART 0-1 */ + }; + #if MEASURED_BOOT #include "event_log.dtsi"