2019-05-19 20:07:45 +08:00
|
|
|
# SPDX-License-Identifier: GPL-2.0-only
|
2015-03-14 05:57:18 +08:00
|
|
|
menuconfig ARCH_AT91
|
2018-02-28 22:56:43 +08:00
|
|
|
bool "AT91/Microchip SoCs"
|
2017-05-31 09:06:21 +08:00
|
|
|
depends on ARCH_MULTI_V4T || ARCH_MULTI_V5 || ARCH_MULTI_V7 || ARM_SINGLE_ARMV7M
|
2017-08-23 22:46:15 +08:00
|
|
|
select ARM_CPU_SUSPEND if PM && ARCH_MULTI_V7
|
2014-11-22 00:10:06 +08:00
|
|
|
select COMMON_CLK_AT91
|
2016-06-02 20:10:16 +08:00
|
|
|
select GPIOLIB
|
2015-03-14 05:57:18 +08:00
|
|
|
select PINCTRL
|
|
|
|
select SOC_BUS
|
2013-03-22 21:24:11 +08:00
|
|
|
|
2015-03-14 05:57:18 +08:00
|
|
|
if ARCH_AT91
|
2017-05-31 09:06:21 +08:00
|
|
|
config SOC_SAMV7
|
|
|
|
bool "SAM Cortex-M7 family" if ARM_SINGLE_ARMV7M
|
|
|
|
select COMMON_CLK_AT91
|
|
|
|
select PINCTRL_AT91
|
|
|
|
help
|
2018-02-28 22:56:43 +08:00
|
|
|
Select this if you are using an SoC from Microchip's SAME7, SAMS7 or SAMV7
|
2017-05-31 09:06:21 +08:00
|
|
|
families.
|
|
|
|
|
2015-07-31 01:12:12 +08:00
|
|
|
config SOC_SAMA5D2
|
ARM: use "depends on" for SoC configs instead of "if" after prompt
Many ARM sub-architectures use prompts followed by "if" conditional,
but it is wrong.
Please notice the difference between
config ARCH_FOO
bool "Foo SoCs" if ARCH_MULTI_V7
and
config ARCH_FOO
bool "Foo SoCs"
depends on ARCH_MULTI_V7
These two are *not* equivalent!
In the former statement, it is not ARCH_FOO, but its prompt that
depends on ARCH_MULTI_V7. So, it is completely valid that ARCH_FOO
is selected by another, but ARCH_MULTI_V7 is still disabled. As it is
not unmet dependency, Kconfig never warns. This is probably not what
you want.
The former should be used only when you need to do so, and you really
understand what you are doing. (In most cases, it should be wrong!)
For enabling/disabling sub-architectures, the latter is always correct.
As a good side effect, this commit fixes some entries over 80 columns
(mach-imx, mach-integrator, mach-mbevu).
[Arnd: I note that there is not really a bug here, according to
the discussion that followed, but I can see value in being consistent
and in making the lines shorter]
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Acked-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Acked-by: Heiko Stuebner <heiko@sntech.de>
Acked-by: Patrice Chotard <patrice.chotard@st.com>
Acked-by: Liviu Dudau <Liviu.Dudau@arm.com>
Acked-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Acked-by: Jun Nie <jun.nie@linaro.org>
Acked-by: Matthias Brugger <matthias.bgg@gmail.com>
Acked-by: Simon Horman <horms+renesas@verge.net.au>
Acked-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
Acked-by: Shawn Guo <shawnguo@kernel.org>
Acked-by: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
Acked-by: Thierry Reding <treding@nvidia.com>
Acked-by: Krzysztof Halasa <khc@piap.pl>
Acked-by: Maxime Coquelin <maxime.coquelin@st.com>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2015-11-16 11:06:10 +08:00
|
|
|
bool "SAMA5D2 family"
|
|
|
|
depends on ARCH_MULTI_V7
|
2015-07-31 01:12:12 +08:00
|
|
|
select SOC_SAMA5
|
|
|
|
select CACHE_L2X0
|
|
|
|
select HAVE_AT91_UTMI
|
|
|
|
select HAVE_AT91_USB_CLK
|
|
|
|
select HAVE_AT91_H32MX
|
|
|
|
select HAVE_AT91_GENERATED_CLK
|
2017-08-10 14:34:03 +08:00
|
|
|
select HAVE_AT91_AUDIO_PLL
|
2018-06-18 22:12:36 +08:00
|
|
|
select HAVE_AT91_I2S_MUX_CLK
|
2015-12-01 18:44:40 +08:00
|
|
|
select PINCTRL_AT91PIO4
|
2015-07-31 01:12:12 +08:00
|
|
|
help
|
2018-02-28 22:56:43 +08:00
|
|
|
Select this if ou are using one of Microchip's SAMA5D2 family SoC.
|
2015-07-31 01:12:12 +08:00
|
|
|
|
2013-03-22 21:24:12 +08:00
|
|
|
config SOC_SAMA5D3
|
ARM: use "depends on" for SoC configs instead of "if" after prompt
Many ARM sub-architectures use prompts followed by "if" conditional,
but it is wrong.
Please notice the difference between
config ARCH_FOO
bool "Foo SoCs" if ARCH_MULTI_V7
and
config ARCH_FOO
bool "Foo SoCs"
depends on ARCH_MULTI_V7
These two are *not* equivalent!
In the former statement, it is not ARCH_FOO, but its prompt that
depends on ARCH_MULTI_V7. So, it is completely valid that ARCH_FOO
is selected by another, but ARCH_MULTI_V7 is still disabled. As it is
not unmet dependency, Kconfig never warns. This is probably not what
you want.
The former should be used only when you need to do so, and you really
understand what you are doing. (In most cases, it should be wrong!)
For enabling/disabling sub-architectures, the latter is always correct.
As a good side effect, this commit fixes some entries over 80 columns
(mach-imx, mach-integrator, mach-mbevu).
[Arnd: I note that there is not really a bug here, according to
the discussion that followed, but I can see value in being consistent
and in making the lines shorter]
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Acked-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Acked-by: Heiko Stuebner <heiko@sntech.de>
Acked-by: Patrice Chotard <patrice.chotard@st.com>
Acked-by: Liviu Dudau <Liviu.Dudau@arm.com>
Acked-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Acked-by: Jun Nie <jun.nie@linaro.org>
Acked-by: Matthias Brugger <matthias.bgg@gmail.com>
Acked-by: Simon Horman <horms+renesas@verge.net.au>
Acked-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
Acked-by: Shawn Guo <shawnguo@kernel.org>
Acked-by: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
Acked-by: Thierry Reding <treding@nvidia.com>
Acked-by: Krzysztof Halasa <khc@piap.pl>
Acked-by: Maxime Coquelin <maxime.coquelin@st.com>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2015-11-16 11:06:10 +08:00
|
|
|
bool "SAMA5D3 family"
|
|
|
|
depends on ARCH_MULTI_V7
|
2013-03-22 21:24:12 +08:00
|
|
|
select SOC_SAMA5
|
2013-10-11 18:22:06 +08:00
|
|
|
select HAVE_AT91_UTMI
|
2013-10-11 19:27:06 +08:00
|
|
|
select HAVE_AT91_SMD
|
2013-10-18 00:55:41 +08:00
|
|
|
select HAVE_AT91_USB_CLK
|
2015-12-01 18:44:40 +08:00
|
|
|
select PINCTRL_AT91
|
2013-03-22 21:24:12 +08:00
|
|
|
help
|
2018-02-28 22:56:43 +08:00
|
|
|
Select this if you are using one of Microchip's SAMA5D3 family SoC.
|
2013-11-06 18:01:11 +08:00
|
|
|
This support covers SAMA5D31, SAMA5D33, SAMA5D34, SAMA5D35, SAMA5D36.
|
2014-09-16 00:15:54 +08:00
|
|
|
|
|
|
|
config SOC_SAMA5D4
|
ARM: use "depends on" for SoC configs instead of "if" after prompt
Many ARM sub-architectures use prompts followed by "if" conditional,
but it is wrong.
Please notice the difference between
config ARCH_FOO
bool "Foo SoCs" if ARCH_MULTI_V7
and
config ARCH_FOO
bool "Foo SoCs"
depends on ARCH_MULTI_V7
These two are *not* equivalent!
In the former statement, it is not ARCH_FOO, but its prompt that
depends on ARCH_MULTI_V7. So, it is completely valid that ARCH_FOO
is selected by another, but ARCH_MULTI_V7 is still disabled. As it is
not unmet dependency, Kconfig never warns. This is probably not what
you want.
The former should be used only when you need to do so, and you really
understand what you are doing. (In most cases, it should be wrong!)
For enabling/disabling sub-architectures, the latter is always correct.
As a good side effect, this commit fixes some entries over 80 columns
(mach-imx, mach-integrator, mach-mbevu).
[Arnd: I note that there is not really a bug here, according to
the discussion that followed, but I can see value in being consistent
and in making the lines shorter]
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Acked-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Acked-by: Heiko Stuebner <heiko@sntech.de>
Acked-by: Patrice Chotard <patrice.chotard@st.com>
Acked-by: Liviu Dudau <Liviu.Dudau@arm.com>
Acked-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Acked-by: Jun Nie <jun.nie@linaro.org>
Acked-by: Matthias Brugger <matthias.bgg@gmail.com>
Acked-by: Simon Horman <horms+renesas@verge.net.au>
Acked-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
Acked-by: Shawn Guo <shawnguo@kernel.org>
Acked-by: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
Acked-by: Thierry Reding <treding@nvidia.com>
Acked-by: Krzysztof Halasa <khc@piap.pl>
Acked-by: Maxime Coquelin <maxime.coquelin@st.com>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2015-11-16 11:06:10 +08:00
|
|
|
bool "SAMA5D4 family"
|
|
|
|
depends on ARCH_MULTI_V7
|
2014-09-16 00:15:54 +08:00
|
|
|
select SOC_SAMA5
|
|
|
|
select CACHE_L2X0
|
|
|
|
select HAVE_AT91_UTMI
|
|
|
|
select HAVE_AT91_SMD
|
|
|
|
select HAVE_AT91_USB_CLK
|
|
|
|
select HAVE_AT91_H32MX
|
2015-12-01 18:44:40 +08:00
|
|
|
select PINCTRL_AT91
|
2014-09-16 00:15:54 +08:00
|
|
|
help
|
2018-02-28 22:56:43 +08:00
|
|
|
Select this if you are using one of Microchip's SAMA5D4 family SoC.
|
2013-03-22 21:24:12 +08:00
|
|
|
|
2012-04-06 11:51:50 +08:00
|
|
|
config SOC_AT91RM9200
|
ARM: use "depends on" for SoC configs instead of "if" after prompt
Many ARM sub-architectures use prompts followed by "if" conditional,
but it is wrong.
Please notice the difference between
config ARCH_FOO
bool "Foo SoCs" if ARCH_MULTI_V7
and
config ARCH_FOO
bool "Foo SoCs"
depends on ARCH_MULTI_V7
These two are *not* equivalent!
In the former statement, it is not ARCH_FOO, but its prompt that
depends on ARCH_MULTI_V7. So, it is completely valid that ARCH_FOO
is selected by another, but ARCH_MULTI_V7 is still disabled. As it is
not unmet dependency, Kconfig never warns. This is probably not what
you want.
The former should be used only when you need to do so, and you really
understand what you are doing. (In most cases, it should be wrong!)
For enabling/disabling sub-architectures, the latter is always correct.
As a good side effect, this commit fixes some entries over 80 columns
(mach-imx, mach-integrator, mach-mbevu).
[Arnd: I note that there is not really a bug here, according to
the discussion that followed, but I can see value in being consistent
and in making the lines shorter]
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Acked-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Acked-by: Heiko Stuebner <heiko@sntech.de>
Acked-by: Patrice Chotard <patrice.chotard@st.com>
Acked-by: Liviu Dudau <Liviu.Dudau@arm.com>
Acked-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Acked-by: Jun Nie <jun.nie@linaro.org>
Acked-by: Matthias Brugger <matthias.bgg@gmail.com>
Acked-by: Simon Horman <horms+renesas@verge.net.au>
Acked-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
Acked-by: Shawn Guo <shawnguo@kernel.org>
Acked-by: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
Acked-by: Thierry Reding <treding@nvidia.com>
Acked-by: Krzysztof Halasa <khc@piap.pl>
Acked-by: Maxime Coquelin <maxime.coquelin@st.com>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2015-11-16 11:06:10 +08:00
|
|
|
bool "AT91RM9200"
|
|
|
|
depends on ARCH_MULTI_V4T
|
2014-11-22 00:10:06 +08:00
|
|
|
select ATMEL_AIC_IRQ
|
2017-05-31 09:06:22 +08:00
|
|
|
select ATMEL_PM if PM
|
2015-03-12 20:07:31 +08:00
|
|
|
select ATMEL_ST
|
2008-10-26 18:55:14 +08:00
|
|
|
select CPU_ARM920T
|
2013-10-18 00:55:41 +08:00
|
|
|
select HAVE_AT91_USB_CLK
|
2015-12-01 18:44:40 +08:00
|
|
|
select PINCTRL_AT91
|
2015-03-14 05:57:18 +08:00
|
|
|
select SOC_SAM_V4_V5
|
2015-03-09 11:44:50 +08:00
|
|
|
select SRAM if PM
|
2015-03-14 05:57:18 +08:00
|
|
|
help
|
2018-02-28 22:56:43 +08:00
|
|
|
Select this if you are using Microchip's AT91RM9200 SoC.
|
2006-01-10 01:05:41 +08:00
|
|
|
|
2015-01-16 05:58:13 +08:00
|
|
|
config SOC_AT91SAM9
|
ARM: use "depends on" for SoC configs instead of "if" after prompt
Many ARM sub-architectures use prompts followed by "if" conditional,
but it is wrong.
Please notice the difference between
config ARCH_FOO
bool "Foo SoCs" if ARCH_MULTI_V7
and
config ARCH_FOO
bool "Foo SoCs"
depends on ARCH_MULTI_V7
These two are *not* equivalent!
In the former statement, it is not ARCH_FOO, but its prompt that
depends on ARCH_MULTI_V7. So, it is completely valid that ARCH_FOO
is selected by another, but ARCH_MULTI_V7 is still disabled. As it is
not unmet dependency, Kconfig never warns. This is probably not what
you want.
The former should be used only when you need to do so, and you really
understand what you are doing. (In most cases, it should be wrong!)
For enabling/disabling sub-architectures, the latter is always correct.
As a good side effect, this commit fixes some entries over 80 columns
(mach-imx, mach-integrator, mach-mbevu).
[Arnd: I note that there is not really a bug here, according to
the discussion that followed, but I can see value in being consistent
and in making the lines shorter]
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Acked-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Acked-by: Heiko Stuebner <heiko@sntech.de>
Acked-by: Patrice Chotard <patrice.chotard@st.com>
Acked-by: Liviu Dudau <Liviu.Dudau@arm.com>
Acked-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Acked-by: Jun Nie <jun.nie@linaro.org>
Acked-by: Matthias Brugger <matthias.bgg@gmail.com>
Acked-by: Simon Horman <horms+renesas@verge.net.au>
Acked-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
Acked-by: Shawn Guo <shawnguo@kernel.org>
Acked-by: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
Acked-by: Thierry Reding <treding@nvidia.com>
Acked-by: Krzysztof Halasa <khc@piap.pl>
Acked-by: Maxime Coquelin <maxime.coquelin@st.com>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2015-11-16 11:06:10 +08:00
|
|
|
bool "AT91SAM9"
|
|
|
|
depends on ARCH_MULTI_V5
|
2015-01-16 05:58:13 +08:00
|
|
|
select ATMEL_AIC_IRQ
|
2017-05-31 09:06:22 +08:00
|
|
|
select ATMEL_PM if PM
|
2015-01-16 05:58:13 +08:00
|
|
|
select ATMEL_SDRAMC
|
|
|
|
select CPU_ARM926T
|
2013-10-11 19:27:06 +08:00
|
|
|
select HAVE_AT91_SMD
|
2013-10-18 00:55:41 +08:00
|
|
|
select HAVE_AT91_USB_CLK
|
2015-01-16 05:58:13 +08:00
|
|
|
select HAVE_AT91_UTMI
|
2012-04-17 14:26:31 +08:00
|
|
|
select HAVE_FB_ATMEL
|
2015-01-16 05:58:13 +08:00
|
|
|
select MEMORY
|
2015-12-01 18:44:40 +08:00
|
|
|
select PINCTRL_AT91
|
2015-03-14 05:57:18 +08:00
|
|
|
select SOC_SAM_V4_V5
|
2015-03-09 11:44:50 +08:00
|
|
|
select SRAM if PM
|
2012-04-17 14:26:31 +08:00
|
|
|
help
|
2018-02-28 22:56:43 +08:00
|
|
|
Select this if you are using one of those Microchip SoC:
|
2015-01-16 05:58:13 +08:00
|
|
|
AT91SAM9260
|
|
|
|
AT91SAM9261
|
|
|
|
AT91SAM9263
|
|
|
|
AT91SAM9G15
|
|
|
|
AT91SAM9G20
|
|
|
|
AT91SAM9G25
|
|
|
|
AT91SAM9G35
|
|
|
|
AT91SAM9G45
|
|
|
|
AT91SAM9G46
|
|
|
|
AT91SAM9M10
|
|
|
|
AT91SAM9M11
|
|
|
|
AT91SAM9N12
|
|
|
|
AT91SAM9RL
|
|
|
|
AT91SAM9X25
|
|
|
|
AT91SAM9X35
|
|
|
|
AT91SAM9XE
|
2014-03-13 22:18:31 +08:00
|
|
|
|
2019-11-29 21:51:38 +08:00
|
|
|
config SOC_SAM9X60
|
|
|
|
bool "SAM9X60"
|
|
|
|
depends on ARCH_MULTI_V5
|
|
|
|
select ATMEL_AIC5_IRQ
|
|
|
|
select ATMEL_PM if PM
|
|
|
|
select ATMEL_SDRAMC
|
|
|
|
select CPU_ARM926T
|
|
|
|
select HAVE_AT91_USB_CLK
|
|
|
|
select HAVE_AT91_GENERATED_CLK
|
|
|
|
select HAVE_AT91_SAM9X60_PLL
|
|
|
|
select MEMORY
|
|
|
|
select PINCTRL_AT91
|
|
|
|
select SOC_SAM_V4_V5
|
|
|
|
select SRAM if PM
|
|
|
|
help
|
|
|
|
Select this if you are using Microchip's SAM9X60 SoC
|
|
|
|
|
2019-04-27 05:47:13 +08:00
|
|
|
comment "Clocksource driver selection"
|
|
|
|
|
|
|
|
config ATMEL_CLOCKSOURCE_PIT
|
|
|
|
bool "Periodic Interval Timer (PIT) support"
|
2019-11-29 21:51:38 +08:00
|
|
|
depends on SOC_AT91SAM9 || SOC_SAM9X60 || SOC_SAMA5
|
2019-04-27 05:47:13 +08:00
|
|
|
default SOC_AT91SAM9 || SOC_SAMA5
|
|
|
|
select ATMEL_PIT
|
|
|
|
help
|
|
|
|
Select this to get a clocksource based on the Atmel Periodic Interval
|
|
|
|
Timer. It has a relatively low resolution and the TC Block clocksource
|
|
|
|
should be preferred.
|
|
|
|
|
|
|
|
config ATMEL_CLOCKSOURCE_TCB
|
|
|
|
bool "Timer Counter Blocks (TCB) support"
|
2019-11-29 21:51:38 +08:00
|
|
|
default SOC_AT91RM9200 || SOC_AT91SAM9 || SOC_SAM9X60 || SOC_SAMA5
|
2019-04-27 05:47:13 +08:00
|
|
|
select ATMEL_TCB_CLKSRC
|
|
|
|
help
|
|
|
|
Select this to get a high precision clocksource based on a
|
|
|
|
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.
|
|
|
|
|
2015-03-14 05:57:18 +08:00
|
|
|
config HAVE_AT91_UTMI
|
|
|
|
bool
|
|
|
|
|
|
|
|
config HAVE_AT91_USB_CLK
|
|
|
|
bool
|
|
|
|
|
|
|
|
config COMMON_CLK_AT91
|
|
|
|
bool
|
2014-09-05 15:54:13 +08:00
|
|
|
select MFD_SYSCON
|
2015-03-14 05:57:18 +08:00
|
|
|
|
|
|
|
config HAVE_AT91_SMD
|
|
|
|
bool
|
|
|
|
|
|
|
|
config HAVE_AT91_H32MX
|
|
|
|
bool
|
|
|
|
|
2015-07-31 17:43:12 +08:00
|
|
|
config HAVE_AT91_GENERATED_CLK
|
|
|
|
bool
|
|
|
|
|
2017-08-10 14:34:03 +08:00
|
|
|
config HAVE_AT91_AUDIO_PLL
|
|
|
|
bool
|
|
|
|
|
2018-06-18 22:12:36 +08:00
|
|
|
config HAVE_AT91_I2S_MUX_CLK
|
|
|
|
bool
|
|
|
|
|
2019-11-29 21:51:37 +08:00
|
|
|
config HAVE_AT91_SAM9X60_PLL
|
|
|
|
bool
|
|
|
|
|
2015-03-14 05:57:18 +08:00
|
|
|
config SOC_SAM_V4_V5
|
|
|
|
bool
|
|
|
|
|
|
|
|
config SOC_SAM_V7
|
|
|
|
bool
|
|
|
|
|
|
|
|
config SOC_SAMA5
|
|
|
|
bool
|
|
|
|
select ATMEL_AIC5_IRQ
|
2017-05-31 09:06:22 +08:00
|
|
|
select ATMEL_PM if PM
|
2015-03-14 05:57:18 +08:00
|
|
|
select ATMEL_SDRAMC
|
|
|
|
select MEMORY
|
|
|
|
select SOC_SAM_V7
|
|
|
|
select SRAM if PM
|
|
|
|
|
2017-05-31 09:06:22 +08:00
|
|
|
config ATMEL_PM
|
|
|
|
bool
|
|
|
|
|
2006-01-10 01:05:41 +08:00
|
|
|
endif
|