From nobody Tue Dec 16 14:23:41 2025 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 9441E13AD26 for ; Sat, 20 Jul 2024 21:09:07 +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=1721509750; cv=none; b=lYWb3OPIg5sNrbcyapxUwEtBbbqizXfYD1SPcn5VyGgTjmReHjXJhpvOucdjUzKw9xnV0l0Ru8BHdt3Zv6a/I/qQgI7BMub0TDL25pypux2ynf+RkZ+eM8PPJkT1WMeSAMMi0TV+DuZD0OwEWm1uzaITF14IhO5VOteTWu9/W0E= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1721509750; c=relaxed/simple; bh=hMSyXDkQmSWdq22l5z289yz2Q5mGIwsWjsSxxg3aZoQ=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=T8VyeEA40BdL/fO+1K4lLuuzAjLZJ1uBGWyTk3EOgtjdmxHhAs60p2b+iIlJxxCc5/0GUV2c8Z79D/1HCYnn0213blQopBzBS6RTb8kvMQsymfTTEltVsI7WacIuEbXnIj9jM68xi/fkNn6RmMUahUKzx+IyAmvWSZ9BjNj3FAk= 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; 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 Received: from i5e860cd3.versanet.de ([94.134.12.211] helo=phil.lan) by gloria.sntech.de with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1sVHKB-00061D-Gh; Sat, 20 Jul 2024 23:09:03 +0200 From: Heiko Stuebner To: heiko@sntech.de Cc: ukleinek@debian.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH 1/8] arm64: dts: rockchip: add PCIe supply regulator to Qnap-TS433 Date: Sat, 20 Jul 2024 23:08:47 +0200 Message-Id: <20240720210856.778014-2-heiko@sntech.de> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20240720210856.778014-1-heiko@sntech.de> References: <20240720210856.778014-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" Add the vcc3v3-supply regulator and its link to the pcie controllers. Signed-off-by: Heiko Stuebner --- .../boot/dts/rockchip/rk3568-qnap-ts433.dts | 20 +++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/arch/arm64/boot/dts/rockchip/rk3568-qnap-ts433.dts b/arch/arm6= 4/boot/dts/rockchip/rk3568-qnap-ts433.dts index 6a998166003c9..889838b4079ae 100644 --- a/arch/arm64/boot/dts/rockchip/rk3568-qnap-ts433.dts +++ b/arch/arm64/boot/dts/rockchip/rk3568-qnap-ts433.dts @@ -12,6 +12,25 @@ / { model =3D "Qnap TS-433-4G NAS System 4-Bay"; compatible =3D "qnap,ts433", "rockchip,rk3568"; + + dc_12v: regulator-dc-12v { + compatible =3D "regulator-fixed"; + regulator-name =3D "dc_12v"; + regulator-always-on; + regulator-boot-on; + regulator-min-microvolt =3D <12000000>; + regulator-max-microvolt =3D <12000000>; + }; + + vcc3v3_pcie: regulator-vcc3v3-pcie { + compatible =3D "regulator-fixed"; + regulator-name =3D "vcc3v3_pcie"; + regulator-min-microvolt =3D <3300000>; + regulator-max-microvolt =3D <3300000>; + enable-active-high; + gpios =3D <&gpio0 RK_PD4 GPIO_ACTIVE_HIGH>; + vin-supply =3D <&dc_12v>; + }; }; =20 &gmac0 { @@ -65,6 +84,7 @@ &pcie30phy { &pcie3x1 { /* The downstream dts has: rockchip,bifurcation, XXX: find out what this = is about */ reset-gpios =3D <&gpio0 RK_PC7 GPIO_ACTIVE_HIGH>; + vpcie3v3-supply =3D <&vcc3v3_pcie>; status =3D "okay"; }; =20 --=20 2.39.2