ARM: at91: add new SoC sama7g5
authorEugen Hristev <eugen.hristev@microchip.com>
Fri, 9 Apr 2021 11:31:15 +0000 (14:31 +0300)
committerNicolas Ferre <nicolas.ferre@microchip.com>
Mon, 19 Jul 2021 12:32:11 +0000 (14:32 +0200)
Add new SoC from at91 family : sama7g5

Signed-off-by: Eugen Hristev <eugen.hristev@microchip.com>
[claudiu.beznea@microchip.com: Select PLL, generic clock and UTMI support, add PM configs]
Signed-off-by: Claudiu Beznea <claudiu.beznea@microchip.com>
Signed-off-by: Nicolas Ferre <nicolas.ferre@microchip.com>
Link: https://lore.kernel.org/r/20210409113116.482199-1-eugen.hristev@microchip.com
Link: https://lore.kernel.org/r/20210719080317.1045832-2-claudiu.beznea@microchip.com
arch/arm/mach-at91/Kconfig

index ccd7e80..b09bb22 100644 (file)
@@ -57,6 +57,16 @@ config SOC_SAMA5D4
        help
          Select this if you are using one of Microchip's SAMA5D4 family SoC.
 
+config SOC_SAMA7G5
+       bool "SAMA7G5 family"
+       depends on ARCH_MULTI_V7
+       select HAVE_AT91_GENERATED_CLK
+       select HAVE_AT91_SAM9X60_PLL
+       select HAVE_AT91_UTMI
+       select SOC_SAMA7
+       help
+         Select this if you are using one of Microchip's SAMA7G5 family SoC.
+
 config SOC_AT91RM9200
        bool "AT91RM9200"
        depends on ARCH_MULTI_V4T
@@ -191,4 +201,12 @@ config SOC_SAMA5
 config ATMEL_PM
        bool
 
+config SOC_SAMA7
+       bool
+       select ARM_GIC
+       select ATMEL_PM if PM
+       select ATMEL_SDRAMC
+       select MEMORY
+       select SOC_SAM_V7
+       select SRAM if PM
 endif