From patchwork Wed Jul 30 22:04:16 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sergei Shtylyov X-Patchwork-Id: 4651941 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 D3C5C9F2B8 for ; Wed, 30 Jul 2014 22:04:22 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 1DD00201BC for ; Wed, 30 Jul 2014 22:04:22 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 46EEA201BB for ; Wed, 30 Jul 2014 22:04:21 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752247AbaG3WEU (ORCPT ); Wed, 30 Jul 2014 18:04:20 -0400 Received: from mail-la0-f52.google.com ([209.85.215.52]:54811 "EHLO mail-la0-f52.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751821AbaG3WEU (ORCPT ); Wed, 30 Jul 2014 18:04:20 -0400 Received: by mail-la0-f52.google.com with SMTP id e16so1381522lan.39 for ; Wed, 30 Jul 2014 15:04:18 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:organization:to:subject:date:user-agent:cc :references:in-reply-to:mime-version:content-type :content-transfer-encoding:message-id; bh=m0R5uphUy+PyhPMCWXxtt9XBxDPDNxSo+nI2/NNejoc=; b=NRHvLgSEhi1Jv/umUv5wJxIGeYUDE2juack2V598JcIesre3NpqiVo6QvEJzSXF7Qb i9LUF+9t23vosqY70D7/nhv5z+66HZZvKex54QHI8jFFwhnVVRPbAz7g3ekoR8xrQ02D l7c3Xy8ov9LMdZxfQ3mFXhqGZSm7ukE3LZStW6WxfBXLmm/whPVN23/fQidva47GQF5L F8hd5UaqcuaEiSL6wzP/CeX9UurmjMp5P1p9mVZcy7cRGKrOBGur003wO8BAxHt/EShk JgbyxfQdBvtr+ipME+4IFipqYxPchglfkT/gEesbIep1IsuxBhBlkfmoOYfOFsMUo7Fd PPwQ== X-Gm-Message-State: ALoCoQlbBQxnBYmuzpzdRC2Iv9PSw5WOpT0NadUQw2CSgIfUPVXdc4F92NvdPxP/tDZ+2B1Xtb11 X-Received: by 10.112.73.164 with SMTP id m4mr7164096lbv.3.1406757858490; Wed, 30 Jul 2014 15:04:18 -0700 (PDT) Received: from wasted.cogentembedded.com (ppp24-21.pppoe.mtu-net.ru. [81.195.24.21]) by mx.google.com with ESMTPSA id vu1sm5188158lbb.41.2014.07.30.15.04.16 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Wed, 30 Jul 2014 15:04:17 -0700 (PDT) From: Sergei Shtylyov Organization: Cogent Embedded To: horms@verge.net.au Subject: [PATCH v3 2/3] ARM: shmobile: r8a7791: add CAN DT support Date: Thu, 31 Jul 2014 02:04:16 +0400 User-Agent: KMail/1.13.5 (Linux/2.6.32.26-175.fc12.i686.PAE; KDE/4.4.5; i686; ; ) Cc: linux-sh@vger.kernel.org, robh+dt@kernel.org, pawel.moll@arm.com, mark.rutland@arm.com, ijc+devicetree@hellion.org.uk, galak@codeaurora.org, devicetree@vger.kernel.org, magnus.damm@gmail.com, linux@arm.linux.org.uk, linux-arm-kernel@lists.infradead.org References: <201407310158.15446.sergei.shtylyov@cogentembedded.com> In-Reply-To: <201407310158.15446.sergei.shtylyov@cogentembedded.com> MIME-Version: 1.0 Message-Id: <201407310204.17423.sergei.shtylyov@cogentembedded.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=-7.6 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, 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 Define the generic R8A7791 parts of the CAN0/1 device nodes. Signed-off-by: Sergei Shtylyov --- Changes in version 3: - added 2 more CAN clocks along with "clock-names" property in the CAN0/1 device nodes; - refreshed the patch. Changes in version 2: - fixed the "compatible" property in the CAN device nodes. arch/arm/boot/dts/r8a7791.dtsi | 20 ++++++++++++++++++++ 1 file changed, 20 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 Index: renesas/arch/arm/boot/dts/r8a7791.dtsi =================================================================== --- renesas.orig/arch/arm/boot/dts/r8a7791.dtsi +++ renesas/arch/arm/boot/dts/r8a7791.dtsi @@ -550,6 +550,26 @@ status = "disabled"; }; + can0: can@e6e80000 { + compatible = "renesas,can-r8a7791"; + reg = <0 0xe6e80000 0 0x1000>; + interrupts = <0 186 IRQ_TYPE_LEVEL_HIGH>; + clocks = <&mstp9_clks R8A7791_CLK_RCAN0>, + <&cpg_clocks R8A7791_CLK_RCAN>, <&can_clk>; + clock-names = "clkp1", "clkp2", "can_clk"; + status = "disabled"; + }; + + can1: can@e6e88000 { + compatible = "renesas,can-r8a7791"; + reg = <0 0xe6e88000 0 0x1000>; + interrupts = <0 187 IRQ_TYPE_LEVEL_HIGH>; + clocks = <&mstp9_clks R8A7791_CLK_RCAN1>, + <&cpg_clocks R8A7791_CLK_RCAN>, <&can_clk>; + clock-names = "clkp1", "clkp2", "can_clk"; + status = "disabled"; + }; + clocks { #address-cells = <2>; #size-cells = <2>;