Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 81c48319 authored by Stefan Agner's avatar Stefan Agner Committed by Shawn Guo
Browse files

ARM: dts: vf610: Add ARM Global Timer



Add Global Timer support which is part of the private peripherals
of the Cortex-A5 processor. This Global Timer is compatible with the
Cortex-A9 implementation. It's a 64-bit timer and is clocked by the
peripheral clock, which is typically 133 or 166MHz on Vybrid.

Signed-off-by: default avatarStefan Agner <stefan@agner.ch>
Acked-by: default avatarBill Pringlemeir <bpringlemeir@nbsps.com>
Signed-off-by: default avatarShawn Guo <shawn.guo@freescale.com>
parent 53ec8748
Loading
Loading
Loading
Loading
+8 −0
Original line number Original line Diff line number Diff line
@@ -11,6 +11,7 @@
#include "vf610-pinfunc.h"
#include "vf610-pinfunc.h"
#include <dt-bindings/clock/vf610-clock.h>
#include <dt-bindings/clock/vf610-clock.h>
#include <dt-bindings/interrupt-controller/irq.h>
#include <dt-bindings/interrupt-controller/irq.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>


/ {
/ {
	aliases {
	aliases {
@@ -83,6 +84,13 @@
				      <0x40002100 0x100>;
				      <0x40002100 0x100>;
			};
			};


			global_timer: timer@40002200 {
				compatible = "arm,cortex-a9-global-timer";
				reg = <0x40002200 0x20>;
				interrupts = <GIC_PPI 11 IRQ_TYPE_LEVEL_HIGH>;
				clocks = <&clks VF610_CLK_PLATFORM_BUS>;
			};

			L2: l2-cache@40006000 {
			L2: l2-cache@40006000 {
				compatible = "arm,pl310-cache";
				compatible = "arm,pl310-cache";
				reg = <0x40006000 0x1000>;
				reg = <0x40006000 0x1000>;