From nobody Sat Feb 7 09:04:20 2026 Received: from smtp-190b.mail.infomaniak.ch (smtp-190b.mail.infomaniak.ch [185.125.25.11]) (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 F1D1E35A945 for ; Mon, 2 Feb 2026 10:37:00 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=185.125.25.11 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1770028623; cv=none; b=jAXQVPOLH7UjycqEQOR9Euxzituplg4pHF2a/xcj9ZWxasAPemY+YrHxZ1apZFms/jfDn71JgfTtbfHpOM5biLKVjIdt5SCzDZTtqEj+5RAUUBVoYmpuO/O1aSDuY5E8Q/cBawOcOe88Jbf+0Up+wJRkvtg+0g4+uEMA1fPoQdw= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1770028623; c=relaxed/simple; bh=bleeBFJPuuFsgNHUwUVf9FvzmPn7y26MsMtoKi1PeCs=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=KH+6n2XIqdzxa0pfgBe8FaEEFUyZDzBVNMQ/UE02oDJFxeeM6zZiq3qyfb4iSmAA6l1j0SWVn+tqRB4Oj2K5K8YM/oZrzI5DPYbCp4d5jJ7kZDzVcBAon0kHmPmvtxuns+1NUhUQgeBzsErtCkg+UyO58Yu64u3Ugj1rQejraNs= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=0leil.net; spf=pass smtp.mailfrom=0leil.net; arc=none smtp.client-ip=185.125.25.11 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=0leil.net Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=0leil.net Received: from smtp-4-0000.mail.infomaniak.ch (smtp-4-0000.mail.infomaniak.ch [10.7.10.107]) by smtp-4-3000.mail.infomaniak.ch (Postfix) with ESMTPS id 4f4N993pdZz7Y0; Mon, 2 Feb 2026 11:27:41 +0100 (CET) Received: from unknown by smtp-4-0000.mail.infomaniak.ch (Postfix) with ESMTPA id 4f4N986dlPz6vV; Mon, 2 Feb 2026 11:27:40 +0100 (CET) From: Quentin Schulz Date: Mon, 02 Feb 2026 11:27:25 +0100 Subject: [PATCH 1/2] arm64: dts: rockchip: fix Ethernet PHY not found on PX30 Cobra Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20260202-px30-eth-phy-v1-1-ef365be64922@cherry.de> References: <20260202-px30-eth-phy-v1-0-ef365be64922@cherry.de> In-Reply-To: <20260202-px30-eth-phy-v1-0-ef365be64922@cherry.de> To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Heiko Stuebner Cc: Heiko Stuebner , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org, Quentin Schulz , stable@vger.kernel.org X-Mailer: b4 0.14.3 X-Infomaniak-Routing: alpha From: Quentin Schulz When not passing the PHY ID with an ethernet-phy-idX.Y compatible property, the MDIO bus will attempt to auto-detect the PHY by reading its registers and then probing the appropriate driver. For this to work, the PHY needs to be in a working state. Unfortunately, the net subsystem doesn't control the PHY reset GPIO when attempting to auto-detect the PHY. This means the PHY needs to be in a working state when entering the Linux kernel. This historically has been the case for this device, but only because the bootloader was taking care of initializing the Ethernet controller even when not using it. We're attempting to support the removal of the network stack in the bootloader, which means the Linux kernel will be entered with the PHY still in reset and now Ethernet doesn't work anymore. The devices in the field only ever had a TI DP83825, so let's simply bypass the auto-detection mechanism entirely by passing the appropriate PHY IDs via the compatible. Cc: stable@vger.kernel.org Fixes: bb510ddc9d3e ("arm64: dts: rockchip: add px30-cobra base dtsi and bo= ard variants") Signed-off-by: Quentin Schulz --- arch/arm64/boot/dts/rockchip/px30-cobra.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/rockchip/px30-cobra.dtsi b/arch/arm64/boot= /dts/rockchip/px30-cobra.dtsi index b7e669d8ba4d1..add917af5de78 100644 --- a/arch/arm64/boot/dts/rockchip/px30-cobra.dtsi +++ b/arch/arm64/boot/dts/rockchip/px30-cobra.dtsi @@ -397,7 +397,7 @@ &io_domains { =20 &mdio { dp83825: ethernet-phy@0 { - compatible =3D "ethernet-phy-ieee802.3-c22"; + compatible =3D "ethernet-phy-id2000.a140"; reg =3D <0x0>; pinctrl-names =3D "default"; pinctrl-0 =3D <&phy_rst>; --=20 2.52.0