From patchwork Wed Jan 28 17:56:32 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rob Herring X-Patchwork-Id: 5728841 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 5AEF09F39D for ; Wed, 28 Jan 2015 17:59:17 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 3F837202FE for ; Wed, 28 Jan 2015 17:59:16 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 776D5202E9 for ; Wed, 28 Jan 2015 17:59:15 +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 1YGWrv-0003FK-JD; Wed, 28 Jan 2015 17:57:35 +0000 Received: from mail-ob0-x232.google.com ([2607:f8b0:4003:c01::232]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1YGWra-0002aF-Ah for linux-arm-kernel@lists.infradead.org; Wed, 28 Jan 2015 17:57:15 +0000 Received: by mail-ob0-f178.google.com with SMTP id uz6so2715727obc.9 for ; Wed, 28 Jan 2015 09:56:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references; bh=3urBhNOgEfSRCTM0WgbVf0TgC/45+JXpiKK5BBjNyLY=; b=RY/IMbkdVrADiiwfJkwbuJY7rq+Wc4DQlheCDjteKy4EaTAjC9gvekEJkmfQ8aL1Cm KBunWI0qQjxQ9S7A3ux5hTibJOF51kGz76g44zTPCFweQTTeopEzkowZOWBVvmGjg9hM PF3wXAty0pgXij+281N48u55oC7yIhiUDDSGcPw4x1o6Q3EfK+cSMmsjkE1dIiM7NshG Z44Jxj3HuIpTtQSJcuFdIBjDd+XAzThwoOQ5Z8ca6vJ3HZVPDWKrK0Eja9LM8ltGk/qP QQ9bgB2MGuBF8EWgBPrLZpVLD14QJCsQBKAsYd28WAk11wZBYy2MQRoFrqt7RTkn2YJm 1Pow== X-Received: by 10.202.54.67 with SMTP id d64mr2755774oia.55.1422467811085; Wed, 28 Jan 2015 09:56:51 -0800 (PST) Received: from rob-laptop.herring.priv (72-48-98-129.dyn.grandenetworks.net. [72.48.98.129]) by mx.google.com with ESMTPSA id y2sm2517468oei.1.2015.01.28.09.56.49 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 28 Jan 2015 09:56:50 -0800 (PST) From: Rob Herring To: Daniel Lezcano , Thomas Gleixner Subject: [PATCH 3/3] dts: versatile: add sysregs node Date: Wed, 28 Jan 2015 11:56:32 -0600 Message-Id: <1422467792-2065-4-git-send-email-robh@kernel.org> X-Mailer: git-send-email 2.1.0 In-Reply-To: <1422467792-2065-1-git-send-email-robh@kernel.org> References: <1422467792-2065-1-git-send-email-robh@kernel.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20150128_095714_459591_EC87B3C7 X-CRM114-Status: UNSURE ( 9.00 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -0.4 (/) Cc: devicetree@vger.kernel.org, Russell King , Rob Herring , Linus Walleij , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , 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.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_MED, T_DKIM_INVALID, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham 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 The Versatile boards have the same sysregs as other ARM Ltd boards. Add the nodes in order to enable support for 24MHz counter as sched_clock. This is a minimal node definition as the existing sub node definition used on VExpress has some issues raised by Linus W. Signed-off-by: Rob Herring Cc: Russell King Cc: Linus Walleij Cc: devicetree@vger.kernel.org Acked-by: Linus Walleij --- arch/arm/boot/dts/versatile-ab.dts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/arch/arm/boot/dts/versatile-ab.dts b/arch/arm/boot/dts/versatile-ab.dts index 27d0d9c..01f4019 100644 --- a/arch/arm/boot/dts/versatile-ab.dts +++ b/arch/arm/boot/dts/versatile-ab.dts @@ -252,6 +252,11 @@ #size-cells = <1>; ranges = <0 0x10000000 0x10000>; + sysreg@0 { + compatible = "arm,versatile-sysreg", "syscon"; + reg = <0x00000 0x1000>; + }; + aaci@4000 { compatible = "arm,primecell"; reg = <0x4000 0x1000>;