Skip to content

Commit

Permalink
ARM: dts: sun8i: Enable USB DRC on Ippo Q8H-A33 tablet
Browse files Browse the repository at this point in the history
Enable the otg/drc usb controller on the Ippo Q8H-A33 tablet, for now it
is enabled in host-only mode, because true OTG support requires support
for detecting and enabling Vbus through the axp221 pmic.

For this to work the Vbus on the port must be enabled by u-boot,
or a powered hub must be used.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
  • Loading branch information
Hans de Goede authored and Maxime Ripard committed Jul 31, 2015
1 parent 4e627fb commit 361a406
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions arch/arm/boot/dts/sun8i-a33-ippo-q8h-v1.2.dts
Original file line number Diff line number Diff line change
Expand Up @@ -116,3 +116,18 @@
pinctrl-0 = <&r_uart_pins_a>;
status = "okay";
};

/*
* FIXME for now we only support host mode and rely on u-boot to have
* turned on Vbus which is controlled by the axp223 pmic on the board.
*
* Once we have axp223 support we should switch to fully supporting otg.
*/
&usb_otg {
dr_mode = "host";
status = "okay";
};

&usbphy {
status = "okay";
};

0 comments on commit 361a406

Please sign in to comment.