Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp3301156pxk; Mon, 7 Sep 2020 08:58:44 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxwspVIqyYMQG1PIhADGZBC+QAZoTAoH/5iC/v8lWDnBUmk7P3Zf5HtC85A40F/evPzD+lK X-Received: by 2002:a17:906:c34d:: with SMTP id ci13mr21165665ejb.356.1599494324455; Mon, 07 Sep 2020 08:58:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1599494324; cv=none; d=google.com; s=arc-20160816; b=ajDF0X6AA27P6h14uG78GMo3Ndp1VjiM40P1S1DfHXRC1XL1sliQf2erCY8i1G3OFN E9ASINPFkjsW3/vcYGnfEPXU7W1woLdzfbYoh30kflWy2/3AAhC/ONgSxoLozvJxCfHW kmBGkBAeJ93aFKuiLohGfAxDzjFRpYFXy2z/jlXVa12WvYfEBtkbsechuutB46SjZ0R6 DfRqsNOSz4DGqKlRdXVQ9DRV36mIk+SVbAQGsUUJKf1UyI4iD1sqkItBheWy3DRSHJHM Fq4JbfTJ0H9TfQLcFgLnXWc5PdVOvF0bafMQbr2p4dFH0xRfM3egZ7a5YuoiDrv05Tqy /vlg== 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=3uoTTUIuroZECqeWPL8rFfQT4P7sERWOLt3P+omXDQU=; b=WBtWWhGC3inDRzkmvNCSscFRazztVUdM36BUVsox7+3ySNnNy62rf93hL+qz3ZdEwX d4WJSCU4N8sKedWb4TWs8ntaY/YSAQ62H6TyxCBNfcPWEh9BmQ/56yE4mcgz63cc/+l6 moPePxiJMQ4R93QLr2ZsJDSfJS73hy2J2TVj0VSo/lV6H2GMqkDq4uzA03YfmhX1A0lH EPaBnq2jganmnPOYJ6o8hTziNuVdqKGIIUoXi7ZXwyLygm3fn7L4cmyWmgJA5Ta91jhH BGXT6cnnx1C8YguBleuaJocA876SGeYi+iRqqJiBXfzT9GcOzzZsE6hIhB9kJYEE8El4 GbBA== 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 z30si10507851edi.337.2020.09.07.08.58.22; Mon, 07 Sep 2020 08:58:44 -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 S1730254AbgIGP5U (ORCPT + 99 others); Mon, 7 Sep 2020 11:57:20 -0400 Received: from relmlor1.renesas.com ([210.160.252.171]:2792 "EHLO relmlie5.idc.renesas.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1730204AbgIGP4f (ORCPT ); Mon, 7 Sep 2020 11:56:35 -0400 X-IronPort-AV: E=Sophos;i="5.76,402,1592838000"; d="scan'208";a="56587380" Received: from unknown (HELO relmlir6.idc.renesas.com) ([10.200.68.152]) by relmlie5.idc.renesas.com with ESMTP; 08 Sep 2020 00:56:34 +0900 Received: from localhost.localdomain (unknown [10.226.36.204]) by relmlir6.idc.renesas.com (Postfix) with ESMTP id ABCF6400E4EF; Tue, 8 Sep 2020 00:56:32 +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 , Biju Das , Prabhakar Subject: [PATCH v2 2/3] ARM: dts: r8a7742-iwg21d-q7: Add can1 support to carrier board Date: Mon, 7 Sep 2020 16:55:40 +0100 Message-Id: <20200907155541.2011-3-prabhakar.mahadev-lad.rj@bp.renesas.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200907155541.2011-1-prabhakar.mahadev-lad.rj@bp.renesas.com> References: <20200907155541.2011-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 CAN1 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 818f1a850c62..66881a473d6c 100644 --- a/arch/arm/boot/dts/r8a7742-iwg21d-q7.dts +++ b/arch/arm/boot/dts/r8a7742-iwg21d-q7.dts @@ -198,6 +198,13 @@ }; }; +&can1 { + pinctrl-0 = <&can1_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"; }; + can1_pins: can1 { + groups = "can1_data_b"; + function = "can1"; + }; + i2c2_pins: i2c2 { groups = "i2c2_b"; function = "i2c2"; -- 2.17.1