Re: [PATCH v7 4/5] riscv: dts: spacemit: Add a PCIe regulator

Yixun Lan
2025-12-19T12:20:23Z

On 09:12 Thu 18 Dec , Alex Elder wrote:
> 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>
> ---
> arch/riscv/boot/dts/spacemit/k1-bananapi-f3.dts | 8 ++++++++
> 1 file changed, 8 insertions(+)
>
> diff --git a/arch/riscv/boot/dts/spacemit/k1-bananapi-f3.dts b/arch/riscv/boot/dts/spacemit/k1-bananapi-f3.dts
> index 02f218a16318e..71f48454ba47c 100644
> --- a/arch/riscv/boot/dts/spacemit/k1-bananapi-f3.dts
> +++ b/arch/riscv/boot/dts/spacemit/k1-bananapi-f3.dts
> @@ -33,6 +33,14 @@ led1 {
> };
> };
>
> + 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";
> --
> 2.48.1
>

--
Yixun Lan (dlan)