]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
arm64: dts: meson: odroidc2: readd PHY reset properties
authorStefan Agner <stefan@agner.ch>
Thu, 8 Apr 2021 08:25:28 +0000 (10:25 +0200)
committerTom Rini <trini@konsulko.com>
Tue, 20 Apr 2021 11:30:04 +0000 (07:30 -0400)
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>
arch/arm/dts/meson-gxbb-odroidc2-u-boot.dtsi

index 90087b00dba40519ab27804d94f8ba921b994d0b..5a2be8171e17558b021e5e5ced1d9fc350611ee5 100644 (file)
        };
 };
 
+&ethmac {
+       snps,reset-gpio = <&gpio GPIOZ_14 0>;
+       snps,reset-delays-us = <0 10000 1000000>;
+       snps,reset-active-low;
+};
+
 &usb0 {
        status = "disabled";
 };