aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Sim <andrewsimz@gmail.com>2022-07-03 10:55:29 +0200
committerDaniel Golle <daniel@makrotopia.org>2022-07-07 00:22:23 +0100
commit3872b422fff26c52447a050b54f7d6e3ed15e7a6 (patch)
tree9d2e1919378a96e53c6904e062488026efb703d4
parentd29722e6ff764d78428c54a5618b7a0e191245f1 (diff)
downloadupstream-3872b422fff26c52447a050b54f7d6e3ed15e7a6.tar.gz
upstream-3872b422fff26c52447a050b54f7d6e3ed15e7a6.tar.bz2
upstream-3872b422fff26c52447a050b54f7d6e3ed15e7a6.zip
mediatek: mt7622: add missing vbus regulator node to totolink-a8000ru dts
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>
-rw-r--r--target/linux/mediatek/dts/mt7622-totolink-a8000ru.dts10
1 files changed, 10 insertions, 0 deletions
diff --git a/target/linux/mediatek/dts/mt7622-totolink-a8000ru.dts b/target/linux/mediatek/dts/mt7622-totolink-a8000ru.dts
index d67fb4efbf..b634e28783 100644
--- a/target/linux/mediatek/dts/mt7622-totolink-a8000ru.dts
+++ b/target/linux/mediatek/dts/mt7622-totolink-a8000ru.dts
@@ -80,6 +80,15 @@
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>;
@@ -312,6 +321,7 @@
&ssusb {
vusb33-supply = <&reg_3p3v>;
+ vbus-supply = <&reg_5v>;
status = "okay";
};