diff options
author | Hans de Goede <hdegoede@redhat.com> | 2015-06-20 18:40:08 +0300 |
---|---|---|
committer | Maxime Ripard <maxime.ripard@free-electrons.com> | 2015-07-06 14:36:08 +0300 |
commit | ccef71cc6ae1b1bda3fc2f27493ea831edd6caaa (patch) | |
tree | 2d4831df2b3dfeb88a6a6afc729e5362d82deb83 /arch/arm/boot/dts/sun4i-a10-ba10-tvbox.dts | |
parent | b5977f389d9ec7b5ffdc37ca6f2266e05295a552 (diff) | |
download | linux-ccef71cc6ae1b1bda3fc2f27493ea831edd6caaa.tar.xz |
ARM: dts: sun4i: Enable otg controller on the ba10-tvbox
The ba10-tvbox 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-ba10-tvbox.dts')
-rw-r--r-- | arch/arm/boot/dts/sun4i-a10-ba10-tvbox.dts | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/sun4i-a10-ba10-tvbox.dts b/arch/arm/boot/dts/sun4i-a10-ba10-tvbox.dts index 93d435670ef1..f3cb297fd1db 100644 --- a/arch/arm/boot/dts/sun4i-a10-ba10-tvbox.dts +++ b/arch/arm/boot/dts/sun4i-a10-ba10-tvbox.dts @@ -125,12 +125,21 @@ status = "okay"; }; +&otg_sram { + status = "okay"; +}; + &pio { usb2_vbus_pin_a: usb2_vbus_pin@0 { allwinner,pins = "PH12"; }; }; +®_usb0_vbus { + regulator-boot-on; + status = "okay"; +}; + ®_usb1_vbus { status = "okay"; }; @@ -146,7 +155,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"; |