Skip to content

Commit ec11fc9

Browse files
committed
drivers: soc: atmel: Add basic support for new sama5d2 SiPs
Add basic support for new sama5d2 System in a Package chips. Signed-off-by: Cristian Birsan <cristian.birsan@microchip.com> [claudiu.beznea@microchip.com: use MiB instead of MB] Signed-off-by: Claudiu Beznea <claudiu.beznea@microchip.com> Acked-by: Nicolas Ferre <nicolas.ferre@microchip.com> Acked-by: Ludovic Desroches <ludovic.desroches@microchip.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com> (cherry picked from commit cd2e9be)
1 parent a16134b commit ec11fc9

2 files changed

Lines changed: 12 additions & 0 deletions

File tree

drivers/soc/atmel/soc.c

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,8 @@ static const struct at91_soc __initconst socs[] = {
7272
"sama5d21", "sama5d2"),
7373
AT91_SOC(SAMA5D2_CIDR_MATCH, SAMA5D22CU_EXID_MATCH,
7474
"sama5d22", "sama5d2"),
75+
AT91_SOC(SAMA5D2_CIDR_MATCH, SAMA5D225C_D1M_EXID_MATCH,
76+
"sama5d225c 16MiB SiP", "sama5d2"),
7577
AT91_SOC(SAMA5D2_CIDR_MATCH, SAMA5D23CU_EXID_MATCH,
7678
"sama5d23", "sama5d2"),
7779
AT91_SOC(SAMA5D2_CIDR_MATCH, SAMA5D24CX_EXID_MATCH,
@@ -84,10 +86,16 @@ static const struct at91_soc __initconst socs[] = {
8486
"sama5d27", "sama5d2"),
8587
AT91_SOC(SAMA5D2_CIDR_MATCH, SAMA5D27CN_EXID_MATCH,
8688
"sama5d27", "sama5d2"),
89+
AT91_SOC(SAMA5D2_CIDR_MATCH, SAMA5D27C_D1G_EXID_MATCH,
90+
"sama5d27c 128MiB SiP", "sama5d2"),
91+
AT91_SOC(SAMA5D2_CIDR_MATCH, SAMA5D27C_D5M_EXID_MATCH,
92+
"sama5d27c 64MiB SiP", "sama5d2"),
8793
AT91_SOC(SAMA5D2_CIDR_MATCH, SAMA5D28CU_EXID_MATCH,
8894
"sama5d28", "sama5d2"),
8995
AT91_SOC(SAMA5D2_CIDR_MATCH, SAMA5D28CN_EXID_MATCH,
9096
"sama5d28", "sama5d2"),
97+
AT91_SOC(SAMA5D2_CIDR_MATCH, SAMA5D28C_D1G_EXID_MATCH,
98+
"sama5d28c 128MiB SiP", "sama5d2"),
9199
AT91_SOC(SAMA5D3_CIDR_MATCH, SAMA5D31_EXID_MATCH,
92100
"sama5d31", "sama5d3"),
93101
AT91_SOC(SAMA5D3_CIDR_MATCH, SAMA5D33_EXID_MATCH,

drivers/soc/atmel/soc.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,14 +64,18 @@ at91_soc_init(const struct at91_soc *socs);
6464

6565
#define SAMA5D2_CIDR_MATCH 0x0a5c08c0
6666
#define SAMA5D21CU_EXID_MATCH 0x0000005a
67+
#define SAMA5D225C_D1M_EXID_MATCH 0x00000053
6768
#define SAMA5D22CU_EXID_MATCH 0x00000059
6869
#define SAMA5D22CN_EXID_MATCH 0x00000069
6970
#define SAMA5D23CU_EXID_MATCH 0x00000058
7071
#define SAMA5D24CX_EXID_MATCH 0x00000004
7172
#define SAMA5D24CU_EXID_MATCH 0x00000014
7273
#define SAMA5D26CU_EXID_MATCH 0x00000012
74+
#define SAMA5D27C_D1G_EXID_MATCH 0x00000033
75+
#define SAMA5D27C_D5M_EXID_MATCH 0x00000032
7376
#define SAMA5D27CU_EXID_MATCH 0x00000011
7477
#define SAMA5D27CN_EXID_MATCH 0x00000021
78+
#define SAMA5D28C_D1G_EXID_MATCH 0x00000013
7579
#define SAMA5D28CU_EXID_MATCH 0x00000010
7680
#define SAMA5D28CN_EXID_MATCH 0x00000020
7781

0 commit comments

Comments
 (0)