]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
riscv: dts: spacemit: Add a PCIe regulator
authorAlex Elder <elder@riscstar.com>
Thu, 18 Dec 2025 15:12:30 +0000 (09:12 -0600)
committerYixun Lan <dlan@gentoo.org>
Wed, 24 Dec 2025 02:41:23 +0000 (10:41 +0800)
Define a 3.3v fixed voltage regulator to be used by PCIe on the
Banana Pi BPI-F3.  On this platform, this regulator is always on.

Signed-off-by: Alex Elder <elder@riscstar.com>
Reviewed-by: Yixun Lan <dlan@gentoo.org>
Tested-by: Yixun Lan <dlan@gentoo.org>
Link: https://lore.kernel.org/r/20251218151235.454997-5-elder@riscstar.com
Signed-off-by: Yixun Lan <dlan@gentoo.org>
arch/riscv/boot/dts/spacemit/k1-bananapi-f3.dts

index 02f218a16318e5b6f512bcc37035fac37c25ee84..71f48454ba47c8a9664af5adf2a80f9c577d4db6 100644 (file)
                };
        };
 
+       pcie_vcc_3v3: pcie-vcc3v3 {
+               compatible = "regulator-fixed";
+               regulator-name = "PCIE_VCC3V3";
+               regulator-min-microvolt = <3300000>;
+               regulator-max-microvolt = <3300000>;
+               regulator-always-on;
+       };
+
        reg_dc_in: dc-in-12v {
                compatible = "regulator-fixed";
                regulator-name = "dc_in_12v";