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

ARM: dts: sun5i: Enable otg on the mk802

Enable the otg controller, the id pin is not connected so enable
it in peripheral only mode.
Signed-off-by: default avatarHans de Goede <hdegoede@redhat.com>
Signed-off-by: default avatarMaxime Ripard <maxime.ripard@free-electrons.com>
parent d7b9eaff
...@@ -87,6 +87,10 @@ &ohci0 { ...@@ -87,6 +87,10 @@ &ohci0 {
status = "okay"; status = "okay";
}; };
&otg_sram {
status = "okay";
};
&pio { &pio {
led_pins_mk802: led_pins@0 { led_pins_mk802: led_pins@0 {
allwinner,pins = "PB2"; allwinner,pins = "PB2";
...@@ -122,6 +126,11 @@ &uart0 { ...@@ -122,6 +126,11 @@ &uart0 {
status = "okay"; status = "okay";
}; };
&usb_otg {
dr_mode = "peripheral";
status = "okay";
};
&usbphy { &usbphy {
usb1_vbus-supply = <&reg_usb1_vbus>; usb1_vbus-supply = <&reg_usb1_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