ARM: at91/soc: reference the whole sama5d2 family
authorLudovic Desroches <ludovic.desroches@atmel.com>
Fri, 18 Mar 2016 07:21:20 +0000 (08:21 +0100)
committerNicolas Ferre <nicolas.ferre@atmel.com>
Tue, 29 Mar 2016 14:34:31 +0000 (16:34 +0200)
Add EXID of all SoCs of the SAMA5D2 family.

Signed-off-by: Ludovic Desroches <ludovic.desroches@atmel.com>
Acked-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
arch/arm/mach-at91/sama5.c
arch/arm/mach-at91/soc.h

index df8fdf1cf66d63140a4ac6acd700c3fedb3ab71f..922b85f07cd273d35daab8e3ff52b74f751f571d 100644 (file)
 #include "soc.h"
 
 static const struct at91_soc sama5_socs[] = {
-       AT91_SOC(SAMA5D2_CIDR_MATCH, SAMA5D27_EXID_MATCH,
+       AT91_SOC(SAMA5D2_CIDR_MATCH, SAMA5D21CU_EXID_MATCH,
+                "sama5d21", "sama5d2"),
+       AT91_SOC(SAMA5D2_CIDR_MATCH, SAMA5D22CU_EXID_MATCH,
+                "sama5d22", "sama5d2"),
+       AT91_SOC(SAMA5D2_CIDR_MATCH, SAMA5D23CU_EXID_MATCH,
+                "sama5d23", "sama5d2"),
+       AT91_SOC(SAMA5D2_CIDR_MATCH, SAMA5D24CX_EXID_MATCH,
+                "sama5d24", "sama5d2"),
+       AT91_SOC(SAMA5D2_CIDR_MATCH, SAMA5D24CU_EXID_MATCH,
+                "sama5d24", "sama5d2"),
+       AT91_SOC(SAMA5D2_CIDR_MATCH, SAMA5D26CU_EXID_MATCH,
+                "sama5d26", "sama5d2"),
+       AT91_SOC(SAMA5D2_CIDR_MATCH, SAMA5D27CU_EXID_MATCH,
                 "sama5d27", "sama5d2"),
+       AT91_SOC(SAMA5D2_CIDR_MATCH, SAMA5D27CN_EXID_MATCH,
+                "sama5d27", "sama5d2"),
+       AT91_SOC(SAMA5D2_CIDR_MATCH, SAMA5D28CU_EXID_MATCH,
+                "sama5d28", "sama5d2"),
+       AT91_SOC(SAMA5D2_CIDR_MATCH, SAMA5D28CN_EXID_MATCH,
+                "sama5d28", "sama5d2"),
        AT91_SOC(SAMA5D3_CIDR_MATCH, SAMA5D31_EXID_MATCH,
                 "sama5d31", "sama5d3"),
        AT91_SOC(SAMA5D3_CIDR_MATCH, SAMA5D33_EXID_MATCH,
index 8ede0ef86172a6f2486a3aea517d4f1130fd7a9f..228efded5085da6f93947788164daa67f7f03195 100644 (file)
@@ -63,7 +63,17 @@ at91_soc_init(const struct at91_soc *socs);
 #define AT91SAM9XE512_CIDR_MATCH       0x329aa3a0
 
 #define SAMA5D2_CIDR_MATCH             0x0a5c08c0
-#define SAMA5D27_EXID_MATCH            0x00000021
+#define SAMA5D21CU_EXID_MATCH          0x0000005a
+#define SAMA5D22CU_EXID_MATCH          0x00000059
+#define SAMA5D22CN_EXID_MATCH          0x00000069
+#define SAMA5D23CU_EXID_MATCH          0x00000058
+#define SAMA5D24CX_EXID_MATCH          0x00000004
+#define SAMA5D24CU_EXID_MATCH          0x00000014
+#define SAMA5D26CU_EXID_MATCH          0x00000012
+#define SAMA5D27CU_EXID_MATCH          0x00000011
+#define SAMA5D27CN_EXID_MATCH          0x00000021
+#define SAMA5D28CU_EXID_MATCH          0x00000010
+#define SAMA5D28CN_EXID_MATCH          0x00000020
 
 #define SAMA5D3_CIDR_MATCH             0x0a5c07c0
 #define SAMA5D31_EXID_MATCH            0x00444300