]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: dts: sun8i: h3: enable USB OTG for NanoPi Neo board
authorKrzysztof Adamski <k@japko.eu>
Tue, 5 Dec 2017 22:03:58 +0000 (23:03 +0100)
committerMaxime Ripard <maxime.ripard@free-electrons.com>
Thu, 7 Dec 2017 09:02:47 +0000 (10:02 +0100)
commit0a8110102a0a48f3934f18a87c7286ff8bbc2572
treec92f0598d39b7c6ec5dc7d0d0d4797c4a4046335
parent4c9a4705d6ff59cb1d3703fdd54ba556c1b70664
ARM: dts: sun8i: h3: enable USB OTG for NanoPi Neo board

Similarly to Orange Pi Zero, NanoPi Neo board has an USB OTG port with
an ID pin but with unpowered VBUS. This patch enables this port in
forced peripheral mode.

ohci/ehci nodes are still enabled since the host mode may work if
external power source is used. In that case, the mode can be switched
for example via sysfs. The same strategy is used for Orange Pi Zero
board DTS.

Signed-off-by: Krzysztof Adamski <k@japko.eu>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
arch/arm/boot/dts/sun8i-h3-nanopi-neo.dts