Skip to contentSkip to conversation

ARM: mvebu: add revision id for Armada-385 B0

PATCH New Chris Packham 2 participants 3 messages Nov 27, 2018 – Nov 30, 2018

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ARM: mvebu: add revision id for Armada-385 B0

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.

---

 arch/arm/mach-mvebu/cpu.c                     | 3 +++
 arch/arm/mach-mvebu/include/mach/soc.h        | 1 +
 arch/arm/mach-mvebu/serdes/a38x/sys_env_lib.h | 1 +
 3 files changed, 5 insertions(+)
arch/arm/mach-mvebu/cpu.c +3 -0
index 0d2d39878d38..aa1be8ebabcb 100644
@@ -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;
arch/arm/mach-mvebu/include/mach/soc.h +1 -0
index 6e2e14efe0b7..01577f469b0e 100644
@@ -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
arch/arm/mach-mvebu/serdes/a38x/sys_env_lib.h +1 -0
index 50b235826659..365332d2b048 100644
@@ -233,6 +233,7 @@
 /* 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
 
Signature · 1 line
2.19.2
#1 lore raw

PATCH 1/1 ARM: mvebu: add revision id for Armada-385 B0

Quoted 44 lines · Chris Packham

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.

---

  arch/arm/mach-mvebu/cpu.c                     | 3 +++
  arch/arm/mach-mvebu/include/mach/soc.h        | 1 +
  arch/arm/mach-mvebu/serdes/a38x/sys_env_lib.h | 1 +
  3 files changed, 5 insertions(+)
arch/arm/mach-mvebu/cpu.c +3 -0
index 0d2d39878d38..aa1be8ebabcb 100644
@@ -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;
arch/arm/mach-mvebu/include/mach/soc.h +1 -0
index 6e2e14efe0b7..01577f469b0e 100644
@@ -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
arch/arm/mach-mvebu/serdes/a38x/sys_env_lib.h +0 -0
index 50b235826659..365332d2b048 100644

arch/arm/mach-mvebu/serdes/a38x/sys_env_lib.h line 239

Quoted 7 lines
arch/arm/mach-mvebu/serdes/a38x/sys_env_lib.h +1 -0
@@ -233,6 +233,7 @@
  /* 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
 

Thanks,
Stefan

#2 lore raw

PATCH 1/1 ARM: mvebu: add revision id for Armada-385 B0

In reply to Chris Packham
Quoted 5 lines · Chris Packham

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.

Applied to u-boot-marvell/master.

Thanks,
Stefan