From: Lee Jones Date: Wed, 18 Sep 2013 08:54:07 +0000 (+0100) Subject: ARM: ux500: Add a DT node for the Nomadik System Timer (MTU0) X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=8132ed1bb81471b3ced3cdcd7a7f46caff4c2a2f;p=GitHub%2FLineageOS%2FG12%2Fandroid_kernel_amlogic_linux-4.9.git 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 Signed-off-by: Linus Walleij --- 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>;