ARM: mvebu: add revision id for Armada-385 B0
authorChris Packham <judge.packham@gmail.com>
Tue, 27 Nov 2018 21:32:00 +0000 (10:32 +1300)
committerStefan Roese <sr@denx.de>
Fri, 30 Nov 2018 09:58:10 +0000 (10:58 +0100)
Marvell have release a B0 revision of the Armada-385 SoC. This fixes a
hardware errata enabling RGMII to work when the Ethernet voltage is
configured to 3.3V.

Signed-off-by: Chris Packham <judge.packham@gmail.com>
Reviewed-by: Stefan Roese <sr@denx.de>
Signed-off-by: Stefan Roese <sr@denx.de>
arch/arm/mach-mvebu/cpu.c
arch/arm/mach-mvebu/include/mach/soc.h
arch/arm/mach-mvebu/serdes/a38x/sys_env_lib.h

index 0d2d398..aa1be8e 100644 (file)
@@ -261,6 +261,9 @@ int print_cpuinfo(void)
                case MV_88F68XX_A0_ID:
                        puts("A0");
                        break;
+               case MV_88F68XX_B0_ID:
+                       puts("B0");
+                       break;
                default:
                        printf("?? (%x)", revid);
                        break;
index 6e2e14e..01577f4 100644 (file)
@@ -27,6 +27,7 @@
 /* A38x revisions */
 #define MV_88F68XX_Z1_ID       0x0
 #define MV_88F68XX_A0_ID       0x4
+#define MV_88F68XX_B0_ID       0xa
 
 /* TCLK Core Clock definition */
 #ifndef CONFIG_SYS_TCLK
index 50b2358..365332d 100644 (file)
 /* A38x revisions */
 #define MV_88F68XX_Z1_ID               0x0
 #define MV_88F68XX_A0_ID               0x4
+#define MV_88F68XX_B0_ID               0xa
 /* A39x revisions */
 #define MV_88F69XX_Z1_ID               0x2