mediatek: fix gl mt6000 usb3 power regulator (#188)

This commit is contained in:
coolsnowwolf 2023-12-10 10:35:00 +08:00 committed by GitHub
parent e66d976488
commit a760d1b0cd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -34,17 +34,6 @@
};
};
gpio-export {
compatible = "gpio-export";
usb_power {
gpio-export,name = "usb_power";
gpio-export,output = <1>;
gpios = <&pio 24 GPIO_ACTIVE_HIGH>;
};
};
leds {
compatible = "gpio-leds";
@ -78,6 +67,17 @@
regulator-always-on;
};
usb_vbus: regulator-usb-vbus {
compatible = "regulator-fixed";
regulator-name = "usb_vbus";
regulator-min-microvolt = <5000000>;
regulator-max-microvolt = <5000000>;
gpios = <&pio 24 GPIO_ACTIVE_HIGH>;
enable-active-high;
regulator-boot-on;
};
sound {
compatible = "mediatek,mt7986-wm8960-machine";
mediatek,platform = <&afe>;
@ -232,6 +232,8 @@
&xhci {
vusb33-supply = <&reg_3p3v>;
vbus-supply = <&usb_vbus>;
status = "okay";
};