From: Frank Böwingloh Date: Fri, 8 Aug 2025 12:31:34 +0000 (+0200) Subject: soc: xilinx: zynqmp: Fix zu1cg device detection X-Git-Tag: v2025.10-rc3~4^2~8 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3b765ae05005249b91a737cd620e0577a8d5b9ba;p=pandora-u-boot.git soc: xilinx: zynqmp: Fix zu1cg device detection 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 Cc: Michal Simek Link: https://lore.kernel.org/r/20250808123134.636-1-f.boewingloh@beckhoff.com Signed-off-by: Michal Simek --- 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,