aboutsummaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorNeil Armstrong <narmstrong@baylibre.com>2020-06-19 11:31:28 +0200
committerNeil Armstrong <narmstrong@baylibre.com>2020-07-08 10:52:45 +0200
commitd9c967792b7830d51a1fe596f9a27ea6dfd4bcfe (patch)
treee042cab7273d56aadf2641dea5086128f2bec6d6 /arch
parent8888d837731d876f2685ff408edabd7fef83a2c5 (diff)
downloadu-boot-d9c967792b7830d51a1fe596f9a27ea6dfd4bcfe.zip
u-boot-d9c967792b7830d51a1fe596f9a27ea6dfd4bcfe.tar.gz
u-boot-d9c967792b7830d51a1fe596f9a27ea6dfd4bcfe.tar.bz2
ARM: dts: meson-sm1-odroid-c4: add ethernet PHY reset
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>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/dts/meson-sm1-odroid-c4-u-boot.dtsi6
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/arm/dts/meson-sm1-odroid-c4-u-boot.dtsi b/arch/arm/dts/meson-sm1-odroid-c4-u-boot.dtsi
index ee32c6f..2a8f054 100644
--- a/arch/arm/dts/meson-sm1-odroid-c4-u-boot.dtsi
+++ b/arch/arm/dts/meson-sm1-odroid-c4-u-boot.dtsi
@@ -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;
+};