summaryrefslogtreecommitdiff
path: root/arch/arm/Kconfig
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2017-01-21 12:59:05 +0100
committerLinus Walleij <linus.walleij@linaro.org>2017-03-12 12:27:12 +0100
commit41d9830cd09f652936be95431cecfbac39ed09f7 (patch)
treeba8d82053b549218444968d724cd579d58f1c03d /arch/arm/Kconfig
parentc12ddfe1ed41b59c3122b67a37195c085f9da9c6 (diff)
ARM: gemini: DT for the Cortina Gemini SoC platforms
This adds initial and compulsory device tree support to the Gemini ARMv4 platform. We are selecting a bunch of "absolute minimals" for getting a working system up with just device tree: - We select USE_OF for natural reasons or nothing works. - We select CLKSRC_OF and GEMINI_TIMER so we get timekeeping from the clocksource. - We select GPIO_GEMINI because these are used as irqchips, and for a generic driver it is not reasonable for those to have to select every possible irqchip in the world to work, the platform should simply provide the available irqchips. - We select a UART that can be exprected to work with SERIAL_OF_PLATFORM which is the name for an 8250 OF-probed serial port. - We select the syscon-based reset controller: it's not fun when "reboot" doesn't work because of Kconfig, so we just select POWER_RESET and POWER_RESET_SYSCON. - We perhaps a bit controversiallt select ARM_APPENDED_DTB, because this platform is using the ancient RedBoot, and can *NOT* be expected to upgrade its bootloaders. Appended device tree is simply how these devices have to work with device tree. Cc: Janos Laube <janos.dev@gmail.com> Cc: Paulius Zaleckas <paulius.zaleckas@gmail.com> Cc: Hans Ulli Kroll <ulli.kroll@googlemail.com> Cc: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'arch/arm/Kconfig')
-rw-r--r--arch/arm/Kconfig10
1 files changed, 8 insertions, 2 deletions
diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
index 6c2b72b173c8..637f5756dca8 100644
--- a/arch/arm/Kconfig
+++ b/arch/arm/Kconfig
@@ -361,11 +361,17 @@ config ARM_SINGLE_ARMV7M
config ARCH_GEMINI
bool "Cortina Systems Gemini"
- select CLKSRC_MMIO
+ select ARM_APPENDED_DTB # Old Redboot bootloaders deployed
select CPU_FA526
- select GENERIC_CLOCKEVENTS
+ select FARADAY_FTINTC010
+ select FTTMR010_TIMER
+ select GPIO_GEMINI
select GPIOLIB
select MULTI_IRQ_HANDLER
+ select POWER_RESET
+ select POWER_RESET_SYSCON
+ select SERIAL_OF_PLATFORM
+ select USE_OF
help
Support for the Cortina Systems Gemini family SoCs