Fix: change linux components to use branches

In the GitLab repository of the arm_ffa_user and arm_ffa_tee drivers
there are overloaded tag and branch names which makes CMake v3.18
unable to clone these.
Change the external components making this repo available locally to
use explicit branch names to work around the issue.

Change-Id: Ie94b65fc0f00d70d04e797240f551f79cc16bb39
Signed-off-by: Gyorgy Szing <Gyorgy.Szing@arm.com>
diff --git a/external/LinuxFFAUserShim/LinuxFFAUserShim.cmake b/external/LinuxFFAUserShim/LinuxFFAUserShim.cmake
index 09a2bf8..c0a9851 100644
--- a/external/LinuxFFAUserShim/LinuxFFAUserShim.cmake
+++ b/external/LinuxFFAUserShim/LinuxFFAUserShim.cmake
@@ -1,5 +1,5 @@
 #-------------------------------------------------------------------------------
-# Copyright (c) 2020-2022, Arm Limited and Contributors. All rights reserved.
+# Copyright (c) 2020-2023, Arm Limited and Contributors. All rights reserved.
 #
 # SPDX-License-Identifier: BSD-3-Clause
 #
@@ -19,7 +19,10 @@
 
 	set(LINUX_FFA_USER_SHIM_URL "https://git.gitlab.arm.com/linux-arm/linux-trusted-services.git"
 		CACHE STRING "Linux FF-A user space shim repository URL")
-	set(LINUX_FFA_USER_SHIM_REFSPEC "v5.0.0"
+
+	# Note: the aim of this external component is to make the header file defining the IOCTL API
+	#        available. Fetching a moving reference is ok as long as API compatibility is guaranteed.
+	set(LINUX_FFA_USER_SHIM_REFSPEC "origin/debugfs-v5"
 		CACHE STRING "Linux FF-A user space shim git refspec")
 
 	set(LINUX_FFA_USER_SHIM_SOURCE_DIR "${CMAKE_CURRENT_BINARY_DIR}/_deps/linux_ffa_user_shim-src"