diff options
author | Hans de Goede <hdegoede@redhat.com> | 2015-06-20 17:40:09 +0200 |
---|---|---|
committer | Maxime Ripard <maxime.ripard@free-electrons.com> | 2015-07-06 13:36:09 +0200 |
commit | 2433d82b6c9a3b3ec2ef68ef3360b8361d2d1a29 (patch) | |
tree | 1bb5c2edbcf5a2de4ddbb3c60b5c37b77d6b8442 /arch/arm/boot/dts/sun4i-a10-mini-xplus.dts | |
parent | ARM: dts: sun4i: Enable otg controller on the ba10-tvbox (diff) | |
download | linux-2433d82b6c9a3b3ec2ef68ef3360b8361d2d1a29.tar.xz linux-2433d82b6c9a3b3ec2ef68ef3360b8361d2d1a29.zip |
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: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Diffstat (limited to 'arch/arm/boot/dts/sun4i-a10-mini-xplus.dts')
-rw-r--r-- | arch/arm/boot/dts/sun4i-a10-mini-xplus.dts | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/sun4i-a10-mini-xplus.dts b/arch/arm/boot/dts/sun4i-a10-mini-xplus.dts index ebe2a04ef649..a7dd86d30fa2 100644 --- a/arch/arm/boot/dts/sun4i-a10-mini-xplus.dts +++ b/arch/arm/boot/dts/sun4i-a10-mini-xplus.dts @@ -114,6 +114,15 @@ status = "okay"; }; +&otg_sram { + status = "okay"; +}; + +®_usb0_vbus { + regulator-boot-on; + status = "okay"; +}; + ®_usb1_vbus { status = "okay"; }; @@ -128,7 +137,13 @@ status = "okay"; }; +&usb_otg { + dr_mode = "host"; + status = "okay"; +}; + &usbphy { + usb0_vbus-supply = <®_usb0_vbus>; usb1_vbus-supply = <®_usb1_vbus>; usb2_vbus-supply = <®_usb2_vbus>; status = "okay"; |