From: Jisheng Zhang <jszhang@kernel.org>
To: Andrew Lunn <andrew@lunn.ch>,
Heiner Kallweit <hkallweit1@gmail.com>,
Russell King <linux@armlinux.org.uk>,
"David S . Miller" <davem@davemloft.net>,
Eric Dumazet <edumazet@google.com>,
Jakub Kicinski <kuba@kernel.org>, Paolo Abeni <pabeni@redhat.com>,
Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>,
Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>,
Maxime Chevallier <maxime.chevallier@bootlin.com>,
Maxime Coquelin <mcoquelin.stm32@gmail.com>,
Alexandre Torgue <alexandre.torgue@foss.st.com>
Cc: netdev@vger.kernel.org, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org,
linux-arm-kernel@lists.infradead.org
Subject: [PATCH 8/8] arm64: dts: synaptics: Enable Ethernet on SL2619 RDK
Date: Mon, 16 Nov 2026 21:54:42 +0800 [thread overview]
Message-ID: <20261116135442.4827-9-jszhang@kernel.org> (raw)
In-Reply-To: <20261116135442.4827-1-jszhang@kernel.org>
The SL2619 RDK uses the second MAC with an external RGMII PHY at MDIO
address 2. Enable the MAC, its pin configuration and the shared MDIO
selector. Describe the PHY reset GPIO and timing on the demultiplexed
bus selecting the second MDIO master.
Signed-off-by: Jisheng Zhang <jszhang@kernel.org>
---
arch/arm64/boot/dts/synaptics/sl2619-rdk.dts | 77 ++++++++++++++++++++
1 file changed, 77 insertions(+)
diff --git a/arch/arm64/boot/dts/synaptics/sl2619-rdk.dts b/arch/arm64/boot/dts/synaptics/sl2619-rdk.dts
index 58901ac2a050..d10811e8436a 100644
--- a/arch/arm64/boot/dts/synaptics/sl2619-rdk.dts
+++ b/arch/arm64/boot/dts/synaptics/sl2619-rdk.dts
@@ -13,4 +13,81 @@
/ {
model = "Synaptics SL2619 RDK";
compatible = "syna,sl2619-rdk", "syna,sl2619";
+
+ aliases {
+ ethernet0 = ðernet1;
+ ethernet1 = ðernet0;
+ };
+
+ mdio-demux {
+ compatible = "mdio-demux";
+ mdio-parent-bus = <&mdio1>;
+ mux-controls = <&mux1 0>;
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ mdio@1 {
+ reg = <0x1>;
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ ethernet_phy1: ethernet-phy@2 {
+ compatible = "ethernet-phy-id001c.c916";
+ reg = <2>;
+ pinctrl-0 = <ð1_phy_rst_pmux>;
+ pinctrl-names = "default";
+ realtek,clkout-disable;
+ reset-assert-us = <20000>;
+ reset-deassert-us = <100000>;
+ reset-gpios = <&portf 3 GPIO_ACTIVE_HIGH>;
+ };
+ };
+ };
+};
+
+&sm_pinctrl {
+ eth1_phy_rst_pmux: eth1_phy_rst-pmux {
+ groups = "SM_GPIO35";
+ function = "gpio";
+ };
+};
+
+&pinctrl {
+ eth_mdio_pmux: eth-mdio-pmux {
+ groups = "GPIO31", "GPIO32";
+ function = "rgmii";
+ drive-strength = <7>;
+ };
+
+ eth1_tx_pmux: eth1_tx-pmux {
+ groups = "GPIO48", "GPIO49", "GPIO50", "GPIO51", "GPIO57", "GPIO58";
+ function = "rgmii2";
+ drive-strength = <10>;
+ input-disable;
+ bias-disable;
+ };
+
+ eth1_rx_pmux: eth1_rx-pmux {
+ groups = "GPIO52", "GPIO53", "GPIO54", "GPIO55", "GPIO56", "GPIO59";
+ function = "rgmii2";
+ drive-strength = <7>;
+ };
+};
+
+&mux1 {
+ status = "okay";
+};
+
+ðernet1 {
+ status = "okay";
+ pinctrl-0 = <ð_mdio_pmux>, <ð1_tx_pmux>, <ð1_rx_pmux>;
+ pinctrl-names = "default";
+ phy-handle = <ðernet_phy1>;
+ phy-mode = "rgmii-id";
+
+ mdio1: mdio {
+ compatible = "snps,dwmac-mdio";
+ #address-cells = <1>;
+ #size-cells = <0>;
+ };
};
--
2.55.0
prev parent reply other threads:[~2026-11-16 14:15 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-16 13:54 [PATCH 0/8] net: stmmac: add SL2610 ethernet support Jisheng Zhang
2026-11-16 13:54 ` [PATCH 1/8] dt-bindings: net: Add MDIO demultiplexer Jisheng Zhang
2026-11-16 15:06 ` Andrew Lunn
2026-11-16 13:54 ` [PATCH 2/8] net: mdio: Add MDIO demultiplexer driver Jisheng Zhang
2026-11-16 13:54 ` [PATCH 3/8] dt-bindings: net: Add Synaptics SL2610 DWMAC Jisheng Zhang
2026-11-16 13:54 ` [PATCH 4/8] net: stmmac: Add glue layer for Synaptics SL2610 SoC Jisheng Zhang
2026-11-16 13:54 ` [PATCH 5/8] dt-bindings: soc: synaptics: Allow SL2610 mux controller children Jisheng Zhang
2026-11-16 13:54 ` [PATCH 6/8] soc: synaptics: Populate SL2610 system controller DT children Jisheng Zhang
2026-11-16 13:54 ` [PATCH 7/8] arm64: dts: synaptics: Add SL2610 Ethernet nodes Jisheng Zhang
2026-11-16 13:54 ` Jisheng Zhang [this message]
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=20261116135442.4827-9-jszhang@kernel.org \
--to=jszhang@kernel.org \
--cc=alexandre.torgue@foss.st.com \
--cc=andrew@lunn.ch \
--cc=conor+dt@kernel.org \
--cc=davem@davemloft.net \
--cc=devicetree@vger.kernel.org \
--cc=edumazet@google.com \
--cc=hkallweit1@gmail.com \
--cc=krzk+dt@kernel.org \
--cc=kuba@kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux@armlinux.org.uk \
--cc=maxime.chevallier@bootlin.com \
--cc=mcoquelin.stm32@gmail.com \
--cc=netdev@vger.kernel.org \
--cc=pabeni@redhat.com \
--cc=robh@kernel.org \
--cc=sebastian.hesselbarth@gmail.com \
/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