Re: [PATCH v9 3/3] riscv: dts: spacemit: Enable USB3.0/PCIe on OrangePi RV2

From: Chukun Pan

Date: Tue Apr 07 2026 - 03:02:50 EST


Hi,

> + pcie_vcc3v3: regulator-pcie-vcc3v3 {
> + compatible = "regulator-fixed";
> + enable-active-high;
> + gpios = <&gpio K1_GPIO(116) GPIO_ACTIVE_HIGH>;
> + regulator-name = "pcie_vcc3v3";
> + regulator-min-microvolt = <3300000>;
> + regulator-max-microvolt = <3300000>;

Please add: `vin-supply = <&vcc_5v0>;`

> + vcc5v0_usb30: regulator-vcc5v0-usb30 {
> + compatible = "regulator-fixed";
> + regulator-name = "vcc5v0_usb30";
> + enable-active-high;
> + gpios = <&gpio K1_GPIO(123) GPIO_ACTIVE_HIGH>;

Could you place `regulator-name` under `gpios`?

vcc5v0_usb30: regulator-vcc5v0-usb30 {
compatible = "regulator-fixed";
enable-active-high;
gpios = <&gpio K1_GPIO(123) GPIO_ACTIVE_HIGH>;
regulator-name = "vcc5v0_usb30";
regulator-min-microvolt = <5000000>;
regulator-max-microvolt = <5000000>;
vin-supply = <&vcc_5v0>;
};

> +&pcie1 {
> + vpcie3v3-supply = <&pcie_vcc3v3>;

Redundant vpcie3v3-supply.

> + status = "okay";
> };

Thanks,
Chukun