Commit 2433d82b authored by Hans de Goede's avatar Hans de Goede Committed by Maxime Ripard

ARM: dts: sun4i: Enable otg controller on the mini-x

The mini-x has the otg controller connected to one of the 2 usb-A
receptacles it has on the front, so enable the otg controller in host-only
mode.
Signed-off-by: default avatarHans de Goede <hdegoede@redhat.com>
Signed-off-by: default avatarMaxime Ripard <maxime.ripard@free-electrons.com>
parent ccef71cc
...@@ -114,6 +114,15 @@ &ohci1 { ...@@ -114,6 +114,15 @@ &ohci1 {
status = "okay"; status = "okay";
}; };
&otg_sram {
status = "okay";
};
&reg_usb0_vbus {
regulator-boot-on;
status = "okay";
};
&reg_usb1_vbus { &reg_usb1_vbus {
status = "okay"; status = "okay";
}; };
...@@ -128,7 +137,13 @@ &uart0 { ...@@ -128,7 +137,13 @@ &uart0 {
status = "okay"; status = "okay";
}; };
&usb_otg {
dr_mode = "host";
status = "okay";
};
&usbphy { &usbphy {
usb0_vbus-supply = <&reg_usb0_vbus>;
usb1_vbus-supply = <&reg_usb1_vbus>; usb1_vbus-supply = <&reg_usb1_vbus>;
usb2_vbus-supply = <&reg_usb2_vbus>; usb2_vbus-supply = <&reg_usb2_vbus>;
status = "okay"; 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