mediatek: mt7622: add missing vbus regulator node to totolink-a8000ru dts
authorAndrew Sim <andrewsimz@gmail.com>
Sun, 3 Jul 2022 08:55:29 +0000 (10:55 +0200)
committerDaniel Golle <daniel@makrotopia.org>
Wed, 6 Jul 2022 23:22:23 +0000 (00:22 +0100)
On boot, kernel log complains no vbus supply is found:

`xhci-mtk 1a0c0000.usb: supply vbus not found, using dummy regulator`

so add the dts node entries to solve the issue

Signed-off-by: Andrew Sim <andrewsimz@gmail.com>
target/linux/mediatek/dts/mt7622-totolink-a8000ru.dts

index d67fb4efbf2489c05b2874bf867bebe8e6128e62..b634e28783a0b2dd3acf7d326baad9652e618e66 100644 (file)
                regulator-always-on;
        };
 
+       reg_5v: regulator-5v {
+               compatible = "regulator-fixed";
+               regulator-name = "fixed-5V";
+               regulator-min-microvolt = <5000000>;
+               regulator-max-microvolt = <5000000>;
+               regulator-boot-on;
+               regulator-always-on;
+       };
+
        rtkgsw: rtkgsw@0 {
                compatible = "mediatek,rtk-gsw";
                mediatek,ethsys = <&ethsys>;
 
 &ssusb {
        vusb33-supply = <&reg_3p3v>;
+       vbus-supply = <&reg_5v>;
        status = "okay";
 };