From patchwork Tue Dec 16 09:39:41 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Magnus Damm X-Patchwork-Id: 5500101 Return-Path: X-Original-To: patchwork-linux-sh@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id F17C8BEEA8 for ; Tue, 16 Dec 2014 09:37:01 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 3E9D020A1C for ; Tue, 16 Dec 2014 09:37:01 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 522B420A1B for ; Tue, 16 Dec 2014 09:37:00 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751353AbaLPJg7 (ORCPT ); Tue, 16 Dec 2014 04:36:59 -0500 Received: from mail-pa0-f54.google.com ([209.85.220.54]:45029 "EHLO mail-pa0-f54.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751236AbaLPJg6 (ORCPT ); Tue, 16 Dec 2014 04:36:58 -0500 Received: by mail-pa0-f54.google.com with SMTP id fb1so13825600pad.27 for ; Tue, 16 Dec 2014 01:36:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:date:message-id:in-reply-to:references:subject; bh=01HmOVgrEi8Tv5nr0cGWZ5BiV81SsiFp36u/+5NVNsQ=; b=krqWWjo7aDQf1CaCoZusLGVunNhfl6dZwXiIoaKxSm6MlSuMC+uEyNDl9bH4hAO0bZ saTHIy7PCmh02KJpin/KB94HlOaBnJoZvgNPOkzM7tfPPZGqWzr4MgSoGpM02V8zPVz1 ykwaWQqLHdk+vqfnOwDUaYRD+qvQ88Kzs6Q6OTuH6WaLsNp43x/glhWvoQZWJxQE8nEo KBXIA11D4baH0V6hBpEJMU0YFHA9hh2okXOPiEQraYmADoaBGICBRyJYC6qOagIuyHhf J5bMqFAAACB6VAV5Tw4T69pm98ax9kMdTMJlxGN3Bo1TiT4myNt4D8GJqhGpysPG2/CI pOOw== X-Received: by 10.66.254.232 with SMTP id al8mr58740828pad.76.1418722617466; Tue, 16 Dec 2014 01:36:57 -0800 (PST) Received: from [127.0.0.1] (s214090.ppp.asahi-net.or.jp. [220.157.214.90]) by mx.google.com with ESMTPSA id eo4sm318373pbb.87.2014.12.16.01.36.54 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 16 Dec 2014 01:36:56 -0800 (PST) From: Magnus Damm To: Magnus Damm , linux-sh@vger.kernel.org Cc: Magnus Damm , horms@verge.net.au Date: Tue, 16 Dec 2014 18:39:41 +0900 Message-Id: <20141216093941.14252.13361.sendpatchset@w520> In-Reply-To: <20141216093921.14252.42200.sendpatchset@w520> References: <20141216093921.14252.42200.sendpatchset@w520> Subject: [PATCH 02/02] ARM: shmobile: r8a7779: Add TWD device to DTS Sender: linux-sh-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-sh@vger.kernel.org X-Spam-Status: No, score=-6.8 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, 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: Magnus Damm Now when r8a7779 CCF is in place we can hook up the ARM Cortex-A9 TWD timer via DTS. Signed-off-by: Magnus Damm --- Built on top of renesas-devel-20141216v2-v3.18 No special dependencies arch/arm/boot/dts/r8a7779.dtsi | 9 +++++++++ 1 file changed, 9 insertions(+) -- To unsubscribe from this list: send the line "unsubscribe linux-sh" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html --- 0001/arch/arm/boot/dts/r8a7779.dtsi +++ work/arch/arm/boot/dts/r8a7779.dtsi 2014-12-16 18:19:23.000000000 +0900 @@ -12,6 +12,7 @@ /include/ "skeleton.dtsi" #include +#include #include / { @@ -62,6 +63,14 @@ <0xf0000100 0x100>; }; + timer@f0000600 { + compatible = "arm,cortex-a9-twd-timer"; + reg = <0xf0000600 0x20>; + interrupts = ; + clocks = <&cpg_clocks R8A7779_CLK_ZS>; + }; + gpio0: gpio@ffc40000 { compatible = "renesas,gpio-r8a7779", "renesas,gpio-rcar"; reg = <0xffc40000 0x2c>;