ARM: at91: add support in soc driver for new SAMA7G54 SiPs
Add detection of new SAMA7G54 System-In-Package (SIP) by the SoC driver: SAMA7G54D1G, SAMA7G54D2G, SAMA7G54D4G. Signed-off-by: Mihai Sain <mihai.sain@microchip.com> Signed-off-by: Claudiu Beznea <claudiu.beznea@microchip.com> Link: https://lore.kernel.org/r/20221205070108.42624-1-mihai.sain@microchip.com
This commit is contained in:
parent
1b929c02af
commit
d4ac37916e
@ -235,6 +235,15 @@ static const struct at91_soc socs[] __initconst = {
|
||||
AT91_SOC(SAMA7G5_CIDR_MATCH, AT91_CIDR_MATCH_MASK,
|
||||
AT91_CIDR_VERSION_MASK_SAMA7G5, SAMA7G54_EXID_MATCH,
|
||||
"sama7g54", "sama7g5"),
|
||||
AT91_SOC(SAMA7G5_CIDR_MATCH, AT91_CIDR_MATCH_MASK,
|
||||
AT91_CIDR_VERSION_MASK_SAMA7G5, SAMA7G54_D1G_EXID_MATCH,
|
||||
"SAMA7G54 1Gb DDR3L SiP", "sama7g5"),
|
||||
AT91_SOC(SAMA7G5_CIDR_MATCH, AT91_CIDR_MATCH_MASK,
|
||||
AT91_CIDR_VERSION_MASK_SAMA7G5, SAMA7G54_D2G_EXID_MATCH,
|
||||
"SAMA7G54 2Gb DDR3L SiP", "sama7g5"),
|
||||
AT91_SOC(SAMA7G5_CIDR_MATCH, AT91_CIDR_MATCH_MASK,
|
||||
AT91_CIDR_VERSION_MASK_SAMA7G5, SAMA7G54_D4G_EXID_MATCH,
|
||||
"SAMA7G54 4Gb DDR3L SiP", "sama7g5"),
|
||||
#endif
|
||||
{ /* sentinel */ },
|
||||
};
|
||||
|
@ -70,6 +70,9 @@ at91_soc_init(const struct at91_soc *socs);
|
||||
#define SAMA7G52_EXID_MATCH 0x2
|
||||
#define SAMA7G53_EXID_MATCH 0x1
|
||||
#define SAMA7G54_EXID_MATCH 0x0
|
||||
#define SAMA7G54_D1G_EXID_MATCH 0x00000018
|
||||
#define SAMA7G54_D2G_EXID_MATCH 0x00000020
|
||||
#define SAMA7G54_D4G_EXID_MATCH 0x00000028
|
||||
|
||||
#define AT91SAM9XE128_CIDR_MATCH 0x329973a0
|
||||
#define AT91SAM9XE256_CIDR_MATCH 0x329a93a0
|
||||
|
Loading…
Reference in New Issue
Block a user