]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
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 ee32c6f43d5879b1a73ab8a10aa7a2da3554f0af..2a8f0545b1a3d1cd5704b3b782e3c6ae54de963d 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;
+};