Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Cristian Birsan and committed by
Alexandre Belloni
cd2e9be8 2bd6bf03

+12
+8
drivers/soc/atmel/soc.c
··· 72 72 "sama5d21", "sama5d2"), 73 73 AT91_SOC(SAMA5D2_CIDR_MATCH, SAMA5D22CU_EXID_MATCH, 74 74 "sama5d22", "sama5d2"), 75 + AT91_SOC(SAMA5D2_CIDR_MATCH, SAMA5D225C_D1M_EXID_MATCH, 76 + "sama5d225c 16MiB SiP", "sama5d2"), 75 77 AT91_SOC(SAMA5D2_CIDR_MATCH, SAMA5D23CU_EXID_MATCH, 76 78 "sama5d23", "sama5d2"), 77 79 AT91_SOC(SAMA5D2_CIDR_MATCH, SAMA5D24CX_EXID_MATCH, ··· 86 84 "sama5d27", "sama5d2"), 87 85 AT91_SOC(SAMA5D2_CIDR_MATCH, SAMA5D27CN_EXID_MATCH, 88 86 "sama5d27", "sama5d2"), 87 + AT91_SOC(SAMA5D2_CIDR_MATCH, SAMA5D27C_D1G_EXID_MATCH, 88 + "sama5d27c 128MiB SiP", "sama5d2"), 89 + AT91_SOC(SAMA5D2_CIDR_MATCH, SAMA5D27C_D5M_EXID_MATCH, 90 + "sama5d27c 64MiB SiP", "sama5d2"), 89 91 AT91_SOC(SAMA5D2_CIDR_MATCH, SAMA5D28CU_EXID_MATCH, 90 92 "sama5d28", "sama5d2"), 91 93 AT91_SOC(SAMA5D2_CIDR_MATCH, SAMA5D28CN_EXID_MATCH, 92 94 "sama5d28", "sama5d2"), 95 + AT91_SOC(SAMA5D2_CIDR_MATCH, SAMA5D28C_D1G_EXID_MATCH, 96 + "sama5d28c 128MiB SiP", "sama5d2"), 93 97 AT91_SOC(SAMA5D3_CIDR_MATCH, SAMA5D31_EXID_MATCH, 94 98 "sama5d31", "sama5d3"), 95 99 AT91_SOC(SAMA5D3_CIDR_MATCH, SAMA5D33_EXID_MATCH,
+4
drivers/soc/atmel/soc.h
··· 64 64 65 65 #define SAMA5D2_CIDR_MATCH 0x0a5c08c0 66 66 #define SAMA5D21CU_EXID_MATCH 0x0000005a 67 + #define SAMA5D225C_D1M_EXID_MATCH 0x00000053 67 68 #define SAMA5D22CU_EXID_MATCH 0x00000059 68 69 #define SAMA5D22CN_EXID_MATCH 0x00000069 69 70 #define SAMA5D23CU_EXID_MATCH 0x00000058 70 71 #define SAMA5D24CX_EXID_MATCH 0x00000004 71 72 #define SAMA5D24CU_EXID_MATCH 0x00000014 72 73 #define SAMA5D26CU_EXID_MATCH 0x00000012 74 + #define SAMA5D27C_D1G_EXID_MATCH 0x00000033 75 + #define SAMA5D27C_D5M_EXID_MATCH 0x00000032 73 76 #define SAMA5D27CU_EXID_MATCH 0x00000011 74 77 #define SAMA5D27CN_EXID_MATCH 0x00000021 78 + #define SAMA5D28C_D1G_EXID_MATCH 0x00000013 75 79 #define SAMA5D28CU_EXID_MATCH 0x00000010 76 80 #define SAMA5D28CN_EXID_MATCH 0x00000020 77 81