Skip to contentSkip to conversation

ARM: mvebu: Update the SoC ID and revision definitions

PATCH New Gregory CLEMENT 2 participants 2 messages Jan 8, 2015 – Jan 9, 2015

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

PATCH 1/1 ARM: mvebu: Update the SoC ID and revision definitions

Add the missing SoC and revision ID for the Armada 370 and 38x SoCs.

---
 arch/arm/mach-mvebu/mvebu-soc-id.h | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
arch/arm/mach-mvebu/mvebu-soc-id.h +18 -0
index c16bb68ca81f..e124a0b82a3e 100644
@@ -20,10 +20,28 @@
 #define MV78XX0_A0_REV	    0x1
 #define MV78XX0_B0_REV	    0x2
 
+/* Amada 370 ID */
+#define ARMADA_370_DEV_ID   0x6710
+
+/* Amada 370 Revision */
+#define ARMADA_370_A1_REV   0x1
+
+/* Armada 375 ID */
+#define ARMADA_375_DEV_ID   0x6720
+
 /* Armada 375 */
 #define ARMADA_375_Z1_REV   0x0
 #define ARMADA_375_A0_REV   0x3
 
+/* Armada 38x ID */
+#define ARMADA_380_DEV_ID   0x6810
+#define ARMADA_385_DEV_ID   0x6820
+#define ARMADA_388_DEV_ID   0x6828
+
+/* Armada 38x Revision */
+#define ARMADA_38x_Z1_REV   0x0
+#define ARMADA_38x_A0_REV   0x4
+
 #ifdef CONFIG_ARCH_MVEBU
 int mvebu_get_soc_id(u32 *dev, u32 *rev);
 #else
Signature · 1 line
1.9.1
maintainer
#1 lore raw

PATCH 1/1 ARM: mvebu: Update the SoC ID and revision definitions

Quoted 3 lines · Gregory CLEMENT

Add the missing SoC and revision ID for the Armada 370 and 38x SoCs.

Added to mvebu/soc

Andrew

Quoted 45 lines
---
 arch/arm/mach-mvebu/mvebu-soc-id.h | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
arch/arm/mach-mvebu/mvebu-soc-id.h +18 -0
index c16bb68ca81f..e124a0b82a3e 100644
@@ -20,10 +20,28 @@
 #define MV78XX0_A0_REV	    0x1
 #define MV78XX0_B0_REV	    0x2
 
+/* Amada 370 ID */
+#define ARMADA_370_DEV_ID   0x6710
+
+/* Amada 370 Revision */
+#define ARMADA_370_A1_REV   0x1
+
+/* Armada 375 ID */
+#define ARMADA_375_DEV_ID   0x6720
+
 /* Armada 375 */
 #define ARMADA_375_Z1_REV   0x0
 #define ARMADA_375_A0_REV   0x3
 
+/* Armada 38x ID */
+#define ARMADA_380_DEV_ID   0x6810
+#define ARMADA_385_DEV_ID   0x6820
+#define ARMADA_388_DEV_ID   0x6828
+
+/* Armada 38x Revision */
+#define ARMADA_38x_Z1_REV   0x0
+#define ARMADA_38x_A0_REV   0x4
+
 #ifdef CONFIG_ARCH_MVEBU
 int mvebu_get_soc_id(u32 *dev, u32 *rev);
 #else
Signature · 7 lines
1.9.1


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel at lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel