Training courses

Kernel and Embedded Linux

Bootlin training courses

Embedded Linux, kernel,
Yocto Project, Buildroot, real-time,
graphics, boot time, debugging...

Bootlin logo

Elixir Cross Referencer

# SPDX-License-Identifier: GPL-2.0-only
menuconfig CONFIG_ARCH_AT91
	bool "AT91/Microchip SoCs"
	depends on CONFIG_ARCH_MULTI_V4T || CONFIG_ARCH_MULTI_V5 || CONFIG_ARCH_MULTI_V7 || CONFIG_ARM_SINGLE_ARMV7M
	select CONFIG_ARM_CPU_SUSPEND if CONFIG_PM && CONFIG_ARCH_MULTI_V7
	select CONFIG_COMMON_CLK_AT91
	select CONFIG_GPIOLIB
	select CONFIG_PINCTRL
	select CONFIG_SOC_BUS

if CONFIG_ARCH_AT91
config CONFIG_SOC_SAMV7
	bool "SAM Cortex-M7 family" if CONFIG_ARM_SINGLE_ARMV7M
	select CONFIG_COMMON_CLK_AT91
	select CONFIG_PINCTRL_AT91
	help
	  Select this if you are using an SoC from Microchip's SAME7, SAMS7 or SAMV7
	  families.

config CONFIG_SOC_SAMA5D2
	bool "SAMA5D2 family"
	depends on CONFIG_ARCH_MULTI_V7
	select CONFIG_SOC_SAMA5
	select CONFIG_CACHE_L2X0
	select CONFIG_HAVE_AT91_UTMI
	select CONFIG_HAVE_AT91_USB_CLK
	select CONFIG_HAVE_AT91_H32MX
	select CONFIG_HAVE_AT91_GENERATED_CLK
	select CONFIG_HAVE_AT91_AUDIO_PLL
	select CONFIG_HAVE_AT91_I2S_MUX_CLK
	select CONFIG_PINCTRL_AT91PIO4
	help
	  Select this if ou are using one of Microchip's SAMA5D2 family SoC.

config CONFIG_SOC_SAMA5D3
	bool "SAMA5D3 family"
	depends on CONFIG_ARCH_MULTI_V7
	select CONFIG_SOC_SAMA5
	select CONFIG_HAVE_AT91_UTMI
	select CONFIG_HAVE_AT91_SMD
	select CONFIG_HAVE_AT91_USB_CLK
	select CONFIG_PINCTRL_AT91
	help
	  Select this if you are using one of Microchip's SAMA5D3 family SoC.
	  This support covers SAMA5D31, SAMA5D33, SAMA5D34, SAMA5D35, SAMA5D36.

config CONFIG_SOC_SAMA5D4
	bool "SAMA5D4 family"
	depends on CONFIG_ARCH_MULTI_V7
	select CONFIG_SOC_SAMA5
	select CONFIG_CACHE_L2X0
	select CONFIG_HAVE_AT91_UTMI
	select CONFIG_HAVE_AT91_SMD
	select CONFIG_HAVE_AT91_USB_CLK
	select CONFIG_HAVE_AT91_H32MX
	select CONFIG_PINCTRL_AT91
	help
	  Select this if you are using one of Microchip's SAMA5D4 family SoC.

config CONFIG_SOC_AT91RM9200
	bool "AT91RM9200"
	depends on CONFIG_ARCH_MULTI_V4T
	select CONFIG_ATMEL_AIC_IRQ
	select CONFIG_ATMEL_PM if CONFIG_PM
	select CONFIG_ATMEL_ST
	select CONFIG_CPU_ARM920T
	select CONFIG_HAVE_AT91_USB_CLK
	select CONFIG_PINCTRL_AT91
	select CONFIG_SOC_SAM_V4_V5
	select CONFIG_SRAM if CONFIG_PM
	help
	  Select this if you are using Microchip's AT91RM9200 SoC.

config CONFIG_SOC_AT91SAM9
	bool "AT91SAM9"
	depends on CONFIG_ARCH_MULTI_V5
	select CONFIG_ATMEL_AIC_IRQ
	select CONFIG_ATMEL_PM if CONFIG_PM
	select CONFIG_ATMEL_SDRAMC
	select CONFIG_CPU_ARM926T
	select CONFIG_HAVE_AT91_SMD
	select CONFIG_HAVE_AT91_USB_CLK
	select CONFIG_HAVE_AT91_UTMI
	select CONFIG_HAVE_FB_ATMEL
	select CONFIG_MEMORY
	select CONFIG_PINCTRL_AT91
	select CONFIG_SOC_SAM_V4_V5
	select CONFIG_SRAM if CONFIG_PM
	help
	  Select this if you are using one of those Microchip SoC:
	    AT91SAM9260
	    AT91SAM9261
	    AT91SAM9263
	    AT91SAM9G15
	    AT91SAM9G20
	    AT91SAM9G25
	    AT91SAM9G35
	    AT91SAM9G45
	    AT91SAM9G46
	    AT91SAM9M10
	    AT91SAM9M11
	    AT91SAM9N12
	    AT91SAM9RL
	    AT91SAM9X25
	    AT91SAM9X35
	    AT91SAM9XE

comment "Clocksource driver selection"

config CONFIG_ATMEL_CLOCKSOURCE_PIT
	bool "Periodic Interval Timer (PIT) support"
	depends on CONFIG_SOC_AT91SAM9 || CONFIG_SOC_SAMA5
	default CONFIG_SOC_AT91SAM9 || CONFIG_SOC_SAMA5
	select CONFIG_ATMEL_PIT
	help
	  Select this to get a clocksource based on the Atmel Periodic Interval
	  Timer. It has a relatively low resolution and the CONFIG_TC Block clocksource
	  should be preferred.

config CONFIG_ATMEL_CLOCKSOURCE_TCB
	bool "Timer Counter Blocks (TCB) support"
	default CONFIG_SOC_AT91RM9200 || CONFIG_SOC_AT91SAM9 || CONFIG_SOC_SAMA5
	select CONFIG_ATMEL_TCB_CLKSRC
	help
	  Select this to get a high precision clocksource based on a
	  CONFIG_TC block with a 5+ MHz base clock rate.
	  On platforms with 16-bit counters, two timer channels are combined
	  to make a single 32-bit timer.
	  It can also be used as a clock event device supporting oneshot mode.

config CONFIG_HAVE_AT91_UTMI
	bool

config CONFIG_HAVE_AT91_USB_CLK
	bool

config CONFIG_COMMON_CLK_AT91
	bool
	select CONFIG_COMMON_CLK
	select CONFIG_MFD_SYSCON

config CONFIG_HAVE_AT91_SMD
	bool

config CONFIG_HAVE_AT91_H32MX
	bool

config CONFIG_HAVE_AT91_GENERATED_CLK
	bool

config CONFIG_HAVE_AT91_AUDIO_PLL
	bool

config CONFIG_HAVE_AT91_I2S_MUX_CLK
	bool

config CONFIG_SOC_SAM_V4_V5
	bool

config CONFIG_SOC_SAM_V7
	bool

config CONFIG_SOC_SAMA5
	bool
	select CONFIG_ATMEL_AIC5_IRQ
	select CONFIG_ATMEL_PM if CONFIG_PM
	select CONFIG_ATMEL_SDRAMC
	select CONFIG_MEMORY
	select CONFIG_SOC_SAM_V7
	select CONFIG_SRAM if CONFIG_PM

config CONFIG_ATMEL_PM
	bool

endif