Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp3028662pxa; Tue, 25 Aug 2020 09:31:16 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwOLz4BMdGmQSqiVa4JIljo2SIXlw2RLOGP4Zyjhfahl1dHFp1GKKtT66BZn/nndlgWQcIo X-Received: by 2002:a50:ee07:: with SMTP id g7mr1619469eds.184.1598373075996; Tue, 25 Aug 2020 09:31:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1598373075; cv=none; d=google.com; s=arc-20160816; b=WvvVxpkxN+Y9oQpyfLHW6hzc0V656MNsa0RSSO5ACTQIFr9TWxVthxFT4iH9HB6tlj hUpvGq0WfWLY5c5pEy+aGRxlObdSCaCXAYLibmeYXwg+kvrDThUH7k1RzWr3qsqyIij9 KMxa6999wVGUXYJefiK+QNZkh5gp95L7N3/5cH5vaFL5eMAiGcaMAaUFVOovLlGwstky 7PrZCcP0MEc6xpnJzhGBGAXEa+gVskhaqFBW0OhQmsO8vLZvrPl12MnQO5JDw34dg81w DdSL5J+khcZPp5yGKJC4tcneD0hTa8lWcHBHdOpLDDcKS3b/SzzLwH5wYqdzzkgvKVV9 7IyQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from; bh=V6LhAsjyE2gxwftYAmlmn4MDPclM2aUIcxMjsk/LLzw=; b=fLCUygGCgp6FcjManKBCuwKSKqYszyIoH9Kxb955WSkJRwCS9qqMlZL0W6qIbicHj7 oZMpl3WA90WU9g5cNYHTmxD65+QcVE+OXCvCIjxxITBrKZKJ/02Wa0Far/Hc+aad4YXK xwejGZBt8yODEfeUloI62hkaBvivO8rNfzADzasVeery0qQO2aswyR1IXFjyrNzvtBYr qWGDSazCzYkdfoKsQPmJtmuk6yCEm+QABo6yiWS+97Mle56tTyjsDzDdjmI1fBuB0qmd wKYfA0XZsQresrozjyNwB5Nj8F+SlXGDvvaNX3eBp8M2BqSBMMVa7cuDuW7Rh2s3drvc Exmg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id v23si3823498ejg.705.2020.08.25.09.30.52; Tue, 25 Aug 2020 09:31:15 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727073AbgHYQ2p (ORCPT + 99 others); Tue, 25 Aug 2020 12:28:45 -0400 Received: from relmlor2.renesas.com ([210.160.252.172]:21607 "EHLO relmlie6.idc.renesas.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726940AbgHYQ2d (ORCPT ); Tue, 25 Aug 2020 12:28:33 -0400 X-IronPort-AV: E=Sophos;i="5.76,353,1592838000"; d="scan'208";a="55277839" Received: from unknown (HELO relmlir6.idc.renesas.com) ([10.200.68.152]) by relmlie6.idc.renesas.com with ESMTP; 26 Aug 2020 01:28:32 +0900 Received: from localhost.localdomain (unknown [10.226.36.204]) by relmlir6.idc.renesas.com (Postfix) with ESMTP id 215F440175FB; Wed, 26 Aug 2020 01:28:30 +0900 (JST) From: Lad Prabhakar To: Geert Uytterhoeven , Magnus Damm , Rob Herring , linux-renesas-soc@vger.kernel.org, devicetree@vger.kernel.org Cc: linux-kernel@vger.kernel.org, Lad Prabhakar , Prabhakar Subject: [PATCH 3/4] ARM: dts: r8a7742-iwg21d-q7: Add can0 support to carrier board Date: Tue, 25 Aug 2020 17:27:17 +0100 Message-Id: <20200825162718.5838-4-prabhakar.mahadev-lad.rj@bp.renesas.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200825162718.5838-1-prabhakar.mahadev-lad.rj@bp.renesas.com> References: <20200825162718.5838-1-prabhakar.mahadev-lad.rj@bp.renesas.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patch enables CAN0 interface exposed through connector J20 on the carrier board. Signed-off-by: Lad Prabhakar Reviewed-by: Chris Paterson --- arch/arm/boot/dts/r8a7742-iwg21d-q7.dts | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/arch/arm/boot/dts/r8a7742-iwg21d-q7.dts b/arch/arm/boot/dts/r8a7742-iwg21d-q7.dts index e709a132f2f7..070fc9729b39 100644 --- a/arch/arm/boot/dts/r8a7742-iwg21d-q7.dts +++ b/arch/arm/boot/dts/r8a7742-iwg21d-q7.dts @@ -198,6 +198,13 @@ }; }; +&can0 { + pinctrl-0 = <&can0_pins>; + pinctrl-names = "default"; + + status = "okay"; +}; + &cmt0 { status = "okay"; }; @@ -214,6 +221,15 @@ }; }; +&gpio1 { + can-trx-en-gpio{ + gpio-hog; + gpios = <28 GPIO_ACTIVE_HIGH>; + output-low; + line-name = "can-trx-en-gpio"; + }; +}; + &hsusb { pinctrl-0 = <&usb0_pins>; pinctrl-names = "default"; @@ -287,6 +303,11 @@ function = "tpu0"; }; + can0_pins: can0 { + groups = "can0_data_d"; + function = "can0"; + }; + i2c2_pins: i2c2 { groups = "i2c2_b"; function = "i2c2"; -- 2.17.1