[PATCH 2/2] ARM: dts: Use architected timer on Exynos 5410

Chanwoo Choi cw00.choi at samsung.com
Tue Oct 6 01:33:54 PDT 2015


Hi Pavel,

On 2015년 10월 06일 17:24, Pavel Fedin wrote:
> This switches the kernel to timer accesses using CP15, allowing to use
> KVM virtualization.
> 
> Signed-off-by: Pavel Fedin <p.fedin at samsung.com>
> ---
>  arch/arm/boot/dts/exynos5410.dtsi | 11 +++++++++++
>  1 file changed, 11 insertions(+)
> 
> diff --git a/arch/arm/boot/dts/exynos5410.dtsi b/arch/arm/boot/dts/exynos5410.dtsi
> index d8de015..c14f100 100644
> --- a/arch/arm/boot/dts/exynos5410.dtsi
> +++ b/arch/arm/boot/dts/exynos5410.dtsi
> @@ -138,6 +138,17 @@
>  						<10 &gic 0 130 0>,
>  						<11 &gic 0 131 0>;
>  			};
> +
> +			arch_timer {
> +				compatible = "arm,armv7-timer";
> +				interrupt-parent = <&gic>;

You don't need to add 'interrupt-parent' because exynos5410.dtsi already includes
it on top.

> +				interrupts = <1 13 0xf08>,
> +						<1 14 0xf08>,
> +						<1 11 0xf08>,
> +						<1 10 0xf08>;
> +				clock-frequency = <24000000>;
> +			};
> +
>  		};
>  
>  		sysram at 02020000 {
> 

Thanks,
Chanwoo Choi




More information about the linux-arm-kernel mailing list