From patchwork Wed Jul 2 22:43:23 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sergei Shtylyov X-Patchwork-Id: 4468321 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 460EABEEAA for ; Wed, 2 Jul 2014 22:43:25 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 72AFF2039E for ; Wed, 2 Jul 2014 22:43:24 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 9B42F20384 for ; Wed, 2 Jul 2014 22:43:23 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753108AbaGBWnX (ORCPT ); Wed, 2 Jul 2014 18:43:23 -0400 Received: from mail-lb0-f170.google.com ([209.85.217.170]:62992 "EHLO mail-lb0-f170.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751226AbaGBWnW (ORCPT ); Wed, 2 Jul 2014 18:43:22 -0400 Received: by mail-lb0-f170.google.com with SMTP id 10so8531389lbg.15 for ; Wed, 02 Jul 2014 15:43:21 -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=p/wuH3HjN5bKlL+GeI1GFslLVve82pz2rccFjNssK3E=; b=Zg2Cg1nX3ruZXhqar5YBb42+8GHaLSnZST+ttg+KHMlJgM4xsDXmXAz0QXbN61M2ev cSnCOcGwNa+kATLJA2DQ0gD1GFBkb4wPiwKFHy3OfhE9rJI9Wt74IDLPX2XM9SipJ/T2 ldpB0aqOa+dIoPTJVdHBuT18UAp4XS193DiSqHp98OTCgX6L/ftoEYTJdhzFdnSs4wxm MjBJPy7x6RyH+aaHvA+taUbvGnnJZ0rvPoxgozGd5L997GrCPvGgRqdDlXaXPHuYfC/O ryeS9QwXHhTZWYZjJUpl8fHhuLR16Exgw8fMMdZpZMxBphXQB2lK68HdgLYu6Pu+Cnya ro0A== X-Gm-Message-State: ALoCoQnF3wlP3yZf+Q0R0xIjdUGaFdiozmI/A6MaqPf4Hc790vxhibWDiZzZ6mPw88nhF0L29Gnp X-Received: by 10.152.19.164 with SMTP id g4mr459034lae.47.1404341001107; Wed, 02 Jul 2014 15:43:21 -0700 (PDT) Received: from wasted.cogentembedded.com (ppp83-237-251-196.pppoe.mtu-net.ru. [83.237.251.196]) by mx.google.com with ESMTPSA id dq7sm12468162lac.32.2014.07.02.15.43.19 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Wed, 02 Jul 2014 15:43:20 -0700 (PDT) From: Sergei Shtylyov Organization: Cogent Embedded To: horms@verge.net.au, 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 Subject: [PATCH 1/2] ARM: shmobile: r8a7791: add CAN DT support Date: Thu, 3 Jul 2014 02:43:23 +0400 User-Agent: KMail/1.13.5 (Linux/2.6.32.26-175.fc12.i686.PAE; KDE/4.4.5; i686; ; ) Cc: magnus.damm@gmail.com, linux@arm.linux.org.uk, linux-arm-kernel@lists.infradead.org References: <201407030239.15921.sergei.shtylyov@cogentembedded.com> In-Reply-To: <201407030239.15921.sergei.shtylyov@cogentembedded.com> MIME-Version: 1.0 Message-Id: <201407030243.25237.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=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, 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 Define the generic R8A7791 parts of the CAN0/1 device nodes. Signed-off-by: Sergei Shtylyov --- arch/arm/boot/dts/r8a7791.dtsi | 16 ++++++++++++++++ 1 file changed, 16 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 @@ -518,6 +518,22 @@ status = "disabled"; }; + can0: can@e6e80000 { + compatible = "renesas,rcar-can"; + reg = <0 0xe6e80000 0 0x1000>; + interrupts = <0 186 IRQ_TYPE_LEVEL_HIGH>; + clocks = <&mstp9_clks R8A7791_CLK_RCAN0>; + status = "disabled"; + }; + + can1: can@e6e88000 { + compatible = "renesas,rcar-can"; + reg = <0 0xe6e88000 0 0x1000>; + interrupts = <0 187 IRQ_TYPE_LEVEL_HIGH>; + clocks = <&mstp9_clks R8A7791_CLK_RCAN1>; + status = "disabled"; + }; + clocks { #address-cells = <2>; #size-cells = <2>;