From patchwork Tue Oct 6 08:24:00 2015
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
X-Patchwork-Submitter: Pavel Fedin
X-Patchwork-Id: 7333691
Return-Path:
X-Original-To: patchwork-linux-arm@patchwork.kernel.org
Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org
Received: from mail.kernel.org (mail.kernel.org [198.145.29.136])
by patchwork1.web.kernel.org (Postfix) with ESMTP id F09F89F1D5
for ;
Tue, 6 Oct 2015 08:26:54 +0000 (UTC)
Received: from mail.kernel.org (localhost [127.0.0.1])
by mail.kernel.org (Postfix) with ESMTP id 313FA205EA
for ;
Tue, 6 Oct 2015 08:26:54 +0000 (UTC)
Received: from bombadil.infradead.org (bombadil.infradead.org
[198.137.202.9])
(using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits))
(No client certificate requested)
by mail.kernel.org (Postfix) with ESMTPS id 2CE68204FB
for ;
Tue, 6 Oct 2015 08:26:49 +0000 (UTC)
Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org)
by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux))
id 1ZjNYG-00053j-9f; Tue, 06 Oct 2015 08:24:48 +0000
Received: from mailout3.w1.samsung.com ([210.118.77.13])
by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat
Linux)) id 1ZjNXy-0004lj-61
for linux-arm-kernel@lists.infradead.org;
Tue, 06 Oct 2015 08:24:30 +0000
Received: from eucpsbgm2.samsung.com (unknown [203.254.199.245])
by mailout3.w1.samsung.com
(Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5
2014)) with ESMTP id <0NVS00IEZI05SU40@mailout3.w1.samsung.com> for
linux-arm-kernel@lists.infradead.org;
Tue, 06 Oct 2015 09:24:05 +0100 (BST)
X-AuditID: cbfec7f5-f794b6d000001495-56-561385248405
Received: from eusync4.samsung.com ( [203.254.199.214])
by eucpsbgm2.samsung.com (EUCPMTA) with SMTP id CC.A8.05269.42583165;
Tue, 6 Oct 2015 09:24:04 +0100 (BST)
Received: from fedinw7x64.rnd.samsung.ru ([106.109.131.169])
by eusync4.samsung.com
(Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5
2014)) with ESMTPA id <0NVS00KBMI00MUA0@eusync4.samsung.com>; Tue,
06 Oct 2015 09:24:04 +0100 (BST)
From: Pavel Fedin
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 2/2] ARM: dts: Use architected timer on Exynos 5410
Date: Tue, 06 Oct 2015 11:24:00 +0300
Message-id:
<57f3491726014e3817bdf9988b1aa30436b45e00.1444119342.git.p.fedin@samsung.com>
X-Mailer: git-send-email 2.4.4
In-reply-to:
References:
In-reply-to:
References:
X-Brightmail-Tracker:
H4sIAAAAAAAAA+NgFuplluLIzCtJLcpLzFFi42I5/e/4NV2VVuEwg7nTDSz6H79mttj0+Bqr
xe3LvA7MHi3NPWwem1Z1snlsXlIfwBzFZZOSmpNZllqkb5fAlXFrQz9bwVK2iq+XpjM1MD5l
6WLk5JAQMJE437mRHcIWk7hwbz1bFyMXh5DAUkaJLU3NjBBOG5PEz/cTwDrYBNQlTn/9AGaL
CGhITOl6DNbNLOAh8ejYG1YQW1jAWeJ090JmEJtFQFVi+rarYDW8AtESU7evY4TYJidx5fp0
NhCbU8Bc4v7N20wgtpCAmcTfq59YcYlPYORfwMiwilE0tTS5oDgpPddIrzgxt7g0L10vOT93
EyMkkL7uYFx6zOoQowAHoxIPr8RNoTAh1sSy4srcQ4wSHMxKIrw/uYTDhHhTEiurUovy44tK
c1KLDzFKc7AoifPO3PU+REggPbEkNTs1tSC1CCbLxMEp1cA4KdNm84nM7wf6HhZPZpnocfh0
6WMno4OceT8qdlkudPSY1/P++b/tV2Vnfc24scZdKbJVRH691fpwm9jsxV8czt1fceLMUoWJ
ASWbkqb3pjzWi5Ztmul2qHxT1Pac2/4SlmfPc0bWXNA7wmCbc/+5bMaDJLkbijOvCGmuD7yd
bad0/Ou3LX8XK7EUZyQaajEXFScCAEj9T6YgAgAA
X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3
X-CRM114-CacheID: sfid-20151006_012430_425104_43EE13FE
X-CRM114-Status: GOOD ( 13.85 )
X-Spam-Score: -6.9 (------)
X-BeenThere: linux-arm-kernel@lists.infradead.org
X-Mailman-Version: 2.1.20
Precedence: list
List-Id:
List-Unsubscribe:
,
List-Archive:
List-Post:
List-Help:
List-Subscribe:
,
Cc: Kukjin Kim , Russell King
MIME-Version: 1.0
Sender: "linux-arm-kernel"
Errors-To:
linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org
X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED,
T_RP_MATCHES_RCVD,
UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1
X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org
X-Virus-Scanned: ClamAV using ClamSMTP
This switches the kernel to timer accesses using CP15, allowing to use
KVM virtualization.
Signed-off-by: Pavel Fedin
---
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>;
+ interrupts = <1 13 0xf08>,
+ <1 14 0xf08>,
+ <1 11 0xf08>,
+ <1 10 0xf08>;
+ clock-frequency = <24000000>;
+ };
+
};
sysram@02020000 {