2019-05-19 12:07:45 +00:00
|
|
|
# SPDX-License-Identifier: GPL-2.0-only
|
2015-03-13 21:57:18 +00:00
|
|
|
menuconfig ARCH_AT91
|
2018-02-28 14:56:43 +00:00
|
|
|
bool "AT91/Microchip SoCs"
|
ARM: rework endianess selection
Choosing big-endian vs little-endian kernels in Kconfig has not worked
correctly since the introduction of CONFIG_ARCH_MULTIPLATFORM a long
time ago.
The problems is that CONFIG_BIG_ENDIAN depends on
ARCH_SUPPORTS_BIG_ENDIAN, which can set by any one platform
in the config, but would actually have to be supported by all
of them.
This was mostly ok for ARMv6/ARMv7 builds, since these are BE8 and
tend to just work aside from problems in nonportable device drivers.
For ARMv4/v5 machines, CONFIG_BIG_ENDIAN and CONFIG_ARCH_MULTIPLATFORM
were never set together, so this was disabled on all those machines
except for IXP4xx.
As IXP4xx can now become part of ARCH_MULTIPLATFORM, it seems better to
formalize this logic: all ARMv4/v5 platforms get an explicit dependency
on being either big-endian (ixp4xx) or little-endian (the rest). We may
want to fix ixp4xx in the future to support both, but it does not work
in LE mode at the moment.
For the ARMv6/v7 platforms, there are two ways this could be handled
a) allow both modes only for platforms selecting
'ARCH_SUPPORTS_BIG_ENDIAN' today, but only LE mode for the
others, given that these were added intentionally at some
point.
b) allow both modes everwhere, given that it was already possible
to build that way by e.g. selecting ARCH_VIRT, and that the
list is not an accurate reflection of which platforms may or
may not work.
Out of these, I picked b) because it seemed slighly more logical
to me.
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2022-04-04 09:52:31 +00:00
|
|
|
depends on (CPU_LITTLE_ENDIAN && (ARCH_MULTI_V4T || ARCH_MULTI_V5)) || \
|
|
|
|
ARCH_MULTI_V7 || ARM_SINGLE_ARMV7M
|
2017-08-23 14:46:15 +00:00
|
|
|
select ARM_CPU_SUSPEND if PM && ARCH_MULTI_V7
|
2014-11-21 16:10:06 +00:00
|
|
|
select COMMON_CLK_AT91
|
2016-06-02 12:10:16 +00:00
|
|
|
select GPIOLIB
|
2015-03-13 21:57:18 +00:00
|
|
|
select PINCTRL
|
|
|
|
select SOC_BUS
|
2013-03-22 13:24:11 +00:00
|
|
|
|
2015-03-13 21:57:18 +00:00
|
|
|
if ARCH_AT91
|
2017-05-31 01:06:21 +00:00
|
|
|
config SOC_SAMV7
|
|
|
|
bool "SAM Cortex-M7 family" if ARM_SINGLE_ARMV7M
|
|
|
|
select COMMON_CLK_AT91
|
|
|
|
select PINCTRL_AT91
|
|
|
|
help
|
2018-02-28 14:56:43 +00:00
|
|
|
Select this if you are using an SoC from Microchip's SAME7, SAMS7 or SAMV7
|
2017-05-31 01:06:21 +00:00
|
|
|
families.
|
|
|
|
|
2015-07-30 17:12:12 +00: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 03:06:10 +00:00
|
|
|
bool "SAMA5D2 family"
|
|
|
|
depends on ARCH_MULTI_V7
|
2015-07-30 17:12:12 +00: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 06:34:03 +00:00
|
|
|
select HAVE_AT91_AUDIO_PLL
|
2018-06-18 14:12:36 +00:00
|
|
|
select HAVE_AT91_I2S_MUX_CLK
|
2015-12-01 10:44:40 +00:00
|
|
|
select PINCTRL_AT91PIO4
|
2015-07-30 17:12:12 +00:00
|
|
|
help
|
2018-02-28 14:56:43 +00:00
|
|
|
Select this if ou are using one of Microchip's SAMA5D2 family SoC.
|
2015-07-30 17:12:12 +00:00
|
|
|
|
2013-03-22 13:24:12 +00: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 03:06:10 +00:00
|
|
|
bool "SAMA5D3 family"
|
|
|
|
depends on ARCH_MULTI_V7
|
2013-03-22 13:24:12 +00:00
|
|
|
select SOC_SAMA5
|
2013-10-11 10:22:06 +00:00
|
|
|
select HAVE_AT91_UTMI
|
2013-10-11 11:27:06 +00:00
|
|
|
select HAVE_AT91_SMD
|
2013-10-17 16:55:41 +00:00
|
|
|
select HAVE_AT91_USB_CLK
|
2015-12-01 10:44:40 +00:00
|
|
|
select PINCTRL_AT91
|
2013-03-22 13:24:12 +00:00
|
|
|
help
|
2018-02-28 14:56:43 +00:00
|
|
|
Select this if you are using one of Microchip's SAMA5D3 family SoC.
|
2013-11-06 10:01:11 +00:00
|
|
|
This support covers SAMA5D31, SAMA5D33, SAMA5D34, SAMA5D35, SAMA5D36.
|
2014-09-15 16:15:54 +00: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 03:06:10 +00:00
|
|
|
bool "SAMA5D4 family"
|
|
|
|
depends on ARCH_MULTI_V7
|
2014-09-15 16:15:54 +00: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 10:44:40 +00:00
|
|
|
select PINCTRL_AT91
|
2014-09-15 16:15:54 +00:00
|
|
|
help
|
2018-02-28 14:56:43 +00:00
|
|
|
Select this if you are using one of Microchip's SAMA5D4 family SoC.
|
2013-03-22 13:24:12 +00:00
|
|
|
|
2024-12-06 19:59:58 +00:00
|
|
|
config SOC_SAMA7D65
|
|
|
|
bool "SAMA7D65 family"
|
|
|
|
depends on ARCH_MULTI_V7
|
|
|
|
select HAVE_AT91_GENERATED_CLK
|
|
|
|
select HAVE_AT91_SAM9X60_PLL
|
|
|
|
select SOC_SAMA7
|
|
|
|
help
|
|
|
|
Select this if you are using one of Microchip's SAMA7D65 family SoC.
|
|
|
|
|
2021-04-09 11:31:15 +00:00
|
|
|
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
|
2022-01-13 14:48:55 +00:00
|
|
|
select PM_OPP
|
2021-04-09 11:31:15 +00:00
|
|
|
select SOC_SAMA7
|
|
|
|
help
|
|
|
|
Select this if you are using one of Microchip's SAMA7G5 family SoC.
|
|
|
|
|
2021-08-31 10:21:38 +00:00
|
|
|
config SOC_LAN966
|
|
|
|
bool "ARMv7 based Microchip LAN966 SoC family"
|
|
|
|
depends on ARCH_MULTI_V7
|
|
|
|
select DW_APB_TIMER_OF
|
|
|
|
select ARM_GIC
|
|
|
|
select MEMORY
|
|
|
|
help
|
|
|
|
This enables support for ARMv7 based Microchip LAN966 SoC family.
|
|
|
|
|
2012-04-06 03:51:50 +00: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 03:06:10 +00:00
|
|
|
bool "AT91RM9200"
|
|
|
|
depends on ARCH_MULTI_V4T
|
2014-11-21 16:10:06 +00:00
|
|
|
select ATMEL_AIC_IRQ
|
2017-05-31 01:06:22 +00:00
|
|
|
select ATMEL_PM if PM
|
2015-03-12 12:07:31 +00:00
|
|
|
select ATMEL_ST
|
2008-10-26 10:55:14 +00:00
|
|
|
select CPU_ARM920T
|
2013-10-17 16:55:41 +00:00
|
|
|
select HAVE_AT91_USB_CLK
|
2015-12-01 10:44:40 +00:00
|
|
|
select PINCTRL_AT91
|
2015-03-13 21:57:18 +00:00
|
|
|
select SOC_SAM_V4_V5
|
2015-03-09 03:44:50 +00:00
|
|
|
select SRAM if PM
|
2015-03-13 21:57:18 +00:00
|
|
|
help
|
2018-02-28 14:56:43 +00:00
|
|
|
Select this if you are using Microchip's AT91RM9200 SoC.
|
2006-01-09 17:05:41 +00:00
|
|
|
|
2015-01-15 21:58:13 +00: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 03:06:10 +00:00
|
|
|
bool "AT91SAM9"
|
|
|
|
depends on ARCH_MULTI_V5
|
2015-01-15 21:58:13 +00:00
|
|
|
select ATMEL_AIC_IRQ
|
2017-05-31 01:06:22 +00:00
|
|
|
select ATMEL_PM if PM
|
2015-01-15 21:58:13 +00:00
|
|
|
select CPU_ARM926T
|
2013-10-11 11:27:06 +00:00
|
|
|
select HAVE_AT91_SMD
|
2013-10-17 16:55:41 +00:00
|
|
|
select HAVE_AT91_USB_CLK
|
2015-01-15 21:58:13 +00:00
|
|
|
select HAVE_AT91_UTMI
|
2012-04-17 06:26:31 +00:00
|
|
|
select HAVE_FB_ATMEL
|
2015-01-15 21:58:13 +00:00
|
|
|
select MEMORY
|
2015-12-01 10:44:40 +00:00
|
|
|
select PINCTRL_AT91
|
2015-03-13 21:57:18 +00:00
|
|
|
select SOC_SAM_V4_V5
|
2015-03-09 03:44:50 +00:00
|
|
|
select SRAM if PM
|
2012-04-17 06:26:31 +00:00
|
|
|
help
|
2018-02-28 14:56:43 +00:00
|
|
|
Select this if you are using one of those Microchip SoC:
|
2015-01-15 21:58:13 +00:00
|
|
|
AT91SAM9260
|
|
|
|
AT91SAM9261
|
|
|
|
AT91SAM9263
|
|
|
|
AT91SAM9G15
|
|
|
|
AT91SAM9G20
|
|
|
|
AT91SAM9G25
|
|
|
|
AT91SAM9G35
|
|
|
|
AT91SAM9G45
|
|
|
|
AT91SAM9G46
|
|
|
|
AT91SAM9M10
|
|
|
|
AT91SAM9M11
|
|
|
|
AT91SAM9N12
|
|
|
|
AT91SAM9RL
|
|
|
|
AT91SAM9X25
|
|
|
|
AT91SAM9X35
|
|
|
|
AT91SAM9XE
|
2014-03-13 14:18:31 +00:00
|
|
|
|
2019-11-29 13:51:38 +00:00
|
|
|
config SOC_SAM9X60
|
|
|
|
bool "SAM9X60"
|
|
|
|
depends on ARCH_MULTI_V5
|
|
|
|
select ATMEL_AIC5_IRQ
|
|
|
|
select ATMEL_PM if PM
|
|
|
|
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
|
|
|
|
|
2024-07-29 07:09:16 +00:00
|
|
|
config SOC_SAM9X7
|
|
|
|
bool "SAM9X7"
|
|
|
|
depends on ARCH_MULTI_V5
|
|
|
|
select ATMEL_AIC5_IRQ
|
|
|
|
select ATMEL_PM if PM
|
|
|
|
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 SAM9X7 SoC
|
|
|
|
|
2019-04-26 21:47:13 +00:00
|
|
|
comment "Clocksource driver selection"
|
|
|
|
|
|
|
|
config ATMEL_CLOCKSOURCE_PIT
|
|
|
|
bool "Periodic Interval Timer (PIT) support"
|
2024-07-29 07:09:16 +00:00
|
|
|
depends on SOC_AT91SAM9 || SOC_SAM9X60 || SOC_SAM9X7 || SOC_SAMA5
|
2019-04-26 21:47:13 +00: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"
|
2024-07-29 07:09:16 +00:00
|
|
|
default SOC_AT91RM9200 || SOC_AT91SAM9 || SOC_SAM9X60 || SOC_SAM9X7 || SOC_SAMA5
|
2019-04-26 21:47:13 +00: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.
|
|
|
|
|
2022-05-09 07:26:05 +00:00
|
|
|
config MICROCHIP_CLOCKSOURCE_PIT64B
|
|
|
|
bool "64-bit Periodic Interval Timer (PIT64B) support"
|
2024-07-29 07:09:16 +00:00
|
|
|
default SOC_SAM9X60 || SOC_SAM9X7 || SOC_SAMA7
|
2022-05-09 07:26:05 +00:00
|
|
|
select MICROCHIP_PIT64B
|
|
|
|
help
|
|
|
|
Select this to get a high resolution clockevent (SAM9X60) or
|
|
|
|
clocksource and clockevent (SAMA7G5) based on Microchip 64-bit
|
|
|
|
Periodic Interval Timer.
|
|
|
|
|
2015-03-13 21:57:18 +00:00
|
|
|
config HAVE_AT91_UTMI
|
|
|
|
bool
|
|
|
|
|
|
|
|
config HAVE_AT91_USB_CLK
|
|
|
|
bool
|
|
|
|
|
|
|
|
config COMMON_CLK_AT91
|
|
|
|
bool
|
2014-09-05 07:54:13 +00:00
|
|
|
select MFD_SYSCON
|
2015-03-13 21:57:18 +00:00
|
|
|
|
|
|
|
config HAVE_AT91_SMD
|
|
|
|
bool
|
|
|
|
|
|
|
|
config HAVE_AT91_H32MX
|
|
|
|
bool
|
|
|
|
|
2015-07-31 09:43:12 +00:00
|
|
|
config HAVE_AT91_GENERATED_CLK
|
|
|
|
bool
|
|
|
|
|
2017-08-10 06:34:03 +00:00
|
|
|
config HAVE_AT91_AUDIO_PLL
|
|
|
|
bool
|
|
|
|
|
2018-06-18 14:12:36 +00:00
|
|
|
config HAVE_AT91_I2S_MUX_CLK
|
|
|
|
bool
|
|
|
|
|
2019-11-29 13:51:37 +00:00
|
|
|
config HAVE_AT91_SAM9X60_PLL
|
|
|
|
bool
|
|
|
|
|
2015-03-13 21:57:18 +00:00
|
|
|
config SOC_SAM_V4_V5
|
|
|
|
bool
|
|
|
|
|
|
|
|
config SOC_SAM_V7
|
|
|
|
bool
|
|
|
|
|
|
|
|
config SOC_SAMA5
|
|
|
|
bool
|
|
|
|
select ATMEL_AIC5_IRQ
|
2017-05-31 01:06:22 +00:00
|
|
|
select ATMEL_PM if PM
|
2015-03-13 21:57:18 +00:00
|
|
|
select MEMORY
|
|
|
|
select SOC_SAM_V7
|
|
|
|
select SRAM if PM
|
|
|
|
|
2017-05-31 01:06:22 +00:00
|
|
|
config ATMEL_PM
|
2022-05-17 03:16:06 +00:00
|
|
|
bool
|
2022-05-02 15:22:19 +00:00
|
|
|
|
|
|
|
config ATMEL_SECURE_PM
|
|
|
|
bool "Atmel Secure PM support"
|
|
|
|
depends on SOC_SAMA5D2 && ATMEL_PM
|
|
|
|
select ARM_PSCI
|
|
|
|
help
|
|
|
|
When running under a TEE, the suspend mode must be requested to be set
|
|
|
|
at TEE level. When enable, this option will use secure monitor calls
|
|
|
|
to set the suspend level. PSCI is then used to enter suspend.
|
2017-05-31 01:06:22 +00:00
|
|
|
|
2021-04-09 11:31:15 +00:00
|
|
|
config SOC_SAMA7
|
|
|
|
bool
|
|
|
|
select ARM_GIC
|
|
|
|
select ATMEL_PM if PM
|
|
|
|
select MEMORY
|
|
|
|
select SOC_SAM_V7
|
|
|
|
select SRAM if PM
|
2006-01-09 17:05:41 +00:00
|
|
|
endif
|