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: 4468331 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.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 1A8859F390 for ; Wed, 2 Jul 2014 22:46:00 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 51E6B20384 for ; Wed, 2 Jul 2014 22:45:59 +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 4F2612020A for ; Wed, 2 Jul 2014 22:45:58 +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 1X2TFm-00063G-0B; Wed, 02 Jul 2014 22:43:50 +0000 Received: from mail-la0-f46.google.com ([209.85.215.46]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1X2TFh-0005vy-8B for linux-arm-kernel@lists.infradead.org; Wed, 02 Jul 2014 22:43:47 +0000 Received: by mail-la0-f46.google.com with SMTP id el20so7473457lab.19 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=BSINfrl0RmEVOqxlvhxfSDYeUYvTT+eBeZBxUQDhezo+oXc+wlrdNiIzScMzEVtyhB mFedXDBS4jTvwQ3YPR2AD9ZGt4Csc4LtLyfqMIAbH+dvcLRu8Noulg4lMpxmY3eEg4lH cgyBYVSTa2owaKGmhUQrfT1bFTFxfGPH0oVJlA89nui/vjT57BQNLuCmv45dDJRs+cFn wY6aUYaLii7VYnQD01kKIyswuS2zYgH1Sq6i0QuxZlxGBFZQggEl4bpYubuttCIRm5+w nPk7ZMHE4XrP6MLz998OBAeycVZAbbc1X9iz3ogah1tnEiOcGdhOTgcK60kAUikT2B6u LN5A== X-Gm-Message-State: ALoCoQmio86vT2b8LNNKpghRmuk4ilpsgaBOy9XltM7+BtKyUm3IhcwF31RQPg/9csVdLIr+/ZKp 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; ; ) 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> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140702_154345_473335_CB8D9BAA X-CRM114-Status: GOOD ( 10.36 ) X-Spam-Score: -0.7 (/) Cc: linux@arm.linux.org.uk, magnus.damm@gmail.com, linux-arm-kernel@lists.infradead.org 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: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable 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(+) 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>;