@@ -37,6 +37,14 @@ config MPSOC
help
Enable all the required drivers for Xilinx Ultrascale+ MPSoC
+config S32CC
+ bool "NXP S32CC platforms support"
+ depends on ARM_64
+ select HAS_LINFLEX
+ select SCMI_SMC
+ help
+ Enable all the required drivers for NXP S32CC platforms
+
config NO_PLAT
bool "No Platforms"
help
@@ -56,3 +64,6 @@ config MPSOC_PLATFORM
bool
default (ALL64_PLAT || MPSOC)
+config S32CC_PLATFORM
+ bool
+ default (ALL64_PLAT || S32CC)
@@ -10,5 +10,6 @@ obj-$(CONFIG_ALL64_PLAT) += thunderx.o
obj-$(CONFIG_ALL64_PLAT) += xgene-storm.o
obj-$(CONFIG_ALL64_PLAT) += brcm-raspberry-pi.o
obj-$(CONFIG_ALL64_PLAT) += imx8qm.o
+obj-$(CONFIG_S32CC_PLATFORM) += s32cc.o
obj-$(CONFIG_MPSOC_PLATFORM) += xilinx-zynqmp.o
obj-$(CONFIG_MPSOC_PLATFORM) += xilinx-zynqmp-eemi.o
new file mode 100644
@@ -0,0 +1,32 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+/*
+ * xen/arch/arm/platforms/s32cc.c
+ *
+ * NXP S32CC Platform-specific settings
+ *
+ * Andrei Cherechesu <andrei.cherechesu@nxp.com>
+ * Copyright 2021-2024 NXP
+ */
+
+#include <asm/platform.h>
+
+static const char * const s32cc_dt_compat[] __initconst =
+{
+ "nxp,s32g2",
+ "nxp,s32g3",
+ "nxp,s32r45",
+ NULL
+};
+
+PLATFORM_START(s32cc, "NXP S32CC")
+ .compatible = s32cc_dt_compat,
+PLATFORM_END
+
+/*
+ * Local variables:
+ * mode: C
+ * c-file-style: "BSD"
+ * c-basic-offset: 4
+ * indent-tabs-mode: nil
+ * End:
+ */