From: Biju Das Date: Thu, 30 Apr 2026 12:53:09 +0000 (+0100) Subject: arm64: dts: renesas: rzg3l-smarc-som: Add pinctrl configuration for ETH0 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=72411a23c3942a2d5462f1695f0bceaf1c018bf7;p=thirdparty%2Flinux.git arm64: dts: renesas: rzg3l-smarc-som: Add pinctrl configuration for ETH0 Add pin control configuration for the ETH0 Ethernet interface on the RZ/G3L SMARC SoM board and also enable hotplug support. Signed-off-by: Biju Das Reviewed-by: Geert Uytterhoeven Link: https://patch.msgid.link/20260430125342.439755-6-biju.das.jz@bp.renesas.com Signed-off-by: Geert Uytterhoeven --- diff --git a/arch/arm64/boot/dts/renesas/r9a08g046l48-smarc.dts b/arch/arm64/boot/dts/renesas/r9a08g046l48-smarc.dts index acead2b1c842b..0ae052238b3b5 100644 --- a/arch/arm64/boot/dts/renesas/r9a08g046l48-smarc.dts +++ b/arch/arm64/boot/dts/renesas/r9a08g046l48-smarc.dts @@ -14,6 +14,7 @@ #include #include +#include #include "r9a08g046l48.dtsi" #include "rzg3l-smarc-som.dtsi" #include "renesas-smarc2.dtsi" diff --git a/arch/arm64/boot/dts/renesas/rzg3l-smarc-som.dtsi b/arch/arm64/boot/dts/renesas/rzg3l-smarc-som.dtsi index fb781d9035aa6..c7227a865fa40 100644 --- a/arch/arm64/boot/dts/renesas/rzg3l-smarc-som.dtsi +++ b/arch/arm64/boot/dts/renesas/rzg3l-smarc-som.dtsi @@ -23,6 +23,8 @@ phy-handle = <&phy0>; phy-mode = "rgmii-id"; + pinctrl-0 = <ð0_pins>; + pinctrl-names = "default"; status = "okay"; }; @@ -38,6 +40,7 @@ phy0: ethernet-phy@7 { compatible = "ethernet-phy-id0022.1640"; reg = <7>; + interrupts-extended = <&icu 3 IRQ_TYPE_LEVEL_LOW>; rxc-skew-psec = <1400>; txc-skew-psec = <1400>; rxdv-skew-psec = <0>; @@ -52,3 +55,32 @@ txd3-skew-psec = <0>; }; }; + +&pinctrl { + eth0_pins: eth0 { + txc { + pinmux = ; /* ETH0_TXC_REF_CLK */ + power-source = <1800>; + output-enable; + drive-strength-microamp = <5200>; + }; + + ctrl { + pinmux = , /* MDIO */ + , /* MDC */ + , /* RX_CTL */ + , /* TX_CTL */ + , /* RXC */ + , /* TXD0 */ + , /* TXD1 */ + , /* TXD2 */ + , /* TXD3 */ + , /* RXD0 */ + , /* RXD1 */ + , /* RXD2 */ + , /* RXD3 */ + ; /* PHY_INTR */ + power-source = <1800>; + }; + }; +};