mirror of
https://github.com/torvalds/linux.git
synced 2026-05-24 07:03:03 +02:00
ARM: dts: sun8i: h3: Enable USB OTG on the Beelink X2
This STB has a type A socket which acts as OTG. Signed-off-by: Marcus Cooper <codekipper@gmail.com> Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com> Signed-off-by: Chen-Yu Tsai <wens@csie.org>
This commit is contained in:
parent
77c6511a01
commit
6c75582a85
|
|
@ -100,6 +100,10 @@ spdif_out: spdif-out {
|
|||
};
|
||||
};
|
||||
|
||||
&ehci0 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&ehci1 {
|
||||
status = "okay";
|
||||
};
|
||||
|
|
@ -147,10 +151,19 @@ &mmc2 {
|
|||
status = "okay";
|
||||
};
|
||||
|
||||
&ohci0 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&ohci1 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
®_usb0_vbus {
|
||||
gpio = <&r_pio 0 2 GPIO_ACTIVE_HIGH>; /* PL2 */
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&spdif {
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&spdif_tx_pins_a>;
|
||||
|
|
@ -163,7 +176,14 @@ &uart0 {
|
|||
status = "okay";
|
||||
};
|
||||
|
||||
&usbphy {
|
||||
/* USB VBUS is on as long as VCC-IO is on */
|
||||
&usb_otg {
|
||||
dr_mode = "otg";
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&usbphy {
|
||||
/* USB VBUS is always on except for the OTG port */
|
||||
status = "okay";
|
||||
usb0_id_det-gpios = <&pio 0 7 GPIO_ACTIVE_HIGH>; /* PA07 */
|
||||
usb0_vbus-supply = <®_usb0_vbus>;
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user