Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 940FFC433EF for ; Sat, 13 Nov 2021 02:27:44 +0000 (UTC) Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id E456B60E9B for ; Sat, 13 Nov 2021 02:27:43 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org E456B60E9B Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=denx.de Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=lists.denx.de Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 212B0830CE; Sat, 13 Nov 2021 03:27:42 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=denx.de Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=denx.de; s=phobos-20191101; t=1636770462; bh=htzG1sk0miUjYmWBnxt0jZo9YvkcmFuTEhUcrg+mi4I=; h=From:To:Cc:Subject:Date:List-Id:List-Unsubscribe:List-Archive: List-Post:List-Help:List-Subscribe:From; b=iOmgpx6v4zX78CQz41RNNfHt82fJAdiDkMwGoY18qArFiaZ92vMo7Y28VbEwzndpy cHx7KyvKhP+DXCqNN7nAalBDuQCo+e6PH6MaosgX2T1a3Sj9PvTYyf3G9HEia1IRwr fvmvGUKL0Z7t6/3axjhNyUyHD02ImlQBS5TmlmegwwyRQ5mj2XwqVTukrOq3D0Ir3K QKdzjgHduLygyzUnfjpeNJ7sYoZffNhDAwH+qUpLY+ugkWOA3R/UNu4InXYhk9wNgl IiBYmeU0qGzdnmExmjK7KK3piNKhckIGtR+bAh90iWo6OBYhUTLYS6ePMX1HY8jJe6 6GJ/PwW7itylQ== Received: from tr.lan (ip-89-176-112-137.net.upcbroadband.cz [89.176.112.137]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: marex@denx.de) by phobos.denx.de (Postfix) with ESMTPSA id CEAB183080; Sat, 13 Nov 2021 03:27:40 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=denx.de; s=phobos-20191101; t=1636770461; bh=htzG1sk0miUjYmWBnxt0jZo9YvkcmFuTEhUcrg+mi4I=; h=From:To:Cc:Subject:Date:From; b=jdKsVW8bwCm9ZtMQOnQkOOmTGxDsUv/ZCV+o98f9MlKAeoHJwTvYNkqB3KEWr9b0R b61Ll6Wc6fsq8eLiTIbabKM3nEjHr3vFKjHesIERu1CwHue+Tm+ZLw4AI0ELfxIiIs FQGCUMpn1iDG2rVPlUZFVHpHFSnjfmDM/cu6wvJ/9dK8a89Fr53tiP2PxqNwBysXGH q2NNBpa95QW6XXAdVjP0RRfmMX7x52p50jEI9yxv1TCrQ5YxoIBvmE+5fEK6C1QCvd h6Gm91MgKZE7Si5p3RKqXMZtxEqJNPEcobfc/AwwFsbuS703gBEuWzxTUTDJIM6le8 4KxV44CHsXO0g== From: Marek Vasut To: u-boot@lists.denx.de Cc: Marek Vasut , Patrice Chotard , Patrick Delaunay Subject: [PATCH] ARM: dts: stm32: Add custom PHY reset bindings on AV96 Date: Sat, 13 Nov 2021 03:27:37 +0100 Message-Id: <20211113022737.232052-1-marex@denx.de> X-Mailer: git-send-email 2.33.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.35 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.2 at phobos.denx.de X-Virus-Status: Clean The ethernet PHY must be reset on AV96, however DWMAC currently does not support the MDIO-bus PHY GPIO reset bindings and the ethernet MAC PHY reset property is going away on next DT sync. Add PHY specific reset bindings to trigger the PHY reset and fix sporadic ethernet malfunctions, until the next DT sync. Signed-off-by: Marek Vasut Cc: Patrice Chotard Cc: Patrick Delaunay --- arch/arm/dts/stm32mp15xx-dhcor-avenger96-u-boot.dtsi | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/arch/arm/dts/stm32mp15xx-dhcor-avenger96-u-boot.dtsi b/arch/arm/dts/stm32mp15xx-dhcor-avenger96-u-boot.dtsi index 8b275e4950e..4b1dbf08387 100644 --- a/arch/arm/dts/stm32mp15xx-dhcor-avenger96-u-boot.dtsi +++ b/arch/arm/dts/stm32mp15xx-dhcor-avenger96-u-boot.dtsi @@ -19,6 +19,17 @@ }; }; + +ðernet0 { + mdio0 { + ethernet-phy@7 { + reset-gpios = <&gpioz 2 GPIO_ACTIVE_LOW>; + reset-assert-us = <11000>; + reset-deassert-us = <1000>; + }; + }; +}; + &sdmmc1 { u-boot,dm-spl; }; -- 2.33.0