From f4433393b6083392f0bd48d5b0eb60228195ba45 Mon Sep 17 00:00:00 2001 From: Razvan Grigore Date: Fri, 23 May 2025 13:49:10 +0300 Subject: [PATCH] feat: enable Portenta H7 ethernet --- ...arduino_portenta_h7_stm32h747xx_m7.overlay | 24 +++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/variants/arduino_portenta_h7_stm32h747xx_m7/arduino_portenta_h7_stm32h747xx_m7.overlay b/variants/arduino_portenta_h7_stm32h747xx_m7/arduino_portenta_h7_stm32h747xx_m7.overlay index 24745551..49a1dcaa 100644 --- a/variants/arduino_portenta_h7_stm32h747xx_m7/arduino_portenta_h7_stm32h747xx_m7.overlay +++ b/variants/arduino_portenta_h7_stm32h747xx_m7/arduino_portenta_h7_stm32h747xx_m7.overlay @@ -122,6 +122,30 @@ status = "okay"; }; +&mac { + pinctrl-0 = < ð_ref_clk_pa1 + ð_crs_dv_pa7 + ð_rxd0_pc4 + ð_rxd1_pc5 + ð_tx_en_pg11 + ð_txd1_pg12 + ð_txd0_pg13 >; + pinctrl-names = "default"; + status = "okay"; +}; + +&mdio { + status = "okay"; + pinctrl-0 = <ð_mdio_pa2 ð_mdc_pc1>; + pinctrl-names = "default"; + + ethernet-phy@0 { + compatible = "ethernet-phy"; + reg = <0x00>; + status = "okay"; + }; +}; + &dmamux1 { status = "okay"; };