Received: by 2002:a17:90a:37e8:0:0:0:0 with SMTP id v95csp4244011pjb; Mon, 21 Oct 2019 02:22:08 -0700 (PDT) X-Google-Smtp-Source: APXvYqyKeMRxWtjhFGK8VTmnCZUbrJm5KDbMcA69Tlz8RUNAtymkEMTnXxCHL5QLjeAqTKvpteXj X-Received: by 2002:a17:906:3285:: with SMTP id 5mr5172686ejw.143.1571649728710; Mon, 21 Oct 2019 02:22:08 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1571649728; cv=pass; d=google.com; s=arc-20160816; b=mb5BGO+IiXhfGtgOPekMQaG/u1RgpEHip7YE8pyVSwBDUswY87/pIkdslBSUwHe/b1 E+5K8U2xDQQgOaCqo4szLdCXuOQf4pmeU0/UvFQxLZ+u9oZtq0jfRQ7WlcXvWegXWiRd 2wxdHeS1lppehl2lzAt9cm8TE25dVv3qJEFggHEdFqfh70u1ZPwdpeqpfje627WmSaDd hsFkyPZa2Dase+vLVkqGoEcqP1p9rHF0/7Yq1ky5ZAecztgM970EmZrt5Y2uHrjl/huD e/3lVqNxYaKQuX4QD/1RIYplc2GA3pnUd93BKFi5RU0HTtPs9pJWmLNQe/jY0KJxIako TNJw== 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:message-id:date:thread-index :thread-topic:subject:cc:to:from:dkim-signature; bh=YHcjdV4wIYTcXg/0ZOrMFUWTxFoQVOmEtaF+3r4Basc=; b=d/OWl2oWWkv+BGe/bI95cI/QtH0QubEtUcZJ3Mec8ZgJiSSjAH7/iiOARkiBo0oYrg 4WIbGXMtkxfUjb7amwnp8PTEuO21s+mb2YNyqQmw6vzdX4R3OMboCXn5FScGe+e4tdNi HV86n7+PYOj0QRjKu80XnP6UnjceyH/grDVk3OnUE5tDS5H5SuFJDpsKlNMtgACLj87G Z9NjcZzlCPhsKQcusKvZZyVrSGIhU9m5nem9p/YsLOVzICOu/+MAo768832Qu8grpUPt IPFxpweGvfaBcUq8CzeAtYnEkJm2UBQLKG6V+rhs6kDCaYZavhH4QqMqPO0y40149NdI V59g== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=qWot4CjS; arc=pass (i=1 spf=pass spfdomain=nxp.com dkim=pass dkdomain=nxp.com dmarc=pass fromdomain=nxp.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=NONE sp=NONE dis=NONE) header.from=nxp.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u11si8406315ejr.234.2019.10.21.02.21.44; Mon, 21 Oct 2019 02:22:08 -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=@nxp.com header.s=selector2 header.b=qWot4CjS; arc=pass (i=1 spf=pass spfdomain=nxp.com dkim=pass dkdomain=nxp.com dmarc=pass fromdomain=nxp.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=NONE sp=NONE dis=NONE) header.from=nxp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727412AbfJUJVk (ORCPT + 99 others); Mon, 21 Oct 2019 05:21:40 -0400 Received: from mail-eopbgr80044.outbound.protection.outlook.com ([40.107.8.44]:46975 "EHLO EUR04-VI1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726847AbfJUJVk (ORCPT ); Mon, 21 Oct 2019 05:21:40 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=YyI6BbdgYL4vLnsgsWeNyUx8UsDZGo5BqZdDMTr/p5mkN5N9QiU1J5xoal3AlzXL63IXDaXMnbReHzP2KsejJMLgEHZAS0Gm5VjQHtUcRnJSE8aV0yB0nOzggWW/WHKvz8EL0YN3UOUIEkl8VjlatUqd/m7oyaRo/7KsH4hoKbhQ9r3OpixsWaKkHHo/npu99/UlCkArTps+IQkVpkCuPR66OcrgLx74nNMbP/KlwVxMaq26QwnvPbpzEGAQ5hbauV7qjTB4xbiuWHvAjVyvDCajWLdnXXbNx1CVLLUFPiayWFi5Tm5jnyRPJIlxJjqy7NCO4j4LBanQsMnGTH6Obw== 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=YHcjdV4wIYTcXg/0ZOrMFUWTxFoQVOmEtaF+3r4Basc=; b=M4Yo2X2f0zhGn0sTzEAmjYcjL4jaBl1+vBr6TiLSBmWusgD6e2guw3HoagdT8C6giLi79dzBD12E+KPhb45+SQqImuioW3wfwBb2T1+bKQjy0/KgDXL2cA6pB5RR1off12+0n8yTxoPEHK4r6UyGBVSzUMJEQIu8jz6Mjck6Puf5NW5AgAMpQUjZ4juAZWFdklrYOP1Fh1BazbTeZvTjZyuxBjnSA283/GCZIKUrgKpK62xv6OcBbjBw2ZuCwALFMTLveJLKTv2fY9NS3XYrNfqd9Mlqc7hc2DM3AneXJEJP3ULKqcFMxSmfDrSS0OtHmWk9ajVlYm6mk6KGjE8TcA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nxp.com; dmarc=pass action=none header.from=nxp.com; dkim=pass header.d=nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=YHcjdV4wIYTcXg/0ZOrMFUWTxFoQVOmEtaF+3r4Basc=; b=qWot4CjSz7Q87dA6IyZiPwloSzJEN2orpGx26p/x7TEBiQ29NJJpll9vIExQDzIsUpzv7OhXDlNabM/VGpwHxb9v/OBquyHiJqMG/9osKAWZmJO6WqY/8XbmX33//MxCNVWOyh7JKbhFvmgEulpuyoydQITk4shBsqwP0cHZdXw= Received: from AM0PR04MB4481.eurprd04.prod.outlook.com (52.135.147.15) by AM0PR04MB5619.eurprd04.prod.outlook.com (20.178.119.155) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2367.21; Mon, 21 Oct 2019 09:21:36 +0000 Received: from AM0PR04MB4481.eurprd04.prod.outlook.com ([fe80::843c:e722:27cb:74e1]) by AM0PR04MB4481.eurprd04.prod.outlook.com ([fe80::843c:e722:27cb:74e1%5]) with mapi id 15.20.2347.028; Mon, 21 Oct 2019 09:21:36 +0000 From: Peng Fan To: "robh+dt@kernel.org" , "mark.rutland@arm.com" , "shawnguo@kernel.org" , "s.hauer@pengutronix.de" , "kernel@pengutronix.de" , "festevam@gmail.com" CC: dl-linux-imx , Anson Huang , Leonard Crestez , Daniel Baluta , Jacky Bai , Jun Li , "devicetree@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" , "linux-kernel@vger.kernel.org" , Andy Duan , Peng Fan Subject: [PATCH 1/2] arm64: dts: imx8mm-evk: add phy-reset-gpios for fec1 Thread-Topic: [PATCH 1/2] arm64: dts: imx8mm-evk: add phy-reset-gpios for fec1 Thread-Index: AQHVh/DvpHNuw1YCQUS80eeiIyy4HA== Date: Mon, 21 Oct 2019 09:21:35 +0000 Message-ID: <1571649512-24041-1-git-send-email-peng.fan@nxp.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-mailer: git-send-email 2.7.4 x-clientproxiedby: HK0PR03CA0025.apcprd03.prod.outlook.com (2603:1096:203:2f::13) To AM0PR04MB4481.eurprd04.prod.outlook.com (2603:10a6:208:70::15) authentication-results: spf=none (sender IP is ) smtp.mailfrom=peng.fan@nxp.com; x-ms-exchange-messagesentrepresentingtype: 1 x-originating-ip: [119.31.174.66] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: f1e0c301-9834-408c-1bc1-08d7560811d0 x-ms-office365-filtering-ht: Tenant x-ms-traffictypediagnostic: AM0PR04MB5619:|AM0PR04MB5619: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:175; x-forefront-prvs: 0197AFBD92 x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(4636009)(366004)(136003)(39860400002)(346002)(376002)(396003)(189003)(199004)(110136005)(6512007)(478600001)(81156014)(14454004)(316002)(7736002)(54906003)(305945005)(8676002)(81166006)(50226002)(2501003)(25786009)(8936002)(4326008)(66066001)(36756003)(2201001)(86362001)(6436002)(6486002)(476003)(66556008)(66476007)(99286004)(44832011)(64756008)(66446008)(2616005)(186003)(5660300002)(2906002)(71190400001)(4744005)(102836004)(3846002)(6116002)(386003)(6506007)(256004)(52116002)(71200400001)(66946007)(486006)(26005)(32563001);DIR:OUT;SFP:1101;SCL:1;SRVR:AM0PR04MB5619;H:AM0PR04MB4481.eurprd04.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;MX:1;A:1; received-spf: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: rg/AFaCLrOHgbQTNJhrzvoxpxp5qusIVHRF7x/EnSg6+PkU7IA/3gliw/RarSn5pINenBoE6kpepbwa6mJZYKqIds/gLQAj7H8HcJ6LNap6dm1Zb1CpiHJI63mSmKwYoBZ/w7u8SezrYYkVjcXoLG4o3i34pbd00psCbZwurNrW6adLt2TQGzQbpmVUpA8pmf5D2VYT6bQP7ND8LnUDAFyRXxl5uKocWcdRCBgy9VHHCoHqiqV9ZOAkHR/6l7NMHc31l0a5BjtS3GzjKfZBv/qDCfZxw+mZ/fCBjVLSALQTqr+nZaNGyFXXi2h4oJ+SsBfxA7acKozm34SDb+7mDaTEyd+Wh+nLa+ea0mZuNv9yhtoC3UgD4AMV/vVXcmOsmebnAXTamT5thePqu+JL3NPFaQIc0C40rSA8OEJeMWCOX/9wuX/VKbD6xmVCpLYjx Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: f1e0c301-9834-408c-1bc1-08d7560811d0 X-MS-Exchange-CrossTenant-originalarrivaltime: 21 Oct 2019 09:21:35.8880 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: HRRwd91wBszI8Cecs/Raflt6ahl3d6Pl6nQjKrsYKld/aowv4UOKKrh00ksoqdubFbsg8QTkBjAZHpwG8Qpo0w== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR04MB5619 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Peng Fan We should not rely on U-Boot to configure the phy reset. So introduce phy-reset-gpios property to let Linux handle phy reset itself. Signed-off-by: Peng Fan --- arch/arm64/boot/dts/freescale/imx8mm-evk.dts | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/boot/dts/freescale/imx8mm-evk.dts b/arch/arm64/boot= /dts/freescale/imx8mm-evk.dts index faefb7182af1..e4d66f7db09d 100644 --- a/arch/arm64/boot/dts/freescale/imx8mm-evk.dts +++ b/arch/arm64/boot/dts/freescale/imx8mm-evk.dts @@ -80,6 +80,7 @@ pinctrl-0 =3D <&pinctrl_fec1>; phy-mode =3D "rgmii-id"; phy-handle =3D <ðphy0>; + phy-reset-gpios =3D <&gpio4 22 GPIO_ACTIVE_LOW>; fsl,magic-packet; status =3D "okay"; =20 --=20 2.16.4