]> Git Repo - u-boot.git/commitdiff
ARM: dts: stm32: Add custom PHY reset bindings on AV96
authorMarek Vasut <[email protected]>
Sat, 13 Nov 2021 02:27:37 +0000 (03:27 +0100)
committerPatrice Chotard <[email protected]>
Mon, 13 Dec 2021 13:34:11 +0000 (14:34 +0100)
The ethernet PHY must be reset on AV96, however DWMAC currently does
not support the MDIO-bus PHY GPIO reset bindings and the ethernet MAC
PHY reset property is going away on next DT sync. Add PHY specific
reset bindings to trigger the PHY reset and fix sporadic ethernet
malfunctions, until the next DT sync.

Signed-off-by: Marek Vasut <[email protected]>
Cc: Patrice Chotard <[email protected]>
Cc: Patrick Delaunay <[email protected]>
Reviewed-by: Patrice Chotard <[email protected]>
Reviewed-by: Patrick Delaunay <[email protected]>
arch/arm/dts/stm32mp15xx-dhcor-avenger96-u-boot.dtsi

index 8b275e4950eede4f093ed202b5cff09736135c94..4b1dbf0838752edaf8125b9ad9e07bfa619a0962 100644 (file)
        };
 };
 
+
+&ethernet0 {
+       mdio0 {
+               ethernet-phy@7 {
+                       reset-gpios = <&gpioz 2 GPIO_ACTIVE_LOW>;
+                       reset-assert-us = <11000>;
+                       reset-deassert-us = <1000>;
+               };
+       };
+};
+
 &sdmmc1 {
        u-boot,dm-spl;
 };
This page took 0.036186 seconds and 4 git commands to generate.