[PATCH 1/1] soc: xilinx: zynqmp: Fix zu1cg device detection

boewingloh.linux at gmail.com boewingloh.linux at gmail.com
Fri Aug 8 14:31:34 CEST 2025


From: Frank Böwingloh <f.boewingloh at beckhoff.com>

Currently u-boot displayed a zu1cg soc as "Chip:  zu1eg".
A value of 0468_8093h in the IDCODE (CSU) Register defines a ZU1 soc
not only for the EG family but also for the CG family as described
in the Xilinx Zynq UltraScale+ UG1085 documentation in Table 1-2.

Signed-off-by: Frank Böwingloh <f.boewingloh at beckhoff.com>
Cc:  Michal Simek <michal.simek at amd.com>
---
 drivers/soc/soc_xilinx_zynqmp.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/soc/soc_xilinx_zynqmp.c b/drivers/soc/soc_xilinx_zynqmp.c
index 0c45c781fef..4b69ff3de13 100644
--- a/drivers/soc/soc_xilinx_zynqmp.c
+++ b/drivers/soc/soc_xilinx_zynqmp.c
@@ -63,7 +63,7 @@ static const struct zynqmp_device zynqmp_devices[] = {
 	{
 		.id = 0x04688093,
 		.device = 1,
-		.variants = ZYNQMP_VARIANT_EG,
+		.variants = ZYNQMP_VARIANT_EG | ZYNQMP_VARIANT_CG,
 	},
 	{
 		.id = 0x04689093,
-- 
2.47.2



More information about the U-Boot mailing list