aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Agner2021-04-08 10:25:28 +0200
committerTom Rini2021-04-20 07:30:04 -0400
commit30d083d22611c5d54163f668cb3f412ac318ec6c (patch)
treef3476a0bada2b930069e2ad00e7674e0e0e6b094
parent5fa1e2ffebcb78f6e249c2b2b9a0430b440fa4c6 (diff)
arm64: dts: meson: odroidc2: readd PHY reset properties
The sync of the device tree and dt-bindings from Linux v5.6-rc2 11a48a5a18c6 ("Linux 5.6-rc2") causes Ethernet to break on some ODROID-C2. The PHY seems to need proper reset timing to be functional in U-Boot and Linux afterwards. Readd the old PHY reset bindings for dwmac until we support the new bindings in the PHY node. Fixes: dd5f2351e99a ("arm64: dts: meson: sync dt and bindings from v5.6-rc2") Signed-off-by: Stefan Agner <stefan@agner.ch> Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
-rw-r--r--arch/arm/dts/meson-gxbb-odroidc2-u-boot.dtsi6
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/arm/dts/meson-gxbb-odroidc2-u-boot.dtsi b/arch/arm/dts/meson-gxbb-odroidc2-u-boot.dtsi
index 90087b00dba..5a2be8171e1 100644
--- a/arch/arm/dts/meson-gxbb-odroidc2-u-boot.dtsi
+++ b/arch/arm/dts/meson-gxbb-odroidc2-u-boot.dtsi
@@ -29,6 +29,12 @@
};
};
+&ethmac {
+ snps,reset-gpio = <&gpio GPIOZ_14 0>;
+ snps,reset-delays-us = <0 10000 1000000>;
+ snps,reset-active-low;
+};
+
&usb0 {
status = "disabled";
};