[openwrt/openwrt] mediatek: mt7622: add missing vbus regulator node to totolink-a8000ru dts
LEDE Commits
lede-commits at lists.infradead.org
Wed Jul 6 16:41:54 PDT 2022
dangole pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/3872b422fff26c52447a050b54f7d6e3ed15e7a6
commit 3872b422fff26c52447a050b54f7d6e3ed15e7a6
Author: Andrew Sim <andrewsimz at gmail.com>
AuthorDate: Sun Jul 3 10:55:29 2022 +0200
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 at gmail.com>
---
target/linux/mediatek/dts/mt7622-totolink-a8000ru.dts | 10 ++++++++++
1 file changed, 10 insertions(+)
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 at 0 {
compatible = "mediatek,rtk-gsw";
mediatek,ethsys = <ðsys>;
@@ -312,6 +321,7 @@
&ssusb {
vusb33-supply = <®_3p3v>;
+ vbus-supply = <®_5v>;
status = "okay";
};
More information about the lede-commits
mailing list