Skip to content

Commit ae49d58

Browse files
Marek Vasutgeertu
authored andcommitted
arm64: dts: renesas: v3msk: Specify ethernet PHY reset timings
The KSZ9031RNX reference manual [1] DS00002117K page 62 FIGURE 7-5: POWER-UP/POWER-DOWN/RESET TIMING Note 2 states, that after the de-assertion of reset, wait a minimum of 100 us before starting programming on the MIIM (MDC/MDIO) interface. Set DT property reset-deassert-us to three times that, 300 us, to provide ample time between reset deassertion and MDIO access. The KSZ9031RNX reference manual [1] DS00002117K page 62 TABLE 7-4: POWER-UP/POWER-DOWN/RESET TIMING PARAMETERS row tSR Stable supply voltages to de-assertion of reset is at minimum 10 ms. Set DT property reset-assert-us to 10ms because the KSZ9031RNX RM does not explicitly spell out how long the reset has to be asserted, but this at least covers the worst case scenario. [1] https://ww1.microchip.com/downloads/aemDocuments/documents/UNG/ProductDocuments/DataSheets/KSZ9031RNX-Data-Sheet-DS00002117.pdf Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org> Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be> Link: https://patch.msgid.link/20260505034325.167797-5-marek.vasut+renesas@mailbox.org Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
1 parent 67c2dd7 commit ae49d58

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

arch/arm64/boot/dts/renesas/r8a77970-v3msk.dts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,8 @@
119119
reg = <0>;
120120
interrupts-extended = <&gpio1 17 IRQ_TYPE_LEVEL_LOW>;
121121
reset-gpios = <&gpio1 16 GPIO_ACTIVE_LOW>;
122+
reset-assert-us = <10000>;
123+
reset-deassert-us = <300>;
122124
};
123125
};
124126

0 commit comments

Comments
 (0)