1ec8f24b7SThomas Gleixner# SPDX-License-Identifier: GPL-2.0-only 241141127SAlexandre Bellonimenuconfig ARCH_AT91 3ed08b63cSNicolas Ferre bool "AT91/Microchip SoCs" 42d4c44e9SSzemző András depends on ARCH_MULTI_V4T || ARCH_MULTI_V5 || ARCH_MULTI_V7 || ARM_SINGLE_ARMV7M 5dbeb0c8eSArnd Bergmann select ARM_CPU_SUSPEND if PM && ARCH_MULTI_V7 6ef7eda2cSNicolas Ferre select COMMON_CLK_AT91 75c34a4e8SLinus Walleij select GPIOLIB 841141127SAlexandre Belloni select PINCTRL 941141127SAlexandre Belloni select SOC_BUS 108f4b4794SLudovic Desroches 1141141127SAlexandre Belloniif ARCH_AT91 122d4c44e9SSzemző Andrásconfig SOC_SAMV7 132d4c44e9SSzemző András bool "SAM Cortex-M7 family" if ARM_SINGLE_ARMV7M 142d4c44e9SSzemző András select COMMON_CLK_AT91 152d4c44e9SSzemző András select PINCTRL_AT91 162d4c44e9SSzemző András help 17ed08b63cSNicolas Ferre Select this if you are using an SoC from Microchip's SAME7, SAMS7 or SAMV7 182d4c44e9SSzemző András families. 192d4c44e9SSzemző András 20c268a743SNicolas Ferreconfig SOC_SAMA5D2 21e3246542SMasahiro Yamada bool "SAMA5D2 family" 22e3246542SMasahiro Yamada depends on ARCH_MULTI_V7 23c268a743SNicolas Ferre select SOC_SAMA5 24c268a743SNicolas Ferre select CACHE_L2X0 25c268a743SNicolas Ferre select HAVE_AT91_UTMI 26c268a743SNicolas Ferre select HAVE_AT91_USB_CLK 27c268a743SNicolas Ferre select HAVE_AT91_H32MX 28c268a743SNicolas Ferre select HAVE_AT91_GENERATED_CLK 290865805dSQuentin Schulz select HAVE_AT91_AUDIO_PLL 3096e4ea8cSCodrin Ciubotariu select HAVE_AT91_I2S_MUX_CLK 318423536fSLudovic Desroches select PINCTRL_AT91PIO4 32c268a743SNicolas Ferre help 33ed08b63cSNicolas Ferre Select this if ou are using one of Microchip's SAMA5D2 family SoC. 34c268a743SNicolas Ferre 358f4b4794SLudovic Desrochesconfig SOC_SAMA5D3 36e3246542SMasahiro Yamada bool "SAMA5D3 family" 37e3246542SMasahiro Yamada depends on ARCH_MULTI_V7 388f4b4794SLudovic Desroches select SOC_SAMA5 39f090fb37SBoris BREZILLON select HAVE_AT91_UTMI 40a9c0688fSBoris BREZILLON select HAVE_AT91_SMD 41c84a61d8SBoris BREZILLON select HAVE_AT91_USB_CLK 428423536fSLudovic Desroches select PINCTRL_AT91 438f4b4794SLudovic Desroches help 44ed08b63cSNicolas Ferre Select this if you are using one of Microchip's SAMA5D3 family SoC. 457f457160SJosh Wu This support covers SAMA5D31, SAMA5D33, SAMA5D34, SAMA5D35, SAMA5D36. 462dc850b6SNicolas Ferre 472dc850b6SNicolas Ferreconfig SOC_SAMA5D4 48e3246542SMasahiro Yamada bool "SAMA5D4 family" 49e3246542SMasahiro Yamada depends on ARCH_MULTI_V7 502dc850b6SNicolas Ferre select SOC_SAMA5 512dc850b6SNicolas Ferre select CACHE_L2X0 522dc850b6SNicolas Ferre select HAVE_AT91_UTMI 532dc850b6SNicolas Ferre select HAVE_AT91_SMD 542dc850b6SNicolas Ferre select HAVE_AT91_USB_CLK 552dc850b6SNicolas Ferre select HAVE_AT91_H32MX 568423536fSLudovic Desroches select PINCTRL_AT91 572dc850b6SNicolas Ferre help 58ed08b63cSNicolas Ferre Select this if you are using one of Microchip's SAMA5D4 family SoC. 598f4b4794SLudovic Desroches 60*56bc2965SEugen Hristevconfig SOC_SAMA7G5 61*56bc2965SEugen Hristev bool "SAMA7G5 family" 62*56bc2965SEugen Hristev depends on ARCH_MULTI_V7 63*56bc2965SEugen Hristev select HAVE_AT91_GENERATED_CLK 64*56bc2965SEugen Hristev select HAVE_AT91_SAM9X60_PLL 65*56bc2965SEugen Hristev select HAVE_AT91_UTMI 66*56bc2965SEugen Hristev select SOC_SAMA7 67*56bc2965SEugen Hristev help 68*56bc2965SEugen Hristev Select this if you are using one of Microchip's SAMA7G5 family SoC. 69*56bc2965SEugen Hristev 701e3ce2b8SJean-Christophe PLAGNIOL-VILLARDconfig SOC_AT91RM9200 71e3246542SMasahiro Yamada bool "AT91RM9200" 72e3246542SMasahiro Yamada depends on ARCH_MULTI_V4T 73ef7eda2cSNicolas Ferre select ATMEL_AIC_IRQ 74b2f06274SAlexandre Belloni select ATMEL_PM if PM 75b53cdd03SAlexandre Belloni select ATMEL_ST 76c750815eSRussell King select CPU_ARM920T 77c84a61d8SBoris BREZILLON select HAVE_AT91_USB_CLK 788423536fSLudovic Desroches select PINCTRL_AT91 7941141127SAlexandre Belloni select SOC_SAM_V4_V5 80896bc871SWenyou Yang select SRAM if PM 8141141127SAlexandre Belloni help 82ed08b63cSNicolas Ferre Select this if you are using Microchip's AT91RM9200 SoC. 839d041268SAndrew Victor 842b019a43SAlexandre Belloniconfig SOC_AT91SAM9 85e3246542SMasahiro Yamada bool "AT91SAM9" 86e3246542SMasahiro Yamada depends on ARCH_MULTI_V5 872b019a43SAlexandre Belloni select ATMEL_AIC_IRQ 88b2f06274SAlexandre Belloni select ATMEL_PM if PM 892b019a43SAlexandre Belloni select ATMEL_SDRAMC 902b019a43SAlexandre Belloni select CPU_ARM926T 91a9c0688fSBoris BREZILLON select HAVE_AT91_SMD 92c84a61d8SBoris BREZILLON select HAVE_AT91_USB_CLK 932b019a43SAlexandre Belloni select HAVE_AT91_UTMI 9474db4fb9SHong Xu select HAVE_FB_ATMEL 952b019a43SAlexandre Belloni select MEMORY 968423536fSLudovic Desroches select PINCTRL_AT91 9741141127SAlexandre Belloni select SOC_SAM_V4_V5 98896bc871SWenyou Yang select SRAM if PM 9974db4fb9SHong Xu help 100ed08b63cSNicolas Ferre Select this if you are using one of those Microchip SoC: 1012b019a43SAlexandre Belloni AT91SAM9260 1022b019a43SAlexandre Belloni AT91SAM9261 1032b019a43SAlexandre Belloni AT91SAM9263 1042b019a43SAlexandre Belloni AT91SAM9G15 1052b019a43SAlexandre Belloni AT91SAM9G20 1062b019a43SAlexandre Belloni AT91SAM9G25 1072b019a43SAlexandre Belloni AT91SAM9G35 1082b019a43SAlexandre Belloni AT91SAM9G45 1092b019a43SAlexandre Belloni AT91SAM9G46 1102b019a43SAlexandre Belloni AT91SAM9M10 1112b019a43SAlexandre Belloni AT91SAM9M11 1122b019a43SAlexandre Belloni AT91SAM9N12 1132b019a43SAlexandre Belloni AT91SAM9RL 1142b019a43SAlexandre Belloni AT91SAM9X25 1152b019a43SAlexandre Belloni AT91SAM9X35 1162b019a43SAlexandre Belloni AT91SAM9XE 1179f1ccefeSGreg Ungerer 118fe7ff55dSClaudiu Bezneaconfig SOC_SAM9X60 119fe7ff55dSClaudiu Beznea bool "SAM9X60" 120fe7ff55dSClaudiu Beznea depends on ARCH_MULTI_V5 121fe7ff55dSClaudiu Beznea select ATMEL_AIC5_IRQ 122fe7ff55dSClaudiu Beznea select ATMEL_PM if PM 123fe7ff55dSClaudiu Beznea select ATMEL_SDRAMC 124fe7ff55dSClaudiu Beznea select CPU_ARM926T 125fe7ff55dSClaudiu Beznea select HAVE_AT91_USB_CLK 126fe7ff55dSClaudiu Beznea select HAVE_AT91_GENERATED_CLK 127fe7ff55dSClaudiu Beznea select HAVE_AT91_SAM9X60_PLL 128fe7ff55dSClaudiu Beznea select MEMORY 129fe7ff55dSClaudiu Beznea select PINCTRL_AT91 130fe7ff55dSClaudiu Beznea select SOC_SAM_V4_V5 131fe7ff55dSClaudiu Beznea select SRAM if PM 132fe7ff55dSClaudiu Beznea help 133fe7ff55dSClaudiu Beznea Select this if you are using Microchip's SAM9X60 SoC 134fe7ff55dSClaudiu Beznea 1357803dc86SAlexandre Bellonicomment "Clocksource driver selection" 1367803dc86SAlexandre Belloni 1377803dc86SAlexandre Belloniconfig ATMEL_CLOCKSOURCE_PIT 1387803dc86SAlexandre Belloni bool "Periodic Interval Timer (PIT) support" 139fe7ff55dSClaudiu Beznea depends on SOC_AT91SAM9 || SOC_SAM9X60 || SOC_SAMA5 1407803dc86SAlexandre Belloni default SOC_AT91SAM9 || SOC_SAMA5 1417803dc86SAlexandre Belloni select ATMEL_PIT 1427803dc86SAlexandre Belloni help 1437803dc86SAlexandre Belloni Select this to get a clocksource based on the Atmel Periodic Interval 1447803dc86SAlexandre Belloni Timer. It has a relatively low resolution and the TC Block clocksource 1457803dc86SAlexandre Belloni should be preferred. 1467803dc86SAlexandre Belloni 1477803dc86SAlexandre Belloniconfig ATMEL_CLOCKSOURCE_TCB 1487803dc86SAlexandre Belloni bool "Timer Counter Blocks (TCB) support" 149fe7ff55dSClaudiu Beznea default SOC_AT91RM9200 || SOC_AT91SAM9 || SOC_SAM9X60 || SOC_SAMA5 1507803dc86SAlexandre Belloni select ATMEL_TCB_CLKSRC 1517803dc86SAlexandre Belloni help 1527803dc86SAlexandre Belloni Select this to get a high precision clocksource based on a 1537803dc86SAlexandre Belloni TC block with a 5+ MHz base clock rate. 1547803dc86SAlexandre Belloni On platforms with 16-bit counters, two timer channels are combined 1557803dc86SAlexandre Belloni to make a single 32-bit timer. 1567803dc86SAlexandre Belloni It can also be used as a clock event device supporting oneshot mode. 1577803dc86SAlexandre Belloni 15841141127SAlexandre Belloniconfig HAVE_AT91_UTMI 15941141127SAlexandre Belloni bool 16041141127SAlexandre Belloni 16141141127SAlexandre Belloniconfig HAVE_AT91_USB_CLK 16241141127SAlexandre Belloni bool 16341141127SAlexandre Belloni 16441141127SAlexandre Belloniconfig COMMON_CLK_AT91 16541141127SAlexandre Belloni bool 166863a81c3SBoris Brezillon select MFD_SYSCON 16741141127SAlexandre Belloni 16841141127SAlexandre Belloniconfig HAVE_AT91_SMD 16941141127SAlexandre Belloni bool 17041141127SAlexandre Belloni 17141141127SAlexandre Belloniconfig HAVE_AT91_H32MX 17241141127SAlexandre Belloni bool 17341141127SAlexandre Belloni 174df70aeefSNicolas Ferreconfig HAVE_AT91_GENERATED_CLK 175df70aeefSNicolas Ferre bool 176df70aeefSNicolas Ferre 1770865805dSQuentin Schulzconfig HAVE_AT91_AUDIO_PLL 1780865805dSQuentin Schulz bool 1790865805dSQuentin Schulz 18096e4ea8cSCodrin Ciubotariuconfig HAVE_AT91_I2S_MUX_CLK 18196e4ea8cSCodrin Ciubotariu bool 18296e4ea8cSCodrin Ciubotariu 183fc8c4c05SClaudiu Bezneaconfig HAVE_AT91_SAM9X60_PLL 184fc8c4c05SClaudiu Beznea bool 185fc8c4c05SClaudiu Beznea 18641141127SAlexandre Belloniconfig SOC_SAM_V4_V5 18741141127SAlexandre Belloni bool 18841141127SAlexandre Belloni 18941141127SAlexandre Belloniconfig SOC_SAM_V7 19041141127SAlexandre Belloni bool 19141141127SAlexandre Belloni 19241141127SAlexandre Belloniconfig SOC_SAMA5 19341141127SAlexandre Belloni bool 19441141127SAlexandre Belloni select ATMEL_AIC5_IRQ 195b2f06274SAlexandre Belloni select ATMEL_PM if PM 19641141127SAlexandre Belloni select ATMEL_SDRAMC 19741141127SAlexandre Belloni select MEMORY 19841141127SAlexandre Belloni select SOC_SAM_V7 19941141127SAlexandre Belloni select SRAM if PM 20041141127SAlexandre Belloni 201b2f06274SAlexandre Belloniconfig ATMEL_PM 202b2f06274SAlexandre Belloni bool 203b2f06274SAlexandre Belloni 204*56bc2965SEugen Hristevconfig SOC_SAMA7 205*56bc2965SEugen Hristev bool 206*56bc2965SEugen Hristev select ARM_GIC 207*56bc2965SEugen Hristev select ATMEL_PM if PM 208*56bc2965SEugen Hristev select ATMEL_SDRAMC 209*56bc2965SEugen Hristev select MEMORY 210*56bc2965SEugen Hristev select SOC_SAM_V7 211*56bc2965SEugen Hristev select SRAM if PM 2129d041268SAndrew Victorendif 213