commit | 5a5056cccfb0479f52a0464a6b371b441c84aa0c | [log] [tgz] |
---|---|---|
author | Linus Walleij <linus.walleij@linaro.org> | Mon Apr 08 10:50:11 2013 +0200 |
committer | Linus Walleij <linus.walleij@linaro.org> | Fri May 31 11:24:44 2013 +0200 |
tree | 38c7a3edd27425a05eb4bfecfe9d5ef144f699d8 | |
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>