]> git.karo-electronics.de Git - linux-beck.git/commitdiff
ARM: dts: sun7i: bananapi-m1-plus: Enable USB PHY for USB host support
authorChen-Yu Tsai <wens@csie.org>
Tue, 15 Nov 2016 13:51:04 +0000 (21:51 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 12 Jan 2017 10:39:20 +0000 (11:39 +0100)
commit 0cff18cbab4f55581d9da86e4286655d9723d7d2 upstream.

The 2 USB host ports are directly tied to the 2 USB hosts in the SoC.
The 2 host pairs were already enabled, but the USB PHY wasn't.
VBUS on the 2 ports are always on.

Enable the USB PHY.

Fixes: 04c85ecad32a ("ARM: dts: sun7i: Add dts file for Bananapi M1 Plus
      board")
Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/arm/boot/dts/sun7i-a20-bananapi-m1-plus.dts

index ba5bca0fe997b755f113c14597588668f04e477d..44377a98cc89b262e08c05a30b74e9470c7ade2e 100644 (file)
        pinctrl-0 = <&uart0_pins_a>;
        status = "okay";
 };
+
+&usbphy {
+       /* VBUS on usb host ports are tied to DC5V and therefore always on */
+       status = "okay";
+};