ARM: dts: meson-sm1-odroid-c4: add ethernet PHY reset
authorNeil Armstrong <narmstrong@baylibre.com>
Fri, 19 Jun 2020 09:31:28 +0000 (11:31 +0200)
committerNeil Armstrong <narmstrong@baylibre.com>
Wed, 8 Jul 2020 08:52:45 +0000 (10:52 +0200)
The PHY needs a reset in order to be functionnal for U-Boot, add the old
PHY reset bindings for dwmac until we support the new bindings in the PHY node.

Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
Tested-by: Anand Moon <linux.amoon@gmail.com>
arch/arm/dts/meson-sm1-odroid-c4-u-boot.dtsi

index ee32c6f..2a8f054 100644 (file)
@@ -5,3 +5,9 @@
  */
 
 #include "meson-g12-common-u-boot.dtsi"
+
+&ethmac {
+       snps,reset-gpio = <&gpio GPIOZ_15 (GPIO_ACTIVE_LOW | GPIO_OPEN_DRAIN)>;
+       snps,reset-delays-us = <0 10000 1000000>;
+       snps,reset-active-low;
+};