From nobody Sat Feb 7 05:44:15 2026 Received: from gloria.sntech.de (gloria.sntech.de [185.11.138.130]) (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 3566A28B4F0 for ; Sun, 1 Feb 2026 19:18:16 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=185.11.138.130 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1769973498; cv=none; b=fmFY8dfwtt6o8Q9GzbXVGDBxl4aGvtA+zDxdPc+81pV6jR5hUUTECvc8d/9F6mrzTmwN3OL7DaGihILppjLxOyDJA23I6GYpQCKFPSP2UQ1+PWiJaVsBRk/B7X4TNRlLOulxIcAza2QaQuS6nhoI1VOvMMtB292MoILKt3MJycc= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1769973498; c=relaxed/simple; bh=6dldJBM/2Cp1xjI3NY7IFNEv9i0x3pyXd5ED55N2rN0=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=pfS6kN91rbitqfeK1ijjfpwmdEHUZnIcauo9gyUIJuAxq0+QriV3EaQdvYOcF03NDxmdmz+EzDCezMTVIUwZEYxMSr93ov+wdEL6K4FcRFxrlgk1ZtrzFnv3rEr0clrcKk+ZGwLyJaKg+pk0PAu9rSso6Pb68EYu6yRjsv6LaDY= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=sntech.de; spf=pass smtp.mailfrom=sntech.de; dkim=pass (2048-bit key) header.d=sntech.de header.i=@sntech.de header.b=jdU90e/I; arc=none smtp.client-ip=185.11.138.130 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=sntech.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=sntech.de Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=sntech.de header.i=@sntech.de header.b="jdU90e/I" DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sntech.de; s=gloria202408; h=Content-Transfer-Encoding:MIME-Version:References: In-Reply-To:Message-ID:Date:Subject:Cc:To:From:Reply-To:Content-Type; bh=oY9lKxk5AO/OIHyzqKioV0eS8+fpzb5n8emykS9njJM=; b=jdU90e/IR1JOqav8FIufAT2jmH bWn2KNSIY565PRN8uJXaTZAMrcoFb6QUy12CWtz1I4Bn+6U+/vTWjzN4uL0JlwXEU7dE2e0IJtBZY sqbRErmwenVCxxcH92V52Nf2nYTJaJIQriB+/3Nsi90v0MdJ35fW2yISrk4VPmVlCbW3JC0kBF41J lyk3PjBWT+T+DamODQlHDG0kQmonfWBvF82SOeBNcsXGo3RpAqK6NEMZBDfchhQI49zPSWpZmUx19 DOTQpSKKBTI5OIG5wFJTfEOtIB6NMUsv25qonhYhjXQz/fJMyI0Q3+r6n1N7/rUa8/w8pVA7QGJLn v26vCXDw==; Received: from [88.128.88.21] (helo=phil.t-mobile.de) by gloria.sntech.de with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1vmcxT-005wWz-3W; Sun, 01 Feb 2026 20:18:07 +0100 From: Heiko Stuebner To: heiko@sntech.de Cc: linux-rockchip@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH 1/4] arm64: dts: rockchip: Add port subnodes to RK356x SATA controllers Date: Sun, 1 Feb 2026 20:18:01 +0100 Message-ID: <20260201191804.41421-2-heiko@sntech.de> X-Mailer: git-send-email 2.47.2 In-Reply-To: <20260201191804.41421-1-heiko@sntech.de> References: <20260201191804.41421-1-heiko@sntech.de> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" The SATA controllers on RK356x are identical to the ones found on RK3588, but don't yet provide a port sub-node. Per the datasheet the RK356x also supports the fbscp capability and has the same queue maximums. So add port sub-nodes to both sata controllers on RK356x, and move the phy properties to it. Also add phandles to the ports, so that boards can add their target-supply when available. Signed-off-by: Heiko Stuebner --- arch/arm64/boot/dts/rockchip/rk356x-base.dtsi | 27 ++++++++++++++++--- 1 file changed, 23 insertions(+), 4 deletions(-) diff --git a/arch/arm64/boot/dts/rockchip/rk356x-base.dtsi b/arch/arm64/boo= t/dts/rockchip/rk356x-base.dtsi index b84055a77ac5..c6bd051b6a25 100644 --- a/arch/arm64/boot/dts/rockchip/rk356x-base.dtsi +++ b/arch/arm64/boot/dts/rockchip/rk356x-base.dtsi @@ -3,6 +3,7 @@ * Copyright (c) 2021 Rockchip Electronics Co., Ltd. */ =20 +#include #include #include #include @@ -234,11 +235,20 @@ sata1: sata@fc400000 { <&cru CLK_SATA1_RXOOB>; clock-names =3D "sata", "pmalive", "rxoob"; interrupts =3D ; - phys =3D <&combphy1 PHY_TYPE_SATA>; - phy-names =3D "sata-phy"; ports-implemented =3D <0x1>; power-domains =3D <&power RK3568_PD_PIPE>; + #address-cells =3D <1>; + #size-cells =3D <0>; status =3D "disabled"; + + sata1_port0: sata-port@0 { + reg =3D <0>; + hba-port-cap =3D ; + phys =3D <&combphy1 PHY_TYPE_SATA>; + phy-names =3D "sata-phy"; + snps,rx-ts-max =3D <32>; + snps,tx-ts-max =3D <32>; + }; }; =20 sata2: sata@fc800000 { @@ -248,11 +258,20 @@ sata2: sata@fc800000 { <&cru CLK_SATA2_RXOOB>; clock-names =3D "sata", "pmalive", "rxoob"; interrupts =3D ; - phys =3D <&combphy2 PHY_TYPE_SATA>; - phy-names =3D "sata-phy"; ports-implemented =3D <0x1>; power-domains =3D <&power RK3568_PD_PIPE>; + #address-cells =3D <1>; + #size-cells =3D <0>; status =3D "disabled"; + + sata2_port0: sata-port@0 { + reg =3D <0>; + hba-port-cap =3D ; + phys =3D <&combphy2 PHY_TYPE_SATA>; + phy-names =3D "sata-phy"; + snps,rx-ts-max =3D <32>; + snps,tx-ts-max =3D <32>; + }; }; =20 usb_host0_xhci: usb@fcc00000 { --=20 2.47.2