Commit 0629a019 authored by Sean Wang's avatar Sean Wang Committed by Matthias Brugger

arm: dts: mt7623: fix USB initialization fails on bananapi-r2

Fix that USB initialization fails as below runtime log is present during
booting on bananapi-r2 board by adding missing regulators the USB device
requires. Current regulators USB device uses are being updated with the
correct ones to reflect real configurations which are all from fixed
regulators rather than MT6323 one's output.

xhci-mtk 1a1c0000.usb: 1a1c0000.usb supply vbus not found, using dummy regulator
xhci-mtk 1a240000.usb: 1a240000.usb supply vbus not found, using dummy regulator

Cc: stable@vger.kernel.org
Fixes: f4ff257c ("arm: dts: mt7623: add support for Bananapi R2 (BPI-R2) board")
Signed-off-by: default avatarSean Wang <sean.wang@mediatek.com>
[mb: update kernel log in commit message]
Signed-off-by: default avatarMatthias Brugger <matthias.bgg@gmail.com>
parent 3f4a9729
......@@ -39,6 +39,24 @@ cpu@3 {
};
};
reg_3p3v: regulator-3p3v {
compatible = "regulator-fixed";
regulator-name = "fixed-3.3V";
regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>;
regulator-boot-on;
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;
};
gpio_keys {
compatible = "gpio-keys";
pinctrl-names = "default";
......@@ -468,12 +486,14 @@ &uart2 {
};
&usb1 {
vusb33-supply = <&mt6323_vusb_reg>;
vusb33-supply = <&reg_3p3v>;
vbus-supply = <&reg_5v>;
status = "okay";
};
&usb2 {
vusb33-supply = <&mt6323_vusb_reg>;
vusb33-supply = <&reg_3p3v>;
vbus-supply = <&reg_5v>;
status = "okay";
};
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment