Received: by 2002:a25:31c3:0:0:0:0:0 with SMTP id x186csp749900ybx; Wed, 6 Nov 2019 07:54:12 -0800 (PST) X-Google-Smtp-Source: APXvYqx53n8lXChIbt5h/8XSVNj1fOH31/SIHAnxMcLasbFD8fyWeqMt8f+ArnT16YBjhv5J99hK X-Received: by 2002:a17:906:ecf5:: with SMTP id qt21mr34906010ejb.295.1573055652504; Wed, 06 Nov 2019 07:54:12 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1573055652; cv=none; d=google.com; s=arc-20160816; b=fHWvDrttUfmcde1KxR4VEP6PQqhqcE8C9Djlc6m0xOmA7GxfPUYlGJ6vh4/5Z9Repa 0yfrDikiXYwnYOvdUQiYclZ+6f8Sua8TweyFTEdYA+uuoZA2e3uvT2N3w9lNN/4oojQF csUjVmcamStrTQxU+9R6BGcf7eWcUssRb+JJjlPpxKltUSDiVKHq1myCiFr2PeKsG1uK vEsMz1cqQW88+vIZchUf3/UPPQAzzv0AiRwJ8HOcXKlztkssgJ4HNXTfyuXQjpXzWOhE +4kRHv0gFNwVUMz5xJIKCmQ36utY2EVqEOQHk6y6MgiqD+O5Tw8QhzXpDdjN8AWpbHix DQ8g== 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=yxAz8nAs4joz7cuNYxIRj2x/kpe95WQkmA6Mby848pw=; b=M01Kj87pZc6VzAFRiWkrccTG+gBUU4czNvPHWdKDBTyLBX7hM34uog/f7r60coSe71 47JCA8QBLJ+UmnKmxLVF/X30BmegasGYqdE4sNQ4UnFl6bGkRyGKGOyb9cx+PgK0BqNy I3Yb4sQqli16FCa6Z4XzQz3hmnti+hwtIZFI3mihZNFN2/OTZlPyFnocHWRQkCZgIneE AWbgZJHC9AqJI5rj3k2N9jOQNrUnw8kfbdJa2oWn+XchB3RIYDc3057lE7idigivv7yr DZ6w5a8sWPC5MraKJ+t50vg4WqKtrP9bJ+fSzOmGtLbAzZdLXh6UYFg+P3Jof6oasXr0 FVsg== 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 f36si12606681ede.159.2019.11.06.07.53.49; Wed, 06 Nov 2019 07:54:12 -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 S1732144AbfKFPwv (ORCPT + 99 others); Wed, 6 Nov 2019 10:52:51 -0500 Received: from inva020.nxp.com ([92.121.34.13]:37352 "EHLO inva020.nxp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732066AbfKFPwu (ORCPT ); Wed, 6 Nov 2019 10:52:50 -0500 Received: from inva020.nxp.com (localhost [127.0.0.1]) by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id C3F341A064B; Wed, 6 Nov 2019 16:52:48 +0100 (CET) Received: from inva024.eu-rdc02.nxp.com (inva024.eu-rdc02.nxp.com [134.27.226.22]) by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id B5A2D1A0621; Wed, 6 Nov 2019 16:52:48 +0100 (CET) Received: from fsr-ub1464-137.ea.freescale.net (fsr-ub1464-137.ea.freescale.net [10.171.82.114]) by inva024.eu-rdc02.nxp.com (Postfix) with ESMTP id 59F02205EB; Wed, 6 Nov 2019 16:52:48 +0100 (CET) From: Ioana Ciornei To: shawnguo@kernel.org Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Ioana Ciornei Subject: [PATCH 2/2] arm64: dts: lx2160a: add RGMII phy nodes Date: Wed, 6 Nov 2019 17:52:16 +0200 Message-Id: <1573055536-21786-3-git-send-email-ioana.ciornei@nxp.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1573055536-21786-1-git-send-email-ioana.ciornei@nxp.com> References: <1573055536-21786-1-git-send-email-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 --- arch/arm64/boot/dts/freescale/fsl-lx2160a-rdb.dts | 27 +++++++++++++++++++++++ 1 file changed, 27 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..1e2a7c4031fd 100644 --- a/arch/arm64/boot/dts/freescale/fsl-lx2160a-rdb.dts +++ b/arch/arm64/boot/dts/freescale/fsl-lx2160a-rdb.dts @@ -35,6 +35,33 @@ 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; -- 1.9.1