2015-03-14 04:57:18 +07:00
|
|
|
menuconfig ARCH_AT91
|
|
|
|
bool "Atmel SoCs"
|
2017-05-31 08:06:21 +07:00
|
|
|
depends on ARCH_MULTI_V4T || ARCH_MULTI_V5 || ARCH_MULTI_V7 || ARM_SINGLE_ARMV7M
|
2017-08-23 21:46:15 +07:00
|
|
|
select ARM_CPU_SUSPEND if PM && ARCH_MULTI_V7
|
2014-11-21 23:10:06 +07:00
|
|
|
select COMMON_CLK_AT91
|
2016-06-02 19:10:16 +07:00
|
|
|
select GPIOLIB
|
2015-03-14 04:57:18 +07:00
|
|
|
select PINCTRL
|
|
|
|
select SOC_BUS
|
2013-03-22 20:24:11 +07:00
|
|
|
|
2015-03-14 04:57:18 +07:00
|
|
|
if ARCH_AT91
|
2017-05-31 08:06:21 +07:00
|
|
|
config SOC_SAMV7
|
|
|
|
bool "SAM Cortex-M7 family" if ARM_SINGLE_ARMV7M
|
|
|
|
select COMMON_CLK_AT91
|
|
|
|
select PINCTRL_AT91
|
|
|
|
help
|
|
|
|
Select this if you are using an SoC from Atmel's SAME7, SAMS7 or SAMV7
|
|
|
|
families.
|
|
|
|
|
2015-07-31 00:12:12 +07: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 10:06:10 +07:00
|
|
|
bool "SAMA5D2 family"
|
|
|
|
depends on ARCH_MULTI_V7
|
2015-07-31 00:12:12 +07:00
|
|
|
select SOC_SAMA5
|
|
|
|
select CACHE_L2X0
|
|
|
|
select HAVE_FB_ATMEL
|
|
|
|
select HAVE_AT91_UTMI
|
|
|
|
select HAVE_AT91_USB_CLK
|
|
|
|
select HAVE_AT91_H32MX
|
|
|
|
select HAVE_AT91_GENERATED_CLK
|
2017-08-10 13:34:03 +07:00
|
|
|
select HAVE_AT91_AUDIO_PLL
|
2015-12-01 17:44:40 +07:00
|
|
|
select PINCTRL_AT91PIO4
|
2015-07-31 00:12:12 +07:00
|
|
|
help
|
|
|
|
Select this if ou are using one of Atmel's SAMA5D2 family SoC.
|
|
|
|
|
2013-03-22 20:24:12 +07: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 10:06:10 +07:00
|
|
|
bool "SAMA5D3 family"
|
|
|
|
depends on ARCH_MULTI_V7
|
2013-03-22 20:24:12 +07:00
|
|
|
select SOC_SAMA5
|
|
|
|
select HAVE_FB_ATMEL
|
2013-10-11 17:22:06 +07:00
|
|
|
select HAVE_AT91_UTMI
|
2013-10-11 18:27:06 +07:00
|
|
|
select HAVE_AT91_SMD
|
2013-10-17 23:55:41 +07:00
|
|
|
select HAVE_AT91_USB_CLK
|
2015-12-01 17:44:40 +07:00
|
|
|
select PINCTRL_AT91
|
2013-03-22 20:24:12 +07:00
|
|
|
help
|
|
|
|
Select this if you are using one of Atmel's SAMA5D3 family SoC.
|
2013-11-06 17:01:11 +07:00
|
|
|
This support covers SAMA5D31, SAMA5D33, SAMA5D34, SAMA5D35, SAMA5D36.
|
2014-09-15 23:15:54 +07: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 10:06:10 +07:00
|
|
|
bool "SAMA5D4 family"
|
|
|
|
depends on ARCH_MULTI_V7
|
2014-09-15 23:15:54 +07:00
|
|
|
select SOC_SAMA5
|
|
|
|
select CACHE_L2X0
|
|
|
|
select HAVE_FB_ATMEL
|
|
|
|
select HAVE_AT91_UTMI
|
|
|
|
select HAVE_AT91_SMD
|
|
|
|
select HAVE_AT91_USB_CLK
|
|
|
|
select HAVE_AT91_H32MX
|
2015-12-01 17:44:40 +07:00
|
|
|
select PINCTRL_AT91
|
2014-09-15 23:15:54 +07:00
|
|
|
help
|
|
|
|
Select this if you are using one of Atmel's SAMA5D4 family SoC.
|
2013-03-22 20:24:12 +07:00
|
|
|
|
2012-04-06 10:51:50 +07: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 10:06:10 +07:00
|
|
|
bool "AT91RM9200"
|
|
|
|
depends on ARCH_MULTI_V4T
|
2014-11-21 23:10:06 +07:00
|
|
|
select ATMEL_AIC_IRQ
|
2017-05-31 08:06:22 +07:00
|
|
|
select ATMEL_PM if PM
|
2015-03-12 19:07:31 +07:00
|
|
|
select ATMEL_ST
|
2008-10-26 17:55:14 +07:00
|
|
|
select CPU_ARM920T
|
2013-10-17 23:55:41 +07:00
|
|
|
select HAVE_AT91_USB_CLK
|
2015-12-01 17:44:40 +07:00
|
|
|
select PINCTRL_AT91
|
2015-03-14 04:57:18 +07:00
|
|
|
select SOC_SAM_V4_V5
|
2015-03-09 10:44:50 +07:00
|
|
|
select SRAM if PM
|
2015-03-14 04:57:18 +07:00
|
|
|
help
|
|
|
|
Select this if you are using Atmel's AT91RM9200 SoC.
|
2006-01-10 00:05:41 +07:00
|
|
|
|
2015-01-16 04:58:13 +07: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 10:06:10 +07:00
|
|
|
bool "AT91SAM9"
|
|
|
|
depends on ARCH_MULTI_V5
|
2015-01-16 04:58:13 +07:00
|
|
|
select ATMEL_AIC_IRQ
|
2017-05-31 08:06:22 +07:00
|
|
|
select ATMEL_PM if PM
|
2015-01-16 04:58:13 +07:00
|
|
|
select ATMEL_SDRAMC
|
|
|
|
select CPU_ARM926T
|
2013-10-11 18:27:06 +07:00
|
|
|
select HAVE_AT91_SMD
|
2013-10-17 23:55:41 +07:00
|
|
|
select HAVE_AT91_USB_CLK
|
2015-01-16 04:58:13 +07:00
|
|
|
select HAVE_AT91_UTMI
|
2012-04-17 13:26:31 +07:00
|
|
|
select HAVE_FB_ATMEL
|
2015-01-16 04:58:13 +07:00
|
|
|
select MEMORY
|
2015-12-01 17:44:40 +07:00
|
|
|
select PINCTRL_AT91
|
2015-03-14 04:57:18 +07:00
|
|
|
select SOC_SAM_V4_V5
|
2015-03-09 10:44:50 +07:00
|
|
|
select SRAM if PM
|
2012-04-17 13:26:31 +07:00
|
|
|
help
|
2015-01-16 04:58:13 +07:00
|
|
|
Select this if you are using one of those Atmel SoC:
|
|
|
|
AT91SAM9260
|
|
|
|
AT91SAM9261
|
|
|
|
AT91SAM9263
|
|
|
|
AT91SAM9G15
|
|
|
|
AT91SAM9G20
|
|
|
|
AT91SAM9G25
|
|
|
|
AT91SAM9G35
|
|
|
|
AT91SAM9G45
|
|
|
|
AT91SAM9G46
|
|
|
|
AT91SAM9M10
|
|
|
|
AT91SAM9M11
|
|
|
|
AT91SAM9N12
|
|
|
|
AT91SAM9RL
|
|
|
|
AT91SAM9X25
|
|
|
|
AT91SAM9X35
|
|
|
|
AT91SAM9XE
|
2014-03-13 21:18:31 +07:00
|
|
|
|
2015-03-14 04:57:18 +07:00
|
|
|
config HAVE_AT91_UTMI
|
|
|
|
bool
|
|
|
|
|
|
|
|
config HAVE_AT91_USB_CLK
|
|
|
|
bool
|
|
|
|
|
|
|
|
config COMMON_CLK_AT91
|
|
|
|
bool
|
|
|
|
select COMMON_CLK
|
2014-09-05 14:54:13 +07:00
|
|
|
select MFD_SYSCON
|
2015-03-14 04:57:18 +07:00
|
|
|
|
|
|
|
config HAVE_AT91_SMD
|
|
|
|
bool
|
|
|
|
|
|
|
|
config HAVE_AT91_H32MX
|
|
|
|
bool
|
|
|
|
|
2015-07-31 16:43:12 +07:00
|
|
|
config HAVE_AT91_GENERATED_CLK
|
|
|
|
bool
|
|
|
|
|
2017-08-10 13:34:03 +07:00
|
|
|
config HAVE_AT91_AUDIO_PLL
|
|
|
|
bool
|
|
|
|
|
2015-03-14 04:57:18 +07:00
|
|
|
config SOC_SAM_V4_V5
|
|
|
|
bool
|
|
|
|
|
|
|
|
config SOC_SAM_V7
|
|
|
|
bool
|
|
|
|
|
|
|
|
config SOC_SAMA5
|
|
|
|
bool
|
|
|
|
select ATMEL_AIC5_IRQ
|
2017-05-31 08:06:22 +07:00
|
|
|
select ATMEL_PM if PM
|
2015-03-14 04:57:18 +07:00
|
|
|
select ATMEL_SDRAMC
|
|
|
|
select MEMORY
|
|
|
|
select SOC_SAM_V7
|
|
|
|
select SRAM if PM
|
|
|
|
|
2017-05-31 08:06:22 +07:00
|
|
|
config ATMEL_PM
|
|
|
|
bool
|
|
|
|
|
2006-01-10 00:05:41 +07:00
|
|
|
endif
|