From patchwork Tue Sep 2 09:13:01 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ulrich Hecht X-Patchwork-Id: 4823861 Return-Path: X-Original-To: patchwork-linux-sh@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 9AE309F2ED for ; Tue, 2 Sep 2014 09:13:52 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id A12B320155 for ; Tue, 2 Sep 2014 09:13:51 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 8572F20154 for ; Tue, 2 Sep 2014 09:13:50 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753244AbaIBJNr (ORCPT ); Tue, 2 Sep 2014 05:13:47 -0400 Received: from mail-wi0-f177.google.com ([209.85.212.177]:61380 "EHLO mail-wi0-f177.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753265AbaIBJNq (ORCPT ); Tue, 2 Sep 2014 05:13:46 -0400 Received: by mail-wi0-f177.google.com with SMTP id cc10so7402303wib.10 for ; Tue, 02 Sep 2014 02:13:45 -0700 (PDT) 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=NP8pS4Utg0rehB8OO+0bAmKw1qAONo9Mdt8mCUFI3us=; b=dQZx43A6gYuq7pYbOzj0NR+JBuOiw9+/ftGXjYlgqggm4wfOZVuc87Wh6pnmK6Wmyh BKB++/UX8EgQnRsE4aM1d+1f0UVAye/3GkN7RByYkPQGdURLTupyvQF9aU2TngiRu5Wy kvQwjOn044Usj7MXhiUAIUAuIA3DoY8nBNnvzAC6w1Kq5Zr7oxobzFa5OzkuDmNMKXBp S6bHIxZ9vYIxrmnn6/gBUyI1mvptmidRk18I0bhX1iZG3zVuZwcWr6DznycF8XAAM/NX suy1SvCKy2sw+kRamg4Vqqi7fpS9dEG7tKXJlmKByymruIs+psiM6jydBXg8O0vAcwaM tkpg== X-Received: by 10.194.47.208 with SMTP id f16mr1130665wjn.130.1409649225320; Tue, 02 Sep 2014 02:13:45 -0700 (PDT) Received: from groucho.site ([91.108.183.74]) by mx.google.com with ESMTPSA id h6sm8087525wjb.33.2014.09.02.02.13.43 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 02 Sep 2014 02:13:44 -0700 (PDT) From: Ulrich Hecht To: horms@verge.net.au Cc: linux-sh@vger.kernel.org, mturquette@linaro.org, magnus.damm@gmail.com, Laurent Pinchart , Geert Uytterhoeven , Ulrich Hecht Subject: [PATCH v2 05/10] ARM: shmobile: sh73a0: Add CMT1 device to DT Date: Tue, 2 Sep 2014 11:13:01 +0200 Message-Id: <1409649186-1046-6-git-send-email-ulrich.hecht+renesas@gmail.com> X-Mailer: git-send-email 1.8.4.5 In-Reply-To: <1409649186-1046-1-git-send-email-ulrich.hecht+renesas@gmail.com> References: <1409649186-1046-1-git-send-email-ulrich.hecht+renesas@gmail.com> Sender: linux-sh-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-sh@vger.kernel.org X-Spam-Status: No, score=-8.4 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, RCVD_IN_SBL, RP_MATCHES_RCVD, T_DKIM_INVALID,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 Signed-off-by: Ulrich Hecht Acked-by: Laurent Pinchart --- arch/arm/boot/dts/sh73a0.dtsi | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/arch/arm/boot/dts/sh73a0.dtsi b/arch/arm/boot/dts/sh73a0.dtsi index dad8404..39cb4cf 100644 --- a/arch/arm/boot/dts/sh73a0.dtsi +++ b/arch/arm/boot/dts/sh73a0.dtsi @@ -49,6 +49,18 @@ <0 56 IRQ_TYPE_LEVEL_HIGH>; }; + cmt1: timer@e6138000 { + compatible = "renesas,cmt-48"; + reg = <0xe6138000 0x200>; + interrupts = <0 65 IRQ_TYPE_LEVEL_HIGH>; + clocks = <&mstp3_clks SH73A0_CLK_CMT1>; + clock-names = "fck"; + + renesas,channels-mask = <0x3f>; + + status = "disabled"; + }; + irqpin0: irqpin@e6900000 { compatible = "renesas,intc-irqpin-sh73a0", "renesas,intc-irqpin"; #interrupt-cells = <2>;