]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commitdiff
ARM: ux500: Add a DT node for the Nomadik System Timer (MTU0)
authorLee Jones <lee.jones@linaro.org>
Wed, 18 Sep 2013 08:54:07 +0000 (09:54 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Thu, 26 Sep 2013 09:05:13 +0000 (11:05 +0200)
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>
arch/arm/boot/dts/ste-dbx5x0.dtsi

index 80b0304dd441880366f5b1b560faf8670ca709ef..c417cb8a24ab593e6bcaaf4f3a0f5b3399708842 100644 (file)
@@ -43,6 +43,7 @@
                        interrupts = <0 7 IRQ_TYPE_LEVEL_HIGH>;
                };
 
+
                clocks {
                        compatible = "stericsson,u8500-clks";
 
                        };
                };
 
+               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>;