Received: by 2002:a25:b794:0:0:0:0:0 with SMTP id n20csp5153174ybh; Wed, 7 Aug 2019 01:29:50 -0700 (PDT) X-Google-Smtp-Source: APXvYqzsPIGe3QnT4I73rRj0my3tuXPaBrKu4aJ+tCECuA+I/tWIKZPKnfCOM1RMzNr26uFY9bUB X-Received: by 2002:a17:90a:1904:: with SMTP id 4mr7468887pjg.116.1565166590470; Wed, 07 Aug 2019 01:29:50 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1565166590; cv=pass; d=google.com; s=arc-20160816; b=xBnTFwHZPRVVsZ5GhEiDUtzjPfhVP6xWnOCymWmdhsyZmdW7xHhBL6LxTAqlEGGCjR LJHByuRmeUlCJu1EnKWuBvAalxoLxIxoMlepBIJtVr9jpRzc8CcDRpy0GuaDPgjlvKg3 DIKbCXtaw/wV2RQc+OMOjcQqfwGGI6Y/VS4fjwddB4ifCyC47h83Nw8/m+txehnAp7Em zWwI7yhEYwk4aa9vb0VgnGzZWL+/BhuWoRlugiY8aBjKj8C7FLkE6oDBOCcgojiV+P2c Ko759RzkNuBA4AyEFR5GGAPNAUI7RUPm6vuzG+C1A9Hbmj4/dmdwsCXpIMANjENadL+h DSRA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :content-language:accept-language:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:cc:to:from:dkim-signature; bh=II2x/d3X1OgCBvMXJpQl6iOL2YZnBL1UMNd083xtKa8=; b=i270stJFECWL1lxDc5AWHE3pn3+cANgJRxrbBXL0pTfPSX+ijFDjk65V1t1BR1kqkk l6LDjBhzglb8FhJWXCuShRP1FWSoFVKD/uuLTWm5jlHXYV+jisFjZO5dR0cKidjX6WQ7 j2Wi9BQRzTgIjvD/f0Lx1nohZnQbclc0gsckSMFhGptFgDJ2OcIH2vlkTV6vdAnVJ02e 4ICDbxuLleclNgnCip8NZXkSD+v8S97ETCdWrehxGFICTPemFfUIeddT7aE876hsuyfZ BmgDhlirQ2bI35YJHouD+n+x8ezvBI9FGzjF/gasgqBCWJqh5cRnqw3tZ0CNM7spCiKC CxRA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@toradex.com header.s=selector2 header.b="o/JvX343"; arc=pass (i=1 spf=pass spfdomain=toradex.com dkim=pass dkdomain=toradex.com dmarc=pass fromdomain=toradex.com); spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=toradex.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id n75si16989112pjc.27.2019.08.07.01.29.35; Wed, 07 Aug 2019 01:29:50 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@toradex.com header.s=selector2 header.b="o/JvX343"; arc=pass (i=1 spf=pass spfdomain=toradex.com dkim=pass dkdomain=toradex.com dmarc=pass fromdomain=toradex.com); spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=toradex.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728985AbfHGI0V (ORCPT + 99 others); Wed, 7 Aug 2019 04:26:21 -0400 Received: from mail-eopbgr40137.outbound.protection.outlook.com ([40.107.4.137]:35606 "EHLO EUR03-DB5-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1728889AbfHGI0Q (ORCPT ); Wed, 7 Aug 2019 04:26:16 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=JnDloEVYaLBOb3b8caNPeILflphr0d6TWlfXh4A5pUABIpjGkPbf8m1QBuWfrhMbB933C9rtugacMt58jaUjKoYmU0HQgQ/aGHaFa8Ypct1iFzaS2rYGIpLrGI+tkLH4w6YcG3dKLG3ssUR748kaJvAvfMWmtCcPBlEO7WkWL+GQFtKEUF2F5vHTsFj3UmMdXLaGURinUWnID7xUZZZxKV+n6ScAyGRtPufeHEmKIjQ91TixrO9n/CMxl9lVIbEP5kOQLlKHlYTXj7luRDEFfYLgZRuHvMtSmx7DDzVl9ZY5QzmAI7MEAk4te0OZ/j48EdqP5Kth8epwDo/jzKWmuw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=II2x/d3X1OgCBvMXJpQl6iOL2YZnBL1UMNd083xtKa8=; b=Dkaf5Vqa/favQq8DyeNn93OwudSNLW0V2FV/CNw7y6CTvbAmg/J/Wz690h16izf0G5EEx3Ga1oL+9rQox5AqyLWWYCCUBQ00lv75CCGLWHG5Fy2QY/06l4IgF04Ot7m8BIAGsDlGLHgvWJ7P/zQbI38zKTXTi9mja4LCwv3GaRZ8+7jfVPYxxKT8O/mYftcpUYFmqA0z31Z/FHLeH3aKgBQuJBDkqHVZZbP9R6Wb96z85Y6UocvNPaOuUEobrM0JLivFDkDWHQ1VWguS/lbQ4X+zah2dmVe0X3dss4qyas87f4Rm1GtgX5xyZqmP9TKJZZBoEATmGNo78C58B9uY1w== ARC-Authentication-Results: i=1; mx.microsoft.com 1;spf=pass smtp.mailfrom=toradex.com;dmarc=pass action=none header.from=toradex.com;dkim=pass header.d=toradex.com;arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=toradex.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=II2x/d3X1OgCBvMXJpQl6iOL2YZnBL1UMNd083xtKa8=; b=o/JvX343YNt+al6jK7DYba1+XYdVc5CAshYlh2nDMkqT4ik8Jo601AMfiv164W0x8826SotNE6qiIo2fx1jmBjSa4CrQv3k603iHCzY3/FDrblhyfoTECHc5dIMdAe/8TlwhQPqSdb/FRC8npcXzJb6bYcnNbLY4p4k8hFoIpCU= Received: from VI1PR0502MB3965.eurprd05.prod.outlook.com (52.134.17.157) by VI1PR0502MB3614.eurprd05.prod.outlook.com (52.134.7.25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2136.16; Wed, 7 Aug 2019 08:26:12 +0000 Received: from VI1PR0502MB3965.eurprd05.prod.outlook.com ([fe80::8405:5b51:b25d:39a2]) by VI1PR0502MB3965.eurprd05.prod.outlook.com ([fe80::8405:5b51:b25d:39a2%6]) with mapi id 15.20.2157.015; Wed, 7 Aug 2019 08:26:12 +0000 From: Philippe Schenker To: Marcel Ziswiler , Max Krummenacher , "stefan@agner.ch" , "devicetree@vger.kernel.org" , Rob Herring , Shawn Guo , Mark Rutland , =?iso-8859-2?Q?Michal_Vok=E1=E8?= , Fabio Estevam CC: Philippe Schenker , "linux-kernel@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" , Pengutronix Kernel Team , NXP Linux Team , Sascha Hauer Subject: [PATCH v3 03/21] ARM: dts: imx7-colibri: prepare module device tree for FlexCAN Thread-Topic: [PATCH v3 03/21] ARM: dts: imx7-colibri: prepare module device tree for FlexCAN Thread-Index: AQHVTPnFye4S12f/ck6VNd11DuJmzQ== Date: Wed, 7 Aug 2019 08:26:11 +0000 Message-ID: <20190807082556.5013-4-philippe.schenker@toradex.com> References: <20190807082556.5013-1-philippe.schenker@toradex.com> In-Reply-To: <20190807082556.5013-1-philippe.schenker@toradex.com> Accept-Language: en-GB, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: AM4PR0101CA0044.eurprd01.prod.exchangelabs.com (2603:10a6:200:41::12) To VI1PR0502MB3965.eurprd05.prod.outlook.com (2603:10a6:803:23::29) authentication-results: spf=none (sender IP is ) smtp.mailfrom=philippe.schenker@toradex.com; x-ms-exchange-messagesentrepresentingtype: 1 x-mailer: git-send-email 2.22.0 x-originating-ip: [46.140.72.82] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 7346dd3a-28a0-43ae-df09-08d71b10e7b8 x-microsoft-antispam: BCL:0;PCL:0;RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600148)(711020)(4605104)(1401327)(2017052603328)(7193020);SRVR:VI1PR0502MB3614; x-ms-traffictypediagnostic: VI1PR0502MB3614: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:2399; x-forefront-prvs: 01221E3973 x-forefront-antispam-report: SFV:NSPM;SFS:(10019020)(4636009)(346002)(376002)(396003)(39850400004)(136003)(366004)(199004)(189003)(305945005)(14444005)(6116002)(26005)(81156014)(76176011)(36756003)(3846002)(6486002)(86362001)(6512007)(478600001)(25786009)(71190400001)(2906002)(7416002)(81166006)(256004)(316002)(71200400001)(2201001)(44832011)(53936002)(7736002)(110136005)(8936002)(54906003)(52116002)(66446008)(64756008)(14454004)(99286004)(476003)(102836004)(8676002)(6436002)(1076003)(66556008)(5660300002)(6506007)(2501003)(4326008)(66946007)(486006)(446003)(11346002)(66066001)(68736007)(50226002)(186003)(66476007)(2616005)(386003);DIR:OUT;SFP:1102;SCL:1;SRVR:VI1PR0502MB3614;H:VI1PR0502MB3965.eurprd05.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;A:1;MX:1; received-spf: None (protection.outlook.com: toradex.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: COSM2YpBFg5xwpnSl+8YbzUyBLES/pifJIe7NAKAp5vt4a3+z/iTlLFrA/p7SxdyRk1dm8QqRWBK9RTKpqQjagPX+9keUNxpeDATqqwGkYF3YaXPJFjA5l+b6dZ/KNQAbY6b25MEBtfqJg3A+r6scq99yOJ4S2n7pZ9+lcUvGVZqnB8/c+G08DaefUsgSy9ewgrhOs2aPDwCeBysssGmRAgJsSMDrj/J3D4tb5nHjt/lng3kEHzx47IhQVDx6YvG4YqV/kaP9ZHs/DaysVZBDZZo9g1E/hC3bhfUc6/fl74xsVYaThLccVjKVyec1kDt4qVm4RdQF7pDL2uzROmJK388nYB+80wgmkkFVFLxlZHHQTgN6z4mjTjxWnNc7NDialQ6Fn8ofLR9ZM0KVnDI/6oM/STIQG3+7chJKqDp+es= Content-Type: text/plain; charset="iso-8859-2" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: toradex.com X-MS-Exchange-CrossTenant-Network-Message-Id: 7346dd3a-28a0-43ae-df09-08d71b10e7b8 X-MS-Exchange-CrossTenant-originalarrivaltime: 07 Aug 2019 08:26:11.9852 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: d9995866-0d9b-4251-8315-093f062abab4 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: sCYPCtGDFFOzJiomIOX/Q6ufGaK8rYtEuZGorDG6lgo94ezn7+3Q2/7pMFieU54a80fVk898lSmsnMf/PrHuAuZIO7PT+k3FaRywJ7+ijiY= X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR0502MB3614 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Prepare FlexCAN use on SODIMM 55/63 178/188. Those SODIMM pins are compatible for CAN bus use with several modules from the Colibri family. Add Better drivestrength and also add flexcan2. Signed-off-by: Philippe Schenker --- Changes in v3: None Changes in v2: None arch/arm/boot/dts/imx7-colibri.dtsi | 35 ++++++++++++++++++++++++----- 1 file changed, 30 insertions(+), 5 deletions(-) diff --git a/arch/arm/boot/dts/imx7-colibri.dtsi b/arch/arm/boot/dts/imx7-c= olibri.dtsi index f7c9ce5bed47..52046085ce6f 100644 --- a/arch/arm/boot/dts/imx7-colibri.dtsi +++ b/arch/arm/boot/dts/imx7-colibri.dtsi @@ -117,6 +117,18 @@ fsl,magic-packet; }; =20 +&flexcan1 { + pinctrl-names =3D "default"; + pinctrl-0 =3D <&pinctrl_flexcan1>; + status =3D "disabled"; +}; + +&flexcan2 { + pinctrl-names =3D "default"; + pinctrl-0 =3D <&pinctrl_flexcan2>; + status =3D "disabled"; +}; + &gpmi { pinctrl-names =3D "default"; pinctrl-0 =3D <&pinctrl_gpmi_nand>; @@ -330,12 +342,11 @@ =20 &iomuxc { pinctrl-names =3D "default"; - pinctrl-0 =3D <&pinctrl_gpio1 &pinctrl_gpio2 &pinctrl_gpio3 &pinctrl_gpio= 4>; + pinctrl-0 =3D <&pinctrl_gpio1 &pinctrl_gpio2 &pinctrl_gpio3 &pinctrl_gpio= 4 + &pinctrl_gpio7>; =20 pinctrl_gpio1: gpio1-grp { fsl,pins =3D < - MX7D_PAD_ENET1_RGMII_RD3__GPIO7_IO3 0x74 /* SODIMM 55 */ - MX7D_PAD_ENET1_RGMII_RD2__GPIO7_IO2 0x74 /* SODIMM 63 */ MX7D_PAD_SAI1_RX_SYNC__GPIO6_IO16 0x14 /* SODIMM 77 */ MX7D_PAD_EPDC_DATA09__GPIO2_IO9 0x14 /* SODIMM 89 */ MX7D_PAD_EPDC_DATA08__GPIO2_IO8 0x74 /* SODIMM 91 */ @@ -416,6 +427,13 @@ >; }; =20 + pinctrl_gpio7: gpio7-grp { /* Alternatively CAN1 */ + fsl,pins =3D < + MX7D_PAD_ENET1_RGMII_RD3__GPIO7_IO3 0x14 /* SODIMM 55 */ + MX7D_PAD_ENET1_RGMII_RD2__GPIO7_IO2 0x14 /* SODIMM 63 */ + >; + }; + pinctrl_i2c1_int: i2c1-int-grp { /* PMIC / TOUCH */ fsl,pins =3D < MX7D_PAD_GPIO1_IO13__GPIO1_IO13 0x79 @@ -459,10 +477,17 @@ >; }; =20 + pinctrl_flexcan1: flexcan1-grp { + fsl,pins =3D < + MX7D_PAD_ENET1_RGMII_RD3__FLEXCAN1_TX 0x79 /* SODIMM 55 */ + MX7D_PAD_ENET1_RGMII_RD2__FLEXCAN1_RX 0x79 /* SODIMM 63 */ + >; + }; + pinctrl_flexcan2: flexcan2-grp { fsl,pins =3D < - MX7D_PAD_GPIO1_IO14__FLEXCAN2_RX 0x59 - MX7D_PAD_GPIO1_IO15__FLEXCAN2_TX 0x59 + MX7D_PAD_GPIO1_IO14__FLEXCAN2_RX 0x79 /* SODIMM 188 */ + MX7D_PAD_GPIO1_IO15__FLEXCAN2_TX 0x79 /* SODIMM 178 */ >; }; =20 --=20 2.22.0