From: Chukun Pan <amadeus@jmu.edu.cn>
To: Yixun Lan <dlan@gentoo.org>
Cc: Rob Herring <robh@kernel.org>, Paul Walmsley <pjw@kernel.org>,
Alexandre Ghiti <alex@ghiti.fr>,
Albert Ou <aou@eecs.berkeley.edu>,
Palmer Dabbelt <palmer@dabbelt.com>,
Conor Dooley <conor+dt@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org,
spacemit@lists.linux.dev, Chukun Pan <amadeus@jmu.edu.cn>
Subject: [PATCH 2/2] riscv: dts: spacemit: add fixed regulators for OrangePi
Date: Fri, 16 Jan 2026 18:00:01 +0800 [thread overview]
Message-ID: <20260116100001.208334-2-amadeus@jmu.edu.cn> (raw)
In-Reply-To: <20260116100001.208334-1-amadeus@jmu.edu.cn>
Define the power input and the 4V / 3.3V power as fixed regulator
supplies for the PMIC, PCIe and Wi-Fi.
Signed-off-by: Chukun Pan <amadeus@jmu.edu.cn>
---
arch/riscv/boot/dts/spacemit/k1-orangepi.dtsi | 28 +++++++++++++++++++
1 file changed, 28 insertions(+)
diff --git a/arch/riscv/boot/dts/spacemit/k1-orangepi.dtsi b/arch/riscv/boot/dts/spacemit/k1-orangepi.dtsi
index b4808f258adf..c71c5bc1d341 100644
--- a/arch/riscv/boot/dts/spacemit/k1-orangepi.dtsi
+++ b/arch/riscv/boot/dts/spacemit/k1-orangepi.dtsi
@@ -17,6 +17,34 @@ aliases {
chosen {
stdout-path = "serial0";
};
+
+ pcie_vcc3v3: regulator-pcie-vcc3v3 {
+ compatible = "regulator-fixed";
+ regulator-name = "pcie_vcc3v3";
+ regulator-always-on;
+ regulator-min-microvolt = <3300000>;
+ regulator-max-microvolt = <3300000>;
+ vin-supply = <&vcc_5v0>;
+ };
+
+ vcc_5v0: regulator-vcc-5v0 {
+ compatible = "regulator-fixed";
+ regulator-name = "vcc_5v0";
+ regulator-always-on;
+ regulator-boot-on;
+ regulator-min-microvolt = <5000000>;
+ regulator-max-microvolt = <5000000>;
+ };
+
+ vcc4v0: regulator-vcc4v0 {
+ compatible = "regulator-fixed";
+ regulator-name = "vcc4v0";
+ regulator-always-on;
+ regulator-boot-on;
+ regulator-min-microvolt = <4000000>;
+ regulator-max-microvolt = <4000000>;
+ vin-supply = <&vcc_5v0>;
+ };
};
ð0 {
--
2.25.1
next prev parent reply other threads:[~2026-01-16 10:00 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-01-16 10:00 [PATCH 1/2] riscv: dts: spacemit: add common board dtsi " Chukun Pan
2026-01-16 10:00 ` Chukun Pan [this message]
2026-01-19 3:02 ` [PATCH 2/2] riscv: dts: spacemit: add fixed regulators " Yixun Lan
2026-01-23 14:50 ` Chukun Pan
2026-01-23 23:58 ` Yixun Lan
2026-01-19 2:42 ` [PATCH 1/2] riscv: dts: spacemit: add common board dtsi " Yixun Lan
2026-01-23 14:06 ` Chukun Pan
2026-01-24 0:04 ` Yixun Lan
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260116100001.208334-2-amadeus@jmu.edu.cn \
--to=amadeus@jmu.edu.cn \
--cc=alex@ghiti.fr \
--cc=aou@eecs.berkeley.edu \
--cc=conor+dt@kernel.org \
--cc=dlan@gentoo.org \
--cc=krzk+dt@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-riscv@lists.infradead.org \
--cc=palmer@dabbelt.com \
--cc=pjw@kernel.org \
--cc=robh@kernel.org \
--cc=spacemit@lists.linux.dev \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®