diff options
author | Linus Walleij <linus.walleij@linaro.org> | 2013-04-08 04:50:11 -0400 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2013-05-31 05:24:44 -0400 |
commit | 5a5056cccfb0479f52a0464a6b371b441c84aa0c (patch) | |
tree | 38c7a3edd27425a05eb4bfecfe9d5ef144f699d8 /arch/arm/Kconfig | |
parent | 3c96d8ea8101936959dede664ac7b97b30fafbe8 (diff) |
ARM: u300: device tree support for the timer
This adds device tree support for the U300 timer, by making
the memory base offset and IRQ dynamically assigned, then
optionally looking them up from the device tree.
Since the timer needs to be registered before any platform
devices are created, we will go into the device tree and look
up the "/timer@c0014000" node and read our base address and
IRQ from there.
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'arch/arm/Kconfig')
-rw-r--r-- | arch/arm/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index d423d58f938d..fbad3337a838 100644 --- a/arch/arm/Kconfig +++ b/arch/arm/Kconfig | |||
@@ -821,6 +821,7 @@ config ARCH_U300 | |||
821 | select ARM_VIC | 821 | select ARM_VIC |
822 | select CLKDEV_LOOKUP | 822 | select CLKDEV_LOOKUP |
823 | select CLKSRC_MMIO | 823 | select CLKSRC_MMIO |
824 | select CLKSRC_OF | ||
824 | select COMMON_CLK | 825 | select COMMON_CLK |
825 | select CPU_ARM926T | 826 | select CPU_ARM926T |
826 | select GENERIC_CLOCKEVENTS | 827 | select GENERIC_CLOCKEVENTS |