Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp281049ybv; Sat, 22 Feb 2020 03:42:08 -0800 (PST) X-Google-Smtp-Source: APXvYqzTcUhMypGV+TBZ7mLiw9jtcIoQPLAV7Vzv8dDfG/hty/pItkwOBDdp20oSzsLzRktnQUU8 X-Received: by 2002:a9d:7d9a:: with SMTP id j26mr30805064otn.21.1582371728579; Sat, 22 Feb 2020 03:42:08 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1582371728; cv=none; d=google.com; s=arc-20160816; b=m8ew5minl73xo/rL7cW2NccVn8q00+UAcszh6kV2SIdhFyLAXXTDt5h7Tf0495Xk03 JO7tVfT+OE5ErBkCTlqhVVQKYE0FKYfp1O6AbdmZ1HUGkKCrCjmOm7h8Jk/QorVXDNyK q1v6wtxrECaAMa1CbMxspisnmgyuAzdZW6jxZWdKIHdmRiGH6GjZPfi5gvOLg1s1Uaub cRD5IlyD7oLsALn8BZ+13J2vrf1xxuDLVpn9XMVofMS1ba4TrrTUxM3z3Cx3nJ1Dqt8k dyBkrl+Fb4DccOMPFlZR0oWmhSVYe5xL8ZOATESjjjNHa6asJ960MDiM3zjgVHXKUX// TINw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=5rMQSooxdrmNpbI3Gk43YVHWsQamSQ5BVKAeoY/eF7Y=; b=fAbKC7DEoJ95gMedadx1rd0yZZxY3XYfYvzLfGq5Hf8E4839J4mrx0pjbTNTRpm3J3 1x7ZwMF3TbrvO9uY2gpx1KjxsSyJQE7y5S/wYrhF38RtFeYYTbw4EoCOd0GJWDEZVPtb fiLIIAdhDzYlIF0Mh72eEb5rORs208Mu27YoSfZkxSK4f6h4FiQqJVEMJSgfNP1A2luc PgsDHCUtnVphKg0c98vG+El3jzyrKD9Scqpl1MKQWuX/5dVftSqcbc8GQVNUo6hVFwHM QJGdZWR2mngO1UjyNTxZE3Amz0H118/gWEmxRzj+o6I9+Fd9HLcawy3F8ZEkn0z6MQwI FVgg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@walle.cc header.s=mail2016061301 header.b=jMOey1Vl; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id j71si2191020oib.213.2020.02.22.03.41.56; Sat, 22 Feb 2020 03:42:08 -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; dkim=pass header.i=@walle.cc header.s=mail2016061301 header.b=jMOey1Vl; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727219AbgBVLlv (ORCPT + 99 others); Sat, 22 Feb 2020 06:41:51 -0500 Received: from ssl.serverraum.org ([176.9.125.105]:48477 "EHLO ssl.serverraum.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726763AbgBVLlv (ORCPT ); Sat, 22 Feb 2020 06:41:51 -0500 Received: from apollo.fritz.box (unknown [IPv6:2a02:810c:c200:2e91:6257:18ff:fec4:ca34]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by ssl.serverraum.org (Postfix) with ESMTPSA id AFB6122F43; Sat, 22 Feb 2020 12:41:48 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=walle.cc; s=mail2016061301; t=1582371709; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=5rMQSooxdrmNpbI3Gk43YVHWsQamSQ5BVKAeoY/eF7Y=; b=jMOey1VlZv3VJgw/HwupTlvFr8BmPI+3mJ2XOKlxoCvvUWG0/qApZQFvQOxpERW9yD4jSI aMZikSrlb/dkgNVdbLLiU7IAaEYvZckTFqrpQOmhZXbDazQ2b0rpfPLbhKtEJnKmnzTabu 1MrK0NIa9lvMcuxlJWxqdeO0hprU1EU= From: Michael Walle To: olteanv@gmail.com Cc: andrew@lunn.ch, davem@davemloft.net, devicetree@vger.kernel.org, f.fainelli@gmail.com, linux-kernel@vger.kernel.org, mark.rutland@arm.com, netdev@vger.kernel.org, robh+dt@kernel.org, shawnguo@kernel.org, vivien.didelot@gmail.com, Michael Walle Subject: Re: [PATCH v2 net-next/devicetree 5/5] arm64: dts: fsl: ls1028a: enable switch PHYs on RDB Date: Sat, 22 Feb 2020 12:41:36 +0100 Message-Id: <20200222114136.595-1-michael@walle.cc> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200219151259.14273-6-olteanv@gmail.com> References: <20200219151259.14273-6-olteanv@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spamd-Bar: ++++ X-Spam-Level: **** X-Rspamd-Server: web X-Spam-Status: No, score=4.90 X-Spam-Score: 4.90 X-Rspamd-Queue-Id: AFB6122F43 X-Spamd-Result: default: False [4.90 / 15.00]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_MISSING_CHARSET(2.50)[]; FREEMAIL_ENVRCPT(0.00)[gmail.com]; TAGGED_RCPT(0.00)[dt]; MIME_GOOD(-0.10)[text/plain]; BROKEN_CONTENT_TYPE(1.50)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_SPAM(0.00)[0.635]; DKIM_SIGNED(0.00)[]; DBL_PROHIBIT(0.00)[0.0.0.12:email,0.0.0.11:email,0.0.0.13:email,0.0.0.10:email]; RCPT_COUNT_TWELVE(0.00)[12]; MID_CONTAINS_FROM(1.00)[]; FREEMAIL_TO(0.00)[gmail.com]; RCVD_COUNT_ZERO(0.00)[0]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:31334, ipnet:2a02:810c::/31, country:DE]; FREEMAIL_CC(0.00)[lunn.ch,davemloft.net,vger.kernel.org,gmail.com,arm.com,kernel.org,walle.cc] Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, > Link the switch PHY nodes to the central MDIO controller PCIe endpoint > node on LS1028A (implemented as PF3) so that PHYs are accessible via > MDIO. > > Enable SGMII AN on the Felix PCS by telling PHYLINK that the VSC8514 > quad PHY is capable of in-band-status. > > The PHYs are used in poll mode due to an issue with the interrupt line > on current revisions of the LS1028A-RDB board. > > Signed-off-by: Claudiu Manoil > Signed-off-by: Alex Marginean > Signed-off-by: Vladimir Oltean > Reviewed-by: Andrew Lunn > --- > Changes in v2: > None. > > .../boot/dts/freescale/fsl-ls1028a-rdb.dts | 51 +++++++++++++++++++ > 1 file changed, 51 insertions(+) > > diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1028a-rdb.dts b/arch/arm64/boot/dts/freescale/fsl-ls1028a-rdb.dts > index afb55653850d..9353c00e46a7 100644 > --- a/arch/arm64/boot/dts/freescale/fsl-ls1028a-rdb.dts > +++ b/arch/arm64/boot/dts/freescale/fsl-ls1028a-rdb.dts > @@ -194,6 +194,57 @@ > status = "disabled"; > }; > > +&enetc_mdio_pf3 { > + /* VSC8514 QSGMII quad PHY */ > + qsgmii_phy0: ethernet-phy@10 { > + reg = <0x10>; > + }; > + > + qsgmii_phy1: ethernet-phy@11 { > + reg = <0x11>; > + }; > + > + qsgmii_phy2: ethernet-phy@12 { > + reg = <0x12>; > + }; > + > + qsgmii_phy3: ethernet-phy@13 { > + reg = <0x13>; > + }; > +}; > + > +&mscc_felix_port0 { > + status = "okay"; status should be the last property, correct? -michael > + label = "swp0"; > + managed = "in-band-status"; > + phy-handle = <&qsgmii_phy0>; > + phy-mode = "qsgmii"; > +}; > + > +&mscc_felix_port1 { > + status = "okay"; > + label = "swp1"; > + managed = "in-band-status"; > + phy-handle = <&qsgmii_phy1>; > + phy-mode = "qsgmii"; > +}; > + > +&mscc_felix_port2 { > + status = "okay"; > + label = "swp2"; > + managed = "in-band-status"; > + phy-handle = <&qsgmii_phy2>; > + phy-mode = "qsgmii"; > +}; > + > +&mscc_felix_port3 { > + status = "okay"; > + label = "swp3"; > + managed = "in-band-status"; > + phy-handle = <&qsgmii_phy3>; > + phy-mode = "qsgmii"; > +}; > + > &sai4 { > status = "okay"; > }; > -- > 2.17.1