summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLee Jones <lee.jones@linaro.org>2013-09-18 10:54:07 +0200
committerLinus Walleij <linus.walleij@linaro.org>2013-09-26 11:05:13 +0200
commit8132ed1bb81471b3ced3cdcd7a7f46caff4c2a2f (patch)
treedf95ba66131873fbfad149e1a4ffca88575f1a6e
parentARM: ux500: Supply the TWD Timer clock lookup to the DBX500 DT (diff)
downloadlinux-8132ed1bb81471b3ced3cdcd7a7f46caff4c2a2f.tar.xz
linux-8132ed1bb81471b3ced3cdcd7a7f46caff4c2a2f.zip
ARM: ux500: Add a DT node for the Nomadik System Timer (MTU0)
The MTU0 is required for full booting of the system. The driver has been previously DT:ed and is in use on the Nomadik platform, but we also need to enable it on ux500 based systems. Signed-off-by: Lee Jones <lee.jones@linaro.org> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
-rw-r--r--arch/arm/boot/dts/ste-dbx5x0.dtsi11
1 files changed, 11 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/ste-dbx5x0.dtsi b/arch/arm/boot/dts/ste-dbx5x0.dtsi
index 80b0304dd441..c417cb8a24ab 100644
--- a/arch/arm/boot/dts/ste-dbx5x0.dtsi
+++ b/arch/arm/boot/dts/ste-dbx5x0.dtsi
@@ -43,6 +43,7 @@
interrupts = <0 7 IRQ_TYPE_LEVEL_HIGH>;
};
+
clocks {
compatible = "stericsson,u8500-clks";
@@ -67,6 +68,16 @@
};
};
+ mtu@a03c6000 {
+ /* Nomadik System Timer */
+ compatible = "st,nomadik-mtu";
+ reg = <0xa03c6000 0x1000>;
+ interrupts = <0 4 IRQ_TYPE_LEVEL_HIGH>;
+
+ clocks = <&prcmu_clk PRCMU_TIMCLK>, <&prcc_pclk 6 6>;
+ clock-names = "timclk", "apb_pclk";
+ };
+
timer@a0410600 {
compatible = "arm,cortex-a9-twd-timer";
reg = <0xa0410600 0x20>;