From patchwork Wed Apr 3 10:53:52 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Horman X-Patchwork-Id: 10883447 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id A0CD917E1 for ; Wed, 3 Apr 2019 10:57:58 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 8411F289D1 for ; Wed, 3 Apr 2019 10:57:58 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 77774289DD; Wed, 3 Apr 2019 10:57:58 +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=-5.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 8159E289DA for ; Wed, 3 Apr 2019 10:57:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=+XpUhg63wtP3lfGaIlCnVJpTFASu79phM3wap2AliVE=; b=e09mMZED8LPtsdzGgjqOy+lpzM 4l2Yz47IK5uR6Vfsy7eTvRwOKbDa9x9rDd7L3J8Z53OojrA1YlYcwQHcpvY/e08EWzl06cKC207T5 29axJbiEJvIs9iBU/YABCdeL2CCgb8pr9xMYYaa4kqI1pAZe8MBeZjeSejoM/zJlvbA5ShXSH6HDo wu+yK6+L59OH8nJ0TapY2RBi7+OSCMCLCRROqngFFkaZj/F5xEcvgIIglAqByzHlAYLtwwDywGxyi UrmmEKgDUG3ENSvWMWotEi3SDJM4xL259jTDX/gA3x2Q8UpYc3W59EeSJXL0LDHwdpaPt/xnDng0X uvtl4reg==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1hBdab-0007bX-V7; Wed, 03 Apr 2019 10:57:54 +0000 Received: from kirsty.vergenet.net ([202.4.237.240]) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1hBdZW-0001yZ-QY for linux-arm-kernel@lists.infradead.org; Wed, 03 Apr 2019 10:57:08 +0000 Received: from reginn.horms.nl (watermunt.horms.nl [80.127.179.77]) by kirsty.vergenet.net (Postfix) with ESMTPA id B566925BEDB; Wed, 3 Apr 2019 21:54:14 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=verge.net.au; s=mail; t=1554288855; bh=7alFv6yh5jeoumn4D5fB9Da5mtloqYMIh8JlSQrqnyw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=gZTw0Oa2kYEXUbX6QUr6UDIusQJZHxxT0KRKXfUt+wBYHPLXxdTZwLw9ilOpjzSk4 hFfzGl0zYkVbYZz7KlttKXPEgozSkQVv2fsCtIpOCyCs9dlekasTmSQZW/0JSa7617 r+u8AFRuJsawGGz51E1hBLPKgVbTGhb2KAL1oTDE= Received: by reginn.horms.nl (Postfix, from userid 7100) id E9C9D940480; Wed, 3 Apr 2019 12:54:10 +0200 (CEST) From: Simon Horman To: linux-renesas-soc@vger.kernel.org Subject: [PATCH 09/26] arm64: dts: renesas: cat875: Add CAN support Date: Wed, 3 Apr 2019 12:53:52 +0200 Message-Id: X-Mailer: git-send-email 2.11.0 In-Reply-To: References: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190403_035647_395998_58B760B0 X-CRM114-Status: GOOD ( 10.32 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Fabrizio Castro , Simon Horman , Magnus Damm , linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 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 From: Fabrizio Castro Add CAN support to the CAT875 sub board. Signed-off-by: Fabrizio Castro Reviewed-by: Geert Uytterhoeven Signed-off-by: Simon Horman --- arch/arm64/boot/dts/renesas/cat875.dtsi | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/arch/arm64/boot/dts/renesas/cat875.dtsi b/arch/arm64/boot/dts/renesas/cat875.dtsi index 14db66755a89..aaefc3ae56d5 100644 --- a/arch/arm64/boot/dts/renesas/cat875.dtsi +++ b/arch/arm64/boot/dts/renesas/cat875.dtsi @@ -30,6 +30,18 @@ }; }; +&can0 { + pinctrl-0 = <&can0_pins>; + pinctrl-names = "default"; + status = "okay"; +}; + +&can1 { + pinctrl-0 = <&can1_pins>; + pinctrl-names = "default"; + status = "okay"; +}; + &pciec0 { status = "okay"; }; @@ -41,4 +53,14 @@ function = "avb"; }; }; + + can0_pins: can0 { + groups = "can0_data"; + function = "can0"; + }; + + can1_pins: can1 { + groups = "can1_data"; + function = "can1"; + }; };