From patchwork Tue Dec 30 19:28:34 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rob Herring X-Patchwork-Id: 5552941 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 D7E139F1BF for ; Tue, 30 Dec 2014 19:33:30 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 01B78200FE for ; Tue, 30 Dec 2014 19:33:30 +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 2F4F3200DC for ; Tue, 30 Dec 2014 19:33:29 +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 1Y62VX-0006vu-Vq; Tue, 30 Dec 2014 19:31:07 +0000 Received: from mail-oi0-x22b.google.com ([2607:f8b0:4003:c06::22b]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1Y62Tt-0005BN-C5 for linux-arm-kernel@lists.infradead.org; Tue, 30 Dec 2014 19:29:26 +0000 Received: by mail-oi0-f43.google.com with SMTP id i138so28951590oig.2 for ; Tue, 30 Dec 2014 11:29:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=WB9SO5kc+QrZLKpGdqymgGc8ZGOQ5zF5TBuIwTxB+Xk=; b=QJT1/gDo3Cy+Z4LCkjKEdEdJGVVm+CMLF2oGAx8DSHh/Uigvoac8MWIb2sHdjHJUsZ xUnLpmLrYyFXiCJRO8UDpwCXktTp/2bd1ds7Py+odz7vrLhIZOshnIm2NdFFjShUvT0/ 7fkZb9wL/srtWxSr4JqAFl9M0j6r7kiWHZO0bqWHmNZ2B7QLWy+kfpAvLwrv10lRy72B 2070LqaTPgHUFpQoiUTwRPAdon4yBfTIm0BQHuokf+LFPWhHmvFSotp814CU/IUbaddu kjxKiDi4bvKq61Iji7DFjOgFIrdU7So00fFmafSRZIzQNYI03HmpLw9U5DpyATH10FwD hEow== X-Received: by 10.182.126.137 with SMTP id my9mr37166642obb.41.1419967744484; Tue, 30 Dec 2014 11:29:04 -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 e3sm20469216oib.27.2014.12.30.11.29.02 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 30 Dec 2014 11:29:03 -0800 (PST) From: Rob Herring To: linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org Subject: [PATCH 5/9] dts: versatile: add sysregs nodes Date: Tue, 30 Dec 2014 13:28:34 -0600 Message-Id: <1419967718-26909-6-git-send-email-robherring2@gmail.com> X-Mailer: git-send-email 2.1.0 In-Reply-To: <1419967718-26909-1-git-send-email-robherring2@gmail.com> References: <1419967718-26909-1-git-send-email-robherring2@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20141230_112925_510130_2488783D X-CRM114-Status: UNSURE ( 9.33 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -0.6 (/) Cc: Peter Maydell , Russell King , Rob Herring , Linus Walleij , arm@kernel.org, Bjorn Helgaas 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_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, 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 From: Rob Herring The Versatile boards have the same sysregs as other ARM Ltd boards. Add the nodes in preparation to enable support for 24MHz counter as sched_clock and MMC card detect and write protect support. Signed-off-by: Rob Herring Cc: Russell King Cc: Linus Walleij Nacked-by: Linus Walleij --- arch/arm/boot/dts/versatile-ab.dts | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/arch/arm/boot/dts/versatile-ab.dts b/arch/arm/boot/dts/versatile-ab.dts index 27d0d9c..62f04b0 100644 --- a/arch/arm/boot/dts/versatile-ab.dts +++ b/arch/arm/boot/dts/versatile-ab.dts @@ -252,6 +252,29 @@ #size-cells = <1>; ranges = <0 0x10000000 0x10000>; + sysreg@0 { + compatible = "arm,vexpress-sysreg"; + reg = <0x00000 0x1000>; + + v2m_led_gpios: sys_led@08 { + compatible = "arm,vexpress-sysreg,sys_led"; + gpio-controller; + #gpio-cells = <2>; + }; + + v2m_mmc_gpios: sys_mci@48 { + compatible = "arm,vexpress-sysreg,sys_mci"; + gpio-controller; + #gpio-cells = <2>; + }; + + v2m_flash_gpios: sys_flash@4c { + compatible = "arm,vexpress-sysreg,sys_flash"; + gpio-controller; + #gpio-cells = <2>; + }; + }; + aaci@4000 { compatible = "arm,primecell"; reg = <0x4000 0x1000>;