dts: hi3660: Add support for basic usb gadget on Hikey960
authorJohn Stultz <john.stultz@linaro.org>
Sat, 4 Jul 2020 04:31:51 +0000 (04:31 +0000)
committerWei Xu <xuwei5@hisilicon.com>
Fri, 17 Jul 2020 02:27:54 +0000 (10:27 +0800)
commit47e2843f5e2e1cdcf25fdfa28173ae5315e6497b
tree684168e14d1bf5790f529b8e8aa89a9a7fbf70a3
parent0f6b99d2d6124f3cbbfda745730dc6d21fae07d0
dts: hi3660: Add support for basic usb gadget on Hikey960

This patch adds basic core dwc3, usb phy and rt1711h nodes for
usb support on Hikey960.

This does not enable the mux/hub functionality on the board, so
the USB-A host ports will not function, but does allow the USB-C
port to function in gadget mode (unfortunately not in host, as
the hub/mux functionality is needed to enable vbus output to
power devices in host mode).

This is based on an old patch originally by Yu Chen.

Cc: Yu Chen <chenyu56@huawei.com>
Cc: Chunfeng Yun <chunfeng.yun@mediatek.com>
Cc: Wei Xu <xuwei5@hisilicon.com>
Cc: Binghui Wang <wangbinghui@hisilicon.com>
Cc: YongQin Liu <yongqin.liu@linaro.org>
Cc: Rob Herring <robh+dt@kernel.org>
Cc: Matthias Brugger <matthias.bgg@gmail.com>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: linux-arm-kernel@lists.infradead.org
Cc: devicetree@vger.kernel.org
Signed-off-by: John Stultz <john.stultz@linaro.org>
Signed-off-by: Wei Xu <xuwei5@hisilicon.com>
arch/arm64/boot/dts/hisilicon/hi3660-hikey960.dts
arch/arm64/boot/dts/hisilicon/hi3660.dtsi