[PATCH 8/8] arm64: dts: synaptics: Enable Ethernet on SL2619 RDK
Jisheng Zhang
jszhang at kernel.org
Mon Nov 16 05:54:42 PST 2026
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 at 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 at 1 {
+ reg = <0x1>;
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ ethernet_phy1: ethernet-phy at 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
More information about the linux-arm-kernel
mailing list