[PATCH linux-next v1 2/3] riscv: dts: spacemit: k1-bananapi-f3: Update USB regulator on onboard usb and lable
From: Anand Moon
Date: Fri Apr 03 2026 - 07:38:15 EST
Update the USB regulator labels to align with the board schematics and
power hierarchy. This change renames the regulator to reg_5v_vbus and
its name to 5V_VBUS. Additionally, it fixes the vdd-supply references
for both the USB 2.0 and 3.0 hub nodes to ensure they correctly point
to the 5V_VBUS input source as per the board schematics.
Cc: Han Gao <gaohan@xxxxxxxxxxx>
Cc: Ze Huang <huang.ze@xxxxxxxxx>
Cc: Chukun Pan <amadeus@xxxxxxxxxx>
Signed-off-by: Anand Moon <linux.amoon@xxxxxxxxx>
---
arch/riscv/boot/dts/spacemit/k1-bananapi-f3.dts | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/arch/riscv/boot/dts/spacemit/k1-bananapi-f3.dts b/arch/riscv/boot/dts/spacemit/k1-bananapi-f3.dts
index 9727ecdd9f6b..c35f4763c800 100644
--- a/arch/riscv/boot/dts/spacemit/k1-bananapi-f3.dts
+++ b/arch/riscv/boot/dts/spacemit/k1-bananapi-f3.dts
@@ -70,9 +70,9 @@ reg_vcc_4v: regulator-vcc-4v {
vin-supply = <®_dc_in>;
};
- regulator-usb3-vbus-5v {
+ reg_5v_vbus: regulator-usb3-vbus-5v {
compatible = "regulator-fixed";
- regulator-name = "USB30_VBUS";
+ regulator-name = "5V_VBUS";
regulator-min-microvolt = <5000000>;
regulator-max-microvolt = <5000000>;
regulator-always-on;
@@ -366,7 +366,7 @@ &usb_dwc3 {
hub_2_0: hub@1 {
compatible = "usb2109,2817";
reg = <0x1>;
- vdd-supply = <&usb3_hub_5v>;
+ vdd-supply = <®_5v_vbus>;
peer-hub = <&hub_3_0>;
reset-gpios = <&gpio K1_GPIO(124) GPIO_ACTIVE_LOW>;
};
@@ -374,7 +374,7 @@ hub_2_0: hub@1 {
hub_3_0: hub@2 {
compatible = "usb2109,817";
reg = <0x2>;
- vdd-supply = <&usb3_hub_5v>;
+ vdd-supply = <®_5v_vbus>;
peer-hub = <&hub_2_0>;
reset-gpios = <&gpio K1_GPIO(124) GPIO_ACTIVE_LOW>;
};
--
2.53.0