From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 618DD245010; Tue, 30 Sep 2025 15:23:56 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1759245836; cv=none; b=Nfvkkk32tD1w1+9UUDc6sJK/jJCvB+HURizsj0YYpZ96lg6fhkI5X5bqGCmYgRKT/AUNbsE5Ev/WvMPgJr3Jefb0N6HfpEZC/nfn2a3LE4XJq9YVKjW9Y/yiXQ39W2ievtV89GR+dYL09D7M0e6ikuSNfVRepEI2sG/xp8Wq/Ys= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1759245836; c=relaxed/simple; bh=eD/AEd27F3XjyoRwi6ZgQw14QMkQIW3Z/ph7mDTg7HI=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=lFoWHPkoxJ9ObOloFfUA8qkM3U6Wu+BbqeHQrCrLGz6+hptPSZkSxVHqd58ayB7vFKNjHQXLn+HlClB9vBPAVC7wkgJ/K9DF6rGavk/DGvdIYMrXyO1X26/2OCMtxjagmsRyjrapP768Kvt8ntEP4jbbzqJdaQ9DWT6YoWYbm4A= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=gwWH0i7k; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="gwWH0i7k" Received: by smtp.kernel.org (Postfix) with ESMTPSA id C5230C4CEF0; Tue, 30 Sep 2025 15:23:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1759245836; bh=eD/AEd27F3XjyoRwi6ZgQw14QMkQIW3Z/ph7mDTg7HI=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=gwWH0i7k2If9zhH1iJScqPT0K0LH3GD0rzNh+yCa1UQyoulzEgGhma7HBUUUFwqqZ vTKh/ucnSEdKMIk5h/aBENICk6eQflvTm5MiT/upsniSRRmISM1Vc6QyEy4OCG26mG +Jy4KoStr2BvYEOAlI1Ci2fnl7y25NNxrRFN0OXw= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, Nobuhiro Iwamatsu , Dinh Nguyen Subject: [PATCH 6.6 65/91] ARM: dts: socfpga: sodia: Fix mdio bus probe and PHY address Date: Tue, 30 Sep 2025 16:48:04 +0200 Message-ID: <20250930143823.886899461@linuxfoundation.org> X-Mailer: git-send-email 2.51.0 In-Reply-To: <20250930143821.118938523@linuxfoundation.org> References: <20250930143821.118938523@linuxfoundation.org> User-Agent: quilt/0.69 X-stable: review X-Patchwork-Hint: ignore Precedence: bulk X-Mailing-List: patches@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 6.6-stable review patch. If anyone has any objections, please let me know. ------------------ From: Nobuhiro Iwamatsu commit ea9da67e2add7bd5f1e4b38dc2404480e711f4d8 upstream. On SoCFPGA/Sodia board, mdio bus cannot be probed, so the PHY cannot be found and the network device does not work. ``` stmmaceth ff702000.ethernet eth0: __stmmac_open: Cannot attach to PHY (error: -19) ``` To probe the mdio bus, add "snps,dwmac-mdio" as compatible string of the mdio bus. Also the PHY address connected to this board is 4. Therefore, change to 4. Cc: stable@vger.kernel.org # 6.3+ Signed-off-by: Nobuhiro Iwamatsu Signed-off-by: Dinh Nguyen Signed-off-by: Greg Kroah-Hartman --- arch/arm/boot/dts/intel/socfpga/socfpga_cyclone5_sodia.dts | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) --- a/arch/arm/boot/dts/intel/socfpga/socfpga_cyclone5_sodia.dts +++ b/arch/arm/boot/dts/intel/socfpga/socfpga_cyclone5_sodia.dts @@ -66,8 +66,10 @@ mdio0 { #address-cells = <1>; #size-cells = <0>; - phy0: ethernet-phy@0 { - reg = <0>; + compatible = "snps,dwmac-mdio"; + + phy0: ethernet-phy@4 { + reg = <4>; rxd0-skew-ps = <0>; rxd1-skew-ps = <0>; rxd2-skew-ps = <0>;