Skip to content

Commit f443339

Browse files
committed
feat: enable Portenta H7 ethernet
1 parent 4726296 commit f443339

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

variants/arduino_portenta_h7_stm32h747xx_m7/arduino_portenta_h7_stm32h747xx_m7.overlay

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,30 @@
122122
status = "okay";
123123
};
124124

125+
&mac {
126+
pinctrl-0 = < &eth_ref_clk_pa1
127+
&eth_crs_dv_pa7
128+
&eth_rxd0_pc4
129+
&eth_rxd1_pc5
130+
&eth_tx_en_pg11
131+
&eth_txd1_pg12
132+
&eth_txd0_pg13 >;
133+
pinctrl-names = "default";
134+
status = "okay";
135+
};
136+
137+
&mdio {
138+
status = "okay";
139+
pinctrl-0 = <&eth_mdio_pa2 &eth_mdc_pc1>;
140+
pinctrl-names = "default";
141+
142+
ethernet-phy@0 {
143+
compatible = "ethernet-phy";
144+
reg = <0x00>;
145+
status = "okay";
146+
};
147+
};
148+
125149
&dmamux1 {
126150
status = "okay";
127151
};

0 commit comments

Comments
 (0)