From 03d5835bca576f8273164c54dadce909feb24c51 Mon Sep 17 00:00:00 2001 From: zbb Date: Wed, 20 Jan 2016 13:40:54 +0000 Subject: [PATCH] Add global mpcore timer node to Armada 38x DTS Changes: - global mpcore timer dts node added - required by driver 'clock-frequency' property added Reviewed by: ian Obtained from: Semihalf Sponsored by: Stormshield Submitted by: Bartosz Szczepanek Differential revision: https://reviews.freebsd.org/D4213 --- sys/boot/fdt/dts/arm/armada-38x.dtsi | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/sys/boot/fdt/dts/arm/armada-38x.dtsi b/sys/boot/fdt/dts/arm/armada-38x.dtsi index 13019709e293..a5d1ff14d446 100644 --- a/sys/boot/fdt/dts/arm/armada-38x.dtsi +++ b/sys/boot/fdt/dts/arm/armada-38x.dtsi @@ -152,10 +152,19 @@ reg = <0xc000 0x58>; }; + timer@c200 { + compatible = "arm,cortex-a9-global-timer"; + reg = <0xc200 0x20>; + interrupts = ; + clock-frequency = <800000000>; + clocks = <&coreclk 2>; + }; + timer@c600 { compatible = "arm,cortex-a9-twd-timer"; reg = <0xc600 0x20>; interrupts = ; + clock-frequency = <800000000>; clocks = <&coreclk 2>; };