Hi Marcin,
 
 On mar., août 01 2017, Marcin Wojtas <[email protected]> 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 <[email protected]>

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.
http://free-electrons.com

Reply via email to