ARM: u300: device tree support for the timer
authorLinus Walleij <linus.walleij@linaro.org>
Mon, 8 Apr 2013 08:50:11 +0000 (10:50 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Fri, 31 May 2013 09:24:44 +0000 (11:24 +0200)
commit5a5056cccfb0479f52a0464a6b371b441c84aa0c
tree38c7a3edd27425a05eb4bfecfe9d5ef144f699d8
parent3c96d8ea8101936959dede664ac7b97b30fafbe8
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>
Documentation/devicetree/bindings/timer/stericsson-u300-apptimer.txt [new file with mode: 0644]
arch/arm/Kconfig
arch/arm/mach-u300/timer.c
arch/arm/mach-u300/timer.h