Re: [PATCH 2/2] ARM: dts: armada-38x: Add arm_global_timer node

Gregory CLEMENT
2017-08-03T13:14:59Z

Hi Marcin,

On mar., août 01 2017, Marcin Wojtas <mw@semihalf.com> wrote:

> Since generic Cortex-A9 global timer is available after adding
> it to compilation, enable its node in armada-38x.dtsi.
>
> Signed-off-by: Marcin Wojtas <mw@semihalf.com>

Applied on mvebu/dt

Thanks,

Gregory

> ---
> arch/arm/boot/dts/armada-38x.dtsi | 7 +++++++
> 1 file changed, 7 insertions(+)
>
> diff --git a/arch/arm/boot/dts/armada-38x.dtsi b/arch/arm/boot/dts/armada-38x.dtsi
> index af31f5d..7ff0811e 100644
> --- a/arch/arm/boot/dts/armada-38x.dtsi
> +++ b/arch/arm/boot/dts/armada-38x.dtsi
> @@ -154,6 +154,13 @@
> reg = <0xc000 0x58>;
> };
>
> + timer@c200 {
> + compatible = "arm,cortex-a9-global-timer";
> + reg = <0xc200 0x20>;
> + interrupts = <GIC_PPI 11 (IRQ_TYPE_EDGE_RISING | GIC_CPU_MASK_SIMPLE(2))>;
> + clocks = <&coreclk 2>;
> + };
> +
> timer@c600 {
> compatible = "arm,cortex-a9-twd-timer";
> reg = <0xc600 0x20>;
> --
> 1.8.3.1
>

--
Gregory Clement, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.