[PATCH v2 4/4] riscv: dts: spacemit: Enable USB3.0/PCIe on OrangePi RV2
Chukun Pan
amadeus at jmu.edu.cn
Sat Mar 14 01:00:03 PDT 2026
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?
> + 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.
> + enable-active-high;
> + };
> ...
> + peer-hub = <&hub_3_0>;
> + reset-gpios = <&gpio K1_GPIO(124) GPIO_ACTIVE_LOW>;
Really? GPIO124 is floating.
> + };
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
More information about the linux-riscv
mailing list