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 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 smtp.lore.kernel.org (Postfix) with ESMTPS id 0623DECAAD3 for ; Thu, 15 Sep 2022 13:21:32 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id CFDB384849; Thu, 15 Sep 2022 15:21:29 +0200 (CEST) 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=1663248090; bh=SA4DZQWsJaqwUxbBFKzvnptHT1mO9VVQewacwIGDDOY=; h=From:To:Subject:Date:In-Reply-To:References:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=IKTenlcAaD4IcRM//Pjl9YcgItOtfk7O+qL8Ihh2fipxSxfVOj3QNU7teoZbG8ym7 ibhRAnBG/zi+kN+u+//oWwhN3JYj9YR231CTCYW7+vDIOtTHxB4k8E9TgjKPHw7EMl azShqxDXthT86S44iUH21vJe6Nq6DX29jUlHkzLeG31wyGzkEPkxY+++KnerYYf+7V Q9cfwTNETtZWEcWEWh6N80Lqz1v1QRIOSvdvZ9bqc4CXYNwmrrsqGn2K/rqZjZd+s1 DNrOSMCT/cwp2A13dj98ZG61psaX0A+pHXdiZEgPZtc3zEFiDWYjEd7Mn193Cp5Qns yy2bwCXd2LxHw== Received: by phobos.denx.de (Postfix, from userid 109) id C3DD184A0D; Thu, 15 Sep 2022 15:21:28 +0200 (CEST) Received: from mout-u-107.mailbox.org (mout-u-107.mailbox.org [80.241.59.207]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 99DFD8403D for ; Thu, 15 Sep 2022 15:21:25 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=denx.de Authentication-Results: phobos.denx.de; spf=fail smtp.mailfrom=sr@denx.de Received: from smtp202.mailbox.org (smtp202.mailbox.org [IPv6:2001:67c:2050:b231:465::202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-u-107.mailbox.org (Postfix) with ESMTPS id 4MSyX352gjz9sTk for ; Thu, 15 Sep 2022 15:21:23 +0200 (CEST) From: Stefan Roese To: u-boot@lists.denx.de Subject: [PATCH 2/2] arm: mvebu: theadorable: Update eth & mdio DT nodes Date: Thu, 15 Sep 2022 15:21:22 +0200 Message-Id: <20220915132122.1530940-2-sr@denx.de> In-Reply-To: <20220915132122.1530940-1-sr@denx.de> References: <20220915132122.1530940-1-sr@denx.de> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 4MSyX352gjz9sTk X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 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.6 at phobos.denx.de X-Virus-Status: Clean With the recent changes in the Marvel mvneta network driver, the MDIO bus is not connected any more. This patch updates the DT nodes to use the nodes from the dtsi files instead of creating ad-hoc nodes. Signed-off-by: Stefan Roese --- arch/arm/dts/armada-xp-theadorable.dts | 27 ++++++++++++-------------- 1 file changed, 12 insertions(+), 15 deletions(-) diff --git a/arch/arm/dts/armada-xp-theadorable.dts b/arch/arm/dts/armada-xp-theadorable.dts index ba73386d4f0a..7d833640b6d6 100644 --- a/arch/arm/dts/armada-xp-theadorable.dts +++ b/arch/arm/dts/armada-xp-theadorable.dts @@ -107,20 +107,6 @@ status = "okay"; }; - mdio { - #address-cells = <1>; - #size-cells = <0>; - phy0: ethernet-phy@0 { - reg = <0>; - }; - }; - - ethernet@70000 { - status = "okay"; - phy = <&phy0>; - phy-mode = "sgmii"; - }; - usb@50000 { status = "okay"; }; @@ -166,6 +152,18 @@ clock-frequency = <100000>; }; +&mdio { + phy0: ethernet-phy@0 { + reg = <0>; + }; +}; + +ð0 { + status = "okay"; + phy = <&phy0>; + phy-mode = "sgmii"; +}; + &spi0 { status = "okay"; @@ -198,7 +196,6 @@ }; }; - &pciec { status = "okay"; -- 2.37.3