rockchip: gru: Add USB DRD DWC3 controller support
commit76655cb82c207b0c9904c094f7790de2f0835b67
authorLiangfeng Wu <wulf@rock-chips.com>
Thu, 26 May 2016 08:06:58 +0000 (26 16:06 +0800)
committerMartin Roth <martinroth@google.com>
Sun, 12 Jun 2016 10:10:22 +0000 (12 12:10 +0200)
treedbf44aaa67755c8a20b66f3c8234d1f1e53a89aa
parent8c7e416309a253e1ee2d46de254583e5f09c1329
rockchip: gru: Add USB DRD DWC3 controller support

This patch adds code to initialize the two DWC3 USB
host controllers, and uses them to initialize USB3.0
on the gru rk3399 board.

BRANCH=none
BUG=chrome-os-partner:52684
TEST=boot from USB3.0 on gru/kevin rk3399 platform

Change-Id: If6a6e56f3a7c7ce8e8b098634cfc2f250a91810d
Signed-off-by: Martin Roth <martinroth@chromium.org>
Original-Commit-Id: 0306a9e
Original-Change-Id: I796fa1133510876f75873d134ea752e1b52e40a8
Original-Signed-off-by: Liangfeng Wu <wulf@rock-chips.com>
Original-Signed-off-by: Douglas Anderson <dianders@chromium.org>
Original-Reviewed-on: https://chromium-review.googlesource.com/347524
Original-Commit-Ready: Brian Norris <briannorris@chromium.org>
Original-Reviewed-by: Vadim Bendebury <vbendeb@chromium.org>
Original-Reviewed-by: Julius Werner <jwerner@chromium.org>
Reviewed-on: https://review.coreboot.org/15112
Tested-by: build bot (Jenkins)
Reviewed-by: Furquan Shaikh <furquan@google.com>
src/mainboard/google/gru/mainboard.c
src/soc/rockchip/rk3399/Makefile.inc
src/soc/rockchip/rk3399/include/soc/addressmap.h
src/soc/rockchip/rk3399/include/soc/usb.h [new file with mode: 0644]
src/soc/rockchip/rk3399/romstage.c
src/soc/rockchip/rk3399/usb.c [new file with mode: 0644]