drivers: soc: atmel: add per soc id and version match masks

SAMA7G5 has different masks for chip ID and chip version on CIDR
register compared to previous AT91 SoCs. For this the commit adapts
the code for SAMA7G5 addition by introducing 2 new members in
struct at91_soc and fill them properly and also preparing the
parsing of proper DT binding.

Signed-off-by: Claudiu Beznea <claudiu.beznea@microchip.com>
Signed-off-by: Nicolas Ferre <nicolas.ferre@microchip.com>
Link: https://lore.kernel.org/r/1611318097-8970-6-git-send-email-claudiu.beznea@microchip.com
This commit is contained in:
Claudiu Beznea 2021-01-22 14:21:35 +02:00 • committed by Nicolas Ferre
commit af3a10513c
2 changed files with 140 additions and 66 deletions