[PATCH 2/2] arm64: dts: power on CN9130-CRB USB port on plug-in
Joachim Wiberg
troglobit at gmail.com
Fri Mar 18 04:24:18 PDT 2022
The USB port on the CN9130 reference board did not register any devices
being plugged in, despite CONFIG_PINCTRL_MCP23S08=y. According to the
schematics, it turns out the regulator is actually controlled by a gpio.
Signed-off-by: Joachim Wiberg <troglobit at gmail.com>
---
arch/arm64/boot/dts/marvell/cn9130-crb.dtsi | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/arch/arm64/boot/dts/marvell/cn9130-crb.dtsi b/arch/arm64/boot/dts/marvell/cn9130-crb.dtsi
index 893a9be704ba..f7426b0a4117 100644
--- a/arch/arm64/boot/dts/marvell/cn9130-crb.dtsi
+++ b/arch/arm64/boot/dts/marvell/cn9130-crb.dtsi
@@ -37,12 +37,14 @@ ap0_reg_mmc_vccq: ap0_mmc_vccq at 0 {
};
cp0_reg_usb3_vbus1: cp0_usb3_vbus at 1 {
- compatible = "regulator-fixed";
+ compatible = "regulator-gpio";
regulator-name = "cp0-xhci1-vbus";
regulator-min-microvolt = <5000000>;
regulator-max-microvolt = <5000000>;
enable-active-high;
gpio = <&expander0 8 GPIO_ACTIVE_HIGH>;
+ states = <5000000 0x1
+ 0000000 0x0>;
};
cp0_usb3_0_phy0: cp0_usb3_phy0 {
--
2.25.1
More information about the linux-arm-kernel
mailing list