[PATCH 1/2] arm64: dts: renesas: cat875: Specify ethernet PHY reset timings
Marek Vasut <[email protected]>
| Newsgroups | org.kernel.vger.linux-renesas-soc,org.infradead.lists.linux-arm-kernel,org.kernel.vger.linux-devicetree,org.kernel.vger.linux-kernel |
|---|---|
| Message-ID | <[email protected]> |
The RTL8211E reference manual [1] page 38 chapter 7.16. PHY Reset (Hardware Reset) states that the PHYRSTB pin must be asserted low for at least 10ms (Tgap in Figure 10) and the system must wait at minimum 30ms (for internal circuits settle time) before accessing the PHY registers. Use 15ms and 35ms respectively to provide some additional margin. [1] https://files.pine64.org/doc/datasheet/pine64/rtl8211e%28g%29-vb%28vl%29-cg_datasheet_1.6.pdf Signed-off-by: Marek Vasut <[email protected]> --- Cc: Conor Dooley <[email protected]> Cc: Geert Uytterhoeven <[email protected]> Cc: Krzysztof Kozlowski <[email protected]> Cc: Magnus Damm <[email protected]> Cc: Rob Herring <[email protected]> Cc: [email protected] Cc: [email protected] Cc: [email protected] --- arch/arm64/boot/dts/renesas/cat875.dtsi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm64/boot/dts/renesas/cat875.dtsi b/arch/arm64/boot/dts/renesas/cat875.dtsi index 5815e9d2d8a93..196cf2e6007ea 100644 --- a/arch/arm64/boot/dts/renesas/cat875.dtsi +++ b/arch/arm64/boot/dts/renesas/cat875.dtsi @@ -23,12 +23,14 @@ &avb { phy0: ethernet-phy@0 { compatible = "ethernet-phy-id001c.c915"; reg = <0>; interrupts-extended = <&gpio2 21 IRQ_TYPE_LEVEL_LOW>; reset-gpios = <&gpio1 20 GPIO_ACTIVE_LOW>; + reset-assert-us = <15000>; + reset-deassert-us = <35000>; }; }; &can0 { pinctrl-0 = <&can0_pins>; pinctrl-names = "default"; -- 2.53.0