feat(rcar): add support for Renesas R-Car S4 / V4H / V4M

Add support for Renesas R-Car S4 / V4H / V4M , which are Gen4 SoC.
Unlike Gen3, the Gen4 uses only TFA BL31 during boot.

Change-Id: I63907da539c19f81628186692f24e43e5d7d436c
Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
diff --git a/group/tf-l1-build-plat/rcar-s4:nil b/group/tf-l1-build-plat/rcar-s4:nil
new file mode 100644
index 0000000..85c880b
--- /dev/null
+++ b/group/tf-l1-build-plat/rcar-s4:nil
@@ -0,0 +1,10 @@
+#!/usr/bin/env bash
+#
+# Copyright (c) 2025, Renesas Electronics Corporation. All rights reserved.
+#
+# SPDX-License-Identifier: BSD-3-Clause
+#
+
+pre_tf_build() {
+	targets="bl31" set_tf_build_targets
+}
diff --git a/group/tf-l1-build-plat/rcar-v4h:nil b/group/tf-l1-build-plat/rcar-v4h:nil
new file mode 100644
index 0000000..85c880b
--- /dev/null
+++ b/group/tf-l1-build-plat/rcar-v4h:nil
@@ -0,0 +1,10 @@
+#!/usr/bin/env bash
+#
+# Copyright (c) 2025, Renesas Electronics Corporation. All rights reserved.
+#
+# SPDX-License-Identifier: BSD-3-Clause
+#
+
+pre_tf_build() {
+	targets="bl31" set_tf_build_targets
+}
diff --git a/group/tf-l1-build-plat/rcar-v4m:nil b/group/tf-l1-build-plat/rcar-v4m:nil
new file mode 100644
index 0000000..85c880b
--- /dev/null
+++ b/group/tf-l1-build-plat/rcar-v4m:nil
@@ -0,0 +1,10 @@
+#!/usr/bin/env bash
+#
+# Copyright (c) 2025, Renesas Electronics Corporation. All rights reserved.
+#
+# SPDX-License-Identifier: BSD-3-Clause
+#
+
+pre_tf_build() {
+	targets="bl31" set_tf_build_targets
+}
diff --git a/script/tf-coverity/tf-cov-make b/script/tf-coverity/tf-cov-make
index 9fbd010..8a132aa 100755
--- a/script/tf-coverity/tf-cov-make
+++ b/script/tf-coverity/tf-cov-make
@@ -699,6 +699,21 @@
     PMIC_ROHM_BD9571=0 RCAR_DRAM_SPLIT=0 RCAR_SYSTEM_SUSPEND=0 \
     AVS_SETTING_ENABLE=0 SPD=none TRUSTED_BOARD_BOOT=1
 
+# Renesas R-Car S4 Automotive SoC
+clean_build PLAT=rcar_gen4 $(common_flags) BL32=Makefile \
+    MBEDTLS_DIR=$(pwd)/mbedtls BL33=Makefile LSI=S4 \
+    SPD=none CTX_INCLUDE_AARCH32_REGS=0 PTP_NONSECURE_ACCESS=1
+
+# Renesas R-Car V4H Automotive SoC
+clean_build PLAT=rcar_gen4 $(common_flags) BL32=Makefile \
+    MBEDTLS_DIR=$(pwd)/mbedtls BL33=Makefile LSI=V4H \
+    SPD=none CTX_INCLUDE_AARCH32_REGS=0 PTP_NONSECURE_ACCESS=1
+
+# Renesas R-Car V4M Automotive SoC
+clean_build PLAT=rcar_gen4 $(common_flags) BL32=Makefile \
+    MBEDTLS_DIR=$(pwd)/mbedtls BL33=Makefile LSI=V4M \
+    SPD=none CTX_INCLUDE_AARCH32_REGS=0 PTP_NONSECURE_ACCESS=1
+
 # Renesas HiHope RZ/G2M development kit
 clean_build PLAT=rzg $(common_flags) \
     MBEDTLS_DIR=$(pwd)/mbedtls LSI=G2M \
diff --git a/tf_config/rcar-s4 b/tf_config/rcar-s4
new file mode 100644
index 0000000..8fff59f
--- /dev/null
+++ b/tf_config/rcar-s4
@@ -0,0 +1,8 @@
+BL32=Makefile
+BL33=Makefile
+CROSS_COMPILE=aarch64-none-elf-
+LSI=S4
+PLAT=rcar_gen4
+SPD=none
+CTX_INCLUDE_AARCH32_REGS=0
+PTP_NONSECURE_ACCESS=1
diff --git a/tf_config/rcar-v4h b/tf_config/rcar-v4h
new file mode 100644
index 0000000..72b15af
--- /dev/null
+++ b/tf_config/rcar-v4h
@@ -0,0 +1,8 @@
+BL32=Makefile
+BL33=Makefile
+CROSS_COMPILE=aarch64-none-elf-
+LSI=V4H
+PLAT=rcar_gen4
+SPD=none
+CTX_INCLUDE_AARCH32_REGS=0
+PTP_NONSECURE_ACCESS=1
diff --git a/tf_config/rcar-v4m b/tf_config/rcar-v4m
new file mode 100644
index 0000000..f6397df
--- /dev/null
+++ b/tf_config/rcar-v4m
@@ -0,0 +1,8 @@
+BL32=Makefile
+BL33=Makefile
+CROSS_COMPILE=aarch64-none-elf-
+LSI=V4M
+PLAT=rcar_gen4
+SPD=none
+CTX_INCLUDE_AARCH32_REGS=0
+PTP_NONSECURE_ACCESS=1