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

From: Yixun Lan

Date: Thu Mar 26 2026 - 03:07:00 EST


Hi Chukun, Han

I've merely checked the schematics..

On 16:00 Sat 14 Mar , Chukun Pan wrote:
> Hi,
>
> > + regulator-usb3-vbus-5v {
> > + compatible = "regulator-fixed";
> > + regulator-name = "USB30_VBUS";
> > + regulator-min-microvolt = <5000000>;
> > + regulator-max-microvolt = <5000000>;
> > + gpio = <&gpio K1_GPIO(97) GPIO_ACTIVE_HIGH>;
>
> Is this true?
GPIO97 should be DVL1 which labeled as CAMERA1_RST..

>
> > + enable-active-high;
> > + };
> > +
> > + usb3_hub_5v: regulator-usb3-hub-5v {
> > + compatible = "regulator-fixed";
> > + regulator-name = "USB30_HUB";
> > + regulator-min-microvolt = <5000000>;
> > + regulator-max-microvolt = <5000000>;
> > + gpio = <&gpio K1_GPIO(123) GPIO_ACTIVE_HIGH>;
>
> Although GPIO123 is labeled as USB_HUB_EN, it actually
> supplies for USB3 vbus.
>
I agree

> > + enable-active-high;
> > + };
>
> > ...
> > + peer-hub = <&hub_3_0>;
> > + reset-gpios = <&gpio K1_GPIO(124) GPIO_ACTIVE_LOW>;
>
> Really? GPIO124 is floating.
>
Right, GPIO123 doesn't connect to any device
check the reset pin of GL3523, it connect to VCC_5V0 which is pulled high
unconditionally..

> > + };
>
> I still insist that the regulator name of DT should be the same
> as on the schematic. This will force us to review the schematic.
>
> Thanks,
> Chukun
Also, it seems the VCC5V0_USB20 is missing too, which controlled by
pin USB0_OTG_EN -> GPIO126

--
Yixun Lan (dlan)