From patchwork Mon Aug 29 20:11:26 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sergei Shtylyov X-Patchwork-Id: 9304415 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 044296077C for ; Mon, 29 Aug 2016 20:13:23 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E9085288E2 for ; Mon, 29 Aug 2016 20:13:22 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id DD69D28989; Mon, 29 Aug 2016 20:13:22 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.1 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_MED,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 9FB25288E2 for ; Mon, 29 Aug 2016 20:13:22 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.85_2 #1 (Red Hat Linux)) id 1beSuT-0006he-Pd; Mon, 29 Aug 2016 20:11:57 +0000 Received: from mail-lf0-x229.google.com ([2a00:1450:4010:c07::229]) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1beSuO-0006h2-8X for linux-arm-kernel@lists.infradead.org; Mon, 29 Aug 2016 20:11:53 +0000 Received: by mail-lf0-x229.google.com with SMTP id l89so108896056lfi.1 for ; Mon, 29 Aug 2016 13:11:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cogentembedded-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:organization:user-agent :in-reply-to:references:mime-version:content-transfer-encoding; bh=cYIRovm943kaMvKV/NDE0yGXbDTFavSMHCELWhqD1Vw=; b=eTXqei3FjZzjzxNSsH1GCV1NoVMCPyQ6YO2V+nTArSf7swIpgmoc0+QXEZYyBz6cVf W1UGJ8/FdA88tLPPSk6xM2IvgCyKzs3GIHhkJrbxcG7R0d4gpQKTbeervKBbq4KT7ag4 UMUZTmuErKtyBqoQ5glMu/VGrWaRsD6BGOu99LUAvPFSGp8B/vnncYKYgou9W828xLUM vV4/YWgP/xCcGOK97xWW2azOn/6OGyFl18Y1arc2LPCBxdOXQOdQ+HqxPmUbJbtqSRe9 WNj4ehutRK+S0SvY82RnvOn8q2p2Bhd+7+aWGGnHPZxXzaPNGKsvB6dYVnFjQpkehMPx 05+A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:organization :user-agent:in-reply-to:references:mime-version :content-transfer-encoding; bh=cYIRovm943kaMvKV/NDE0yGXbDTFavSMHCELWhqD1Vw=; b=YJK7rI0bkgYoHYgBTotpa1Ifg0Rrx61HfNhp+EvyjZDHNKNF2Ub1v/xQuMag5LYoqz B5FPKc+5Euwx23BLLvA791hNoI+u7d+/mH3r1UNrfudir9D1twiAnCG77lsRHCFgGnZ4 cYvtMXy5JjkaFBP+MbP3kR+N8X31S6rm7LuCfgvsl9WeGg8z4g1iFRw651axIqkv4iT/ +ubGQxPIXz8ipjcnC2HAQPqojRtKbvD7J/7wdqrFOSJnKuDT13rKiYevdz28sO4UAP9u bdZVOohrjT24sMYhNJM0SKqDjN10VaxT/PajqznwJPIRnEtIkGItZ0PJGHLlMeocj5o5 7YeA== X-Gm-Message-State: AE9vXwMH6wXd43KZsZP17eD6xSXWqlRr0/H8dlthGqCJTtjjVy22/7Xq5lJZzHp1y0sz3Q== X-Received: by 10.46.69.194 with SMTP id s185mr5501465lja.29.1472501489208; Mon, 29 Aug 2016 13:11:29 -0700 (PDT) Received: from wasted.cogentembedded.com ([31.173.80.103]) by smtp.gmail.com with ESMTPSA id s2sm6813065lja.35.2016.08.29.13.11.27 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 29 Aug 2016 13:11:28 -0700 (PDT) From: Sergei Shtylyov To: horms@verge.net.au, linux-renesas-soc@vger.kernel.org, robh+dt@kernel.org, mark.rutland@arm.com, devicetree@vger.kernel.org Subject: [PATCH] ARM: dts: wheat: add CAN support Date: Mon, 29 Aug 2016 23:11:26 +0300 Message-ID: <5729004.lSWLzbWbOW@wasted.cogentembedded.com> Organization: Cogent Embedded Inc. User-Agent: KMail/4.14.10 (Linux/4.6.6-200.fc23.x86_64; KDE/4.14.20; x86_64; ; ) In-Reply-To: <34968644.DhifNderY8@wasted.cogentembedded.com> References: <34968644.DhifNderY8@wasted.cogentembedded.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160829_131152_600299_AF36F0E6 X-CRM114-Status: UNSURE ( 9.65 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux@arm.linux.org.uk, magnus.damm@gmail.com, linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Define the Wheat board dependent part of the CAN0/1 device nodes... Based on the original (and large) patch by Vladimir Barinov . Signed-off-by: Sergei Shtylyov --- This patch is against the 'renesas-devel-20160829-v4.8-rc4' of Simon Horman's 'renesas.git' repo. arch/arm/boot/dts/r8a7792-wheat.dts | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) Index: renesas/arch/arm/boot/dts/r8a7792-wheat.dts =================================================================== --- renesas.orig/arch/arm/boot/dts/r8a7792-wheat.dts +++ renesas/arch/arm/boot/dts/r8a7792-wheat.dts @@ -76,6 +76,16 @@ function = "lbsc"; }; }; + + can0_pins: can0 { + groups = "can0_data"; + function = "can0"; + }; + + can1_pins: can1 { + groups = "can1_data"; + function = "can1"; + }; }; &scif0 { @@ -83,4 +93,18 @@ pinctrl-names = "default"; status = "okay"; +}; + +&can0 { + pinctrl-0 = <&can0_pins>; + pinctrl-names = "default"; + + status = "okay"; +}; + +&can1 { + pinctrl-0 = <&can1_pins>; + pinctrl-names = "default"; + + status = "okay"; };