From patchwork Wed Jul 1 14:43:10 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Neil Armstrong X-Patchwork-Id: 240560 List-Id: U-Boot discussion From: narmstrong at baylibre.com (Neil Armstrong) Date: Wed, 1 Jul 2020 16:43:10 +0200 Subject: [PATCH 3/3] ARM: dts: meson-sm1-odroid-c4: add ethernet PHY reset In-Reply-To: <20200701144310.25481-1-narmstrong@baylibre.com> References: <20200701144310.25481-1-narmstrong@baylibre.com> Message-ID: <20200701144310.25481-4-narmstrong@baylibre.com> 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 Tested-by: Anand Moon --- arch/arm/dts/meson-sm1-odroid-c4-u-boot.dtsi | 6 ++++++ 1 file changed, 6 insertions(+) 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 ee32c6f43d..2a8f0545b1 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" + +ðmac { + snps,reset-gpio = <&gpio GPIOZ_15 (GPIO_ACTIVE_LOW | GPIO_OPEN_DRAIN)>; + snps,reset-delays-us = <0 10000 1000000>; + snps,reset-active-low; +};