Skip to content

Commit 2722bbf

Browse files
mathieuchopstmnashif
authored andcommitted
boards: st: stm32n6570_dk: use I/O delay for Ethernet
Replace the slew-rate based method of delaying signals with a more appropriate I/O delay. Also update the comment to better describe what we are now doing. Signed-off-by: Mathieu Choplain <mathieu.choplain@st.com>
1 parent fcd3004 commit 2722bbf

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

boards/st/stm32n6570_dk/stm32n6570_dk_common.dtsi

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -345,12 +345,13 @@ zephyr_udc0: &usbotg_hs1 {
345345
};
346346

347347
/**
348-
* Board-specific configuration, required to ensure that
349-
* the Tx CLK and DAT signals arrive in sync at the PHY.
350-
* Without this, the Tx will be unreliable
348+
* Per the RGMII specification, the Tx clock signal must be skewed
349+
* from the Tx data signals by 1~2 ns. On this board, the SoC must
350+
* be configured to add the required delay via pinctrl.
351351
*/
352352
&eth1_rgmii_gtx_clk_pf0 {
353-
slew-rate = "medium-speed";
353+
st,io-delay-path = "output";
354+
st,io-delay-ps = <2000>;
354355
};
355356

356357
&mac {

0 commit comments

Comments
 (0)