From: Ioana Ciornei <ioana.ciornei@nxp.com>
To: shawnguo@kernel.org
Cc: robh+dt@kernel.org, leoyang.li@nxp.com,
devicetree@vger.kernel.org, linux-kernel@vger.kernel.org,
Ioana Ciornei <ioana.ciornei@nxp.com>
Subject: [PATCH v4 07/11] arm64: dts: ls2088ardb: add PHY nodes for the CS4340 PHYs
Date: Mon, 26 Oct 2020 18:10:01 +0200 [thread overview]
Message-ID: <20201026161005.5421-8-ioana.ciornei@nxp.com> (raw)
In-Reply-To: <20201026161005.5421-1-ioana.ciornei@nxp.com>
Annotate the EMDIO1 node and describe the 4 10GBASER PHYs found on the
LS2088ARDB board. Also, add phy-handles for DPMACs 1-4 to their
associated PHY.
Signed-off-by: Ioana Ciornei <ioana.ciornei@nxp.com>
---
Changes in v2:
- none
Changes in v3:
- none
Changes in v4:
- move the phy-connection-type attribute to the ethernet node
.../boot/dts/freescale/fsl-ls2088a-rdb.dts | 41 +++++++++++++++++++
1 file changed, 41 insertions(+)
diff --git a/arch/arm64/boot/dts/freescale/fsl-ls2088a-rdb.dts b/arch/arm64/boot/dts/freescale/fsl-ls2088a-rdb.dts
index f6b4d75a258b..6f4acb7a3528 100644
--- a/arch/arm64/boot/dts/freescale/fsl-ls2088a-rdb.dts
+++ b/arch/arm64/boot/dts/freescale/fsl-ls2088a-rdb.dts
@@ -22,3 +22,44 @@ chosen {
stdout-path = "serial1:115200n8";
};
};
+
+&dpmac1 {
+ phy-handle = <&mdio1_phy1>;
+ phy-connection-type = "10gbase-r";
+};
+
+&dpmac2 {
+ phy-handle = <&mdio1_phy2>;
+ phy-connection-type = "10gbase-r";
+};
+
+&dpmac3 {
+ phy-handle = <&mdio1_phy3>;
+ phy-connection-type = "10gbase-r";
+};
+
+&dpmac4 {
+ phy-handle = <&mdio1_phy4>;
+ phy-connection-type = "10gbase-r";
+};
+
+&emdio1 {
+ status = "okay";
+
+ mdio1_phy1: emdio1_phy@1 {
+ compatible = "ethernet-phy-id13e5.1002";
+ reg = <0x10>;
+ };
+ mdio1_phy2: emdio1_phy@2 {
+ compatible = "ethernet-phy-id13e5.1002";
+ reg = <0x11>;
+ };
+ mdio1_phy3: emdio1_phy@3 {
+ compatible = "ethernet-phy-id13e5.1002";
+ reg = <0x12>;
+ };
+ mdio1_phy4: emdio1_phy@4 {
+ compatible = "ethernet-phy-id13e5.1002";
+ reg = <0x13>;
+ };
+};
--
2.28.0
next prev parent reply other threads:[~2020-10-26 16:11 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-10-26 16:09 [PATCH v4 00/11] arm64: dts: layerscape: update MAC nodes with PHY information Ioana Ciornei
2020-10-26 16:09 ` [PATCH v4 01/11] dt-bindings: net: add the DPAA2 MAC DTS definition Ioana Ciornei
2020-10-26 16:09 ` [PATCH v4 02/11] dt-bindings: net: add the 10gbase-r connection type Ioana Ciornei
2020-10-26 16:09 ` [PATCH v4 03/11] arm64: dts: ls1088a: add external MDIO device nodes Ioana Ciornei
2020-10-30 8:16 ` Shawn Guo
2020-10-30 9:22 ` Ioana Ciornei
2020-10-26 16:09 ` [PATCH v4 04/11] arm64: dts: ls1088ardb: add QSGMII PHY nodes Ioana Ciornei
2020-10-26 16:09 ` [PATCH v4 05/11] arm64: dts: ls1088ardb: add necessary DTS nodes for DPMAC2 Ioana Ciornei
2020-10-26 16:10 ` [PATCH v4 06/11] arm64: dts: ls208xa: add the external MDIO nodes Ioana Ciornei
2020-10-26 16:10 ` Ioana Ciornei [this message]
2020-10-26 16:10 ` [PATCH v4 08/11] arm64: dts: ls2088ardb: add PHY nodes for the AQR405 PHYs Ioana Ciornei
2020-10-26 16:10 ` [PATCH v4 09/11] arm64: dts: ls208xa: add PCS MDIO and PCS PHY nodes Ioana Ciornei
2020-10-26 16:10 ` [PATCH v4 10/11] arm64: dts: lx2160a: " Ioana Ciornei
2020-10-26 16:10 ` [PATCH v4 11/11] arm64: dts: lx2160ardb: add nodes for the AQR107 PHYs Ioana Ciornei
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20201026161005.5421-8-ioana.ciornei@nxp.com \
--to=ioana.ciornei@nxp.com \
--cc=devicetree@vger.kernel.org \
--cc=leoyang.li@nxp.com \
--cc=linux-kernel@vger.kernel.org \
--cc=robh+dt@kernel.org \
--cc=shawnguo@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).