Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp705275ybl; Wed, 4 Dec 2019 09:31:36 -0800 (PST) X-Google-Smtp-Source: APXvYqwjAuTt+PkoWMB78vTu8x1JJk/LWf0fnvxut29MtobISIDcMSbblOyDZdZ4E75f4yJGwiiG X-Received: by 2002:aca:4ad1:: with SMTP id x200mr3379516oia.104.1575480695961; Wed, 04 Dec 2019 09:31:35 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1575480695; cv=none; d=google.com; s=arc-20160816; b=NgRYZsVT9z6mMyai6pr5V0YopQrNbk/9rdb2wE5cg6+xIK2FKyAvBMqhGnm40F0z5o LV5Zx45frNTRFgUw9RjnlyUEzMZYnfONlCifHdpBJPsnUa/3tBsJ8vrOhRRmPCBXicvM f3p1TdszHgRBMkrskwZmELowLxi7nADuSS/9QrPm1BM+GaZ7x0R1jRvkSrG0Q+YmjlDa GFIn+fXn/Qt8jBGTw1UCdXmjRXjc9i8Rs6Eapc8S09jznXPMRS1x2ZiEy9oNQDKEhs8C cS4bLPEjlj0xKZ/2DhNhrbJ8F16PgB/p0rrCRf9G9/BJecsfVDCj+zoVV67okRTrLU7i cC8w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:reply-to:references:in-reply-to :message-id:date:subject:cc:to:from; bh=HXS0IvA6Jfi61RyDR6esK0MvfkzezghjzDCSLE00G5I=; b=mU0hyhptOA1+B/M2l8SIegOcX6mVwEHe9lWla1q2jAF1Hc5lIznf3gnwFySmR5vAMH MNDbOFRhIH4K6aMlZ+/Byj2QLyQAojfr2pie3xo4ytQUp05wtpWyzUcctuCQsrvnxVZv Zl+UsNbErpFRRdM404vG/8OgAcmT0NB4+WbclvFnX0QWtexJqDLFrwJdSO1xS7I4e5Qr SIcYbiy1llO+0EgzmeAUqI2FX4Ur2bj52JO6KpKkY30PiWM7vOqrYikVgJ39ZDjhvqge 5qq0SSz8KXjRWywYR4YkyvTjxfklQ6XWkMHK9MI4pv2iRKjhNpnIXX9RnTbPLwKWfOLL dN/w== ARC-Authentication-Results: i=1; mx.google.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=fail (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 s188si3461744oih.220.2019.12.04.09.31.23; Wed, 04 Dec 2019 09:31:35 -0800 (PST) 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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728989AbfLDQ6j (ORCPT + 99 others); Wed, 4 Dec 2019 11:58:39 -0500 Received: from inva021.nxp.com ([92.121.34.21]:57112 "EHLO inva021.nxp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728947AbfLDQ6i (ORCPT ); Wed, 4 Dec 2019 11:58:38 -0500 Received: from inva021.nxp.com (localhost [127.0.0.1]) by inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id 45D4A20126C; Wed, 4 Dec 2019 17:58:37 +0100 (CET) Received: from inva024.eu-rdc02.nxp.com (inva024.eu-rdc02.nxp.com [134.27.226.22]) by inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id 39658201267; Wed, 4 Dec 2019 17:58:37 +0100 (CET) Received: from fsr-ub1864-126.ea.freescale.net (fsr-ub1864-126.ea.freescale.net [10.171.82.212]) by inva024.eu-rdc02.nxp.com (Postfix) with ESMTP id E4659205C7; Wed, 4 Dec 2019 17:58:36 +0100 (CET) From: Ioana Ciornei To: shawnguo@kernel.org Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Ioana Ciornei Subject: [PATCH v2 2/2] arm64: dts: lx2160a: add RGMII phy nodes Date: Wed, 4 Dec 2019 18:58:28 +0200 Message-Id: <20191204165828.29893-3-ioana.ciornei@nxp.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20191204165828.29893-1-ioana.ciornei@nxp.com> References: <20191204165828.29893-1-ioana.ciornei@nxp.com> Reply-to: ioana.ciornei@nxp.com X-Virus-Scanned: ClamAV using ClamSMTP Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Annotate the EMDIO1 node and describe the 2 AR8035 RGMII PHYs. Also, add phy-handles for dpmac17 and dpmac18 to its associated PHY. The MAC is not capable to add the needed RGMII delays, thus the "rgmii-id" phy-connection-type is used. Signed-off-by: Ioana Ciornei --- Changes in v2: - added a newline between nodes .../boot/dts/freescale/fsl-lx2160a-rdb.dts | 28 +++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/fsl-lx2160a-rdb.dts b/arch/arm64/boot/dts/freescale/fsl-lx2160a-rdb.dts index c2817b784232..51615de102fe 100644 --- a/arch/arm64/boot/dts/freescale/fsl-lx2160a-rdb.dts +++ b/arch/arm64/boot/dts/freescale/fsl-lx2160a-rdb.dts @@ -35,6 +35,34 @@ status = "okay"; }; +&dpmac17 { + phy-handle = <&rgmii_phy1>; + phy-connection-type = "rgmii-id"; +}; + +&dpmac18 { + phy-handle = <&rgmii_phy2>; + phy-connection-type = "rgmii-id"; +}; + +&emdio1 { + status = "okay"; + + rgmii_phy1: ethernet-phy@1 { + /* AR8035 PHY */ + compatible = "ethernet-phy-id004d.d072"; + reg = <0x1>; + eee-broken-1000t; + }; + + rgmii_phy2: ethernet-phy@2 { + /* AR8035 PHY */ + compatible = "ethernet-phy-id004d.d072"; + reg = <0x2>; + eee-broken-1000t; + }; +}; + &esdhc0 { sd-uhs-sdr104; sd-uhs-sdr50; -- 2.17.1