arm: dts: mt7623: add otg nodes for bpi-r2
Add OTG-Nodes for BananaPi-R2 Signed-off-by: Frank Wunderlich <frank-w@public-files.de> Link: https://lore.kernel.org/r/20210830145958.108605-1-linux@fw-web.de Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
This commit is contained in:
parent
f5f54d00f2
commit
235e40fd00
|
@ -366,6 +366,14 @@
|
|||
status = "okay";
|
||||
};
|
||||
|
||||
&pio {
|
||||
musb_pins: musb {
|
||||
pins-musb {
|
||||
pinmux = <MT7623_PIN_237_EXT_SDIO2_FUNC_DRV_VBUS>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&pwm {
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&pwm_pins_a>;
|
||||
|
@ -396,6 +404,19 @@
|
|||
status = "okay";
|
||||
};
|
||||
|
||||
&usb0 {
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&musb_pins>;
|
||||
status = "okay";
|
||||
usb-role-switch;
|
||||
|
||||
connector {
|
||||
compatible = "gpio-usb-b-connector", "usb-b-connector";
|
||||
type = "micro";
|
||||
id-gpios = <&pio 44 GPIO_ACTIVE_HIGH>;
|
||||
};
|
||||
};
|
||||
|
||||
&usb1 {
|
||||
vusb33-supply = <®_3p3v>;
|
||||
vbus-supply = <®_5v>;
|
||||
|
@ -408,6 +429,10 @@
|
|||
status = "okay";
|
||||
};
|
||||
|
||||
&u2phy1 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&u3phy1 {
|
||||
status = "okay";
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue