2014-03-06 08:09:30 +08:00
|
|
|
From fdc4530902ed845fc0f31b9bbcc45e05fefe21da Mon Sep 17 00:00:00 2001
|
2014-02-05 16:42:28 +08:00
|
|
|
From: Hans de Goede <hdegoede@redhat.com>
|
|
|
|
Date: Sun, 1 Dec 2013 22:40:34 +0100
|
|
|
|
Subject: [PATCH] ARM: dts: sun7i: Add arch timers
|
|
|
|
|
|
|
|
Note this requires a new enough uboot, otherwise things won't work, ie:
|
|
|
|
|
|
|
|
https://github.com/jwrdegoede/u-boot-sunxi/commits/sunxi-next
|
|
|
|
or:
|
|
|
|
http://xenbits.xen.org/gitweb/?p=people/ianc/u-boot.git;a=shortlog;h=refs/heads/devel/sunxi-psci
|
|
|
|
|
|
|
|
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
|
|
|
|
---
|
|
|
|
arch/arm/boot/dts/sun7i-a20.dtsi | 8 ++++++++
|
|
|
|
1 file changed, 8 insertions(+)
|
|
|
|
|
2014-03-06 08:09:30 +08:00
|
|
|
diff --git a/arch/arm/boot/dts/sun7i-a20.dtsi b/arch/arm/boot/dts/sun7i-a20.dtsi
|
|
|
|
index f4ecd79..fa2ef07 100644
|
2014-02-05 16:42:28 +08:00
|
|
|
--- a/arch/arm/boot/dts/sun7i-a20.dtsi
|
|
|
|
+++ b/arch/arm/boot/dts/sun7i-a20.dtsi
|
2014-03-06 08:09:30 +08:00
|
|
|
@@ -370,6 +370,14 @@
|
2014-02-05 16:42:28 +08:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
+ timer {
|
|
|
|
+ compatible = "arm,armv7-timer";
|
|
|
|
+ interrupts = <1 13 0xf08>,
|
|
|
|
+ <1 14 0xf08>,
|
|
|
|
+ <1 11 0xf08>,
|
|
|
|
+ <1 10 0xf08>;
|
|
|
|
+ };
|
|
|
|
+
|
|
|
|
soc@01c00000 {
|
|
|
|
compatible = "simple-bus";
|
|
|
|
#address-cells = <1>;
|
2014-03-06 08:09:30 +08:00
|
|
|
--
|
|
|
|
1.8.5.5
|
|
|
|
|