soc: xilinx: zynqmp: Fix zu1cg device detection
authorFrank Böwingloh <f.boewingloh@beckhoff.com>
Fri, 8 Aug 2025 12:31:34 +0000 (14:31 +0200)
committerMichal Simek <michal.simek@amd.com>
Mon, 25 Aug 2025 14:20:47 +0000 (16:20 +0200)
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@beckhoff.com>
Cc: Michal Simek <michal.simek@amd.com>
Link: https://lore.kernel.org/r/20250808123134.636-1-f.boewingloh@beckhoff.com
Signed-off-by: Michal Simek <michal.simek@amd.com>
drivers/soc/soc_xilinx_zynqmp.c

index 0c45c78..4b69ff3 100644 (file)
@@ -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,