diff --git a/target/linux/mediatek/files-5.4/arch/arm64/boot/dts/mediatek/mt7986a-glinet-gl-mt6000.dts b/target/linux/mediatek/files-5.4/arch/arm64/boot/dts/mediatek/mt7986a-glinet-gl-mt6000.dts index 60cc2ecfa8..84fab1f45a 100644 --- a/target/linux/mediatek/files-5.4/arch/arm64/boot/dts/mediatek/mt7986a-glinet-gl-mt6000.dts +++ b/target/linux/mediatek/files-5.4/arch/arm64/boot/dts/mediatek/mt7986a-glinet-gl-mt6000.dts @@ -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 = <®_3p3v>; + vbus-supply = <&usb_vbus>; status = "okay"; };