u-boot-brain/arch/arm/mach-k3
Faiz Abbas 403fc5c9cf arm: mach-k3: am6_init: Do USB fixups to facilitate host and device boot modes
U-boot only supports either USB host or device mode for a node at a
time in dts. To support both host and dfu bootmodes, set "peripheral"
as the default dr_mode but fixup property to "host" if host bootmode
is detected.

This needs to happen before the dwc3 generic layer binds the usb device
to a host or device driver. Therefore, add an fdtdec_setup_board()
implementation to fixup the dt based on the boot mode.

Also use the same fixup function to set the USB-PCIe Serdes mux to PCIe
in both the host and device cases. This is required for accessing the
interface at USB 2.0 speeds.

Signed-off-by: Faiz Abbas <faiz_abbas@ti.com>
2020-08-11 20:34:46 +05:30
..
include/mach arm: mach-k3: Use SOC driver for device identification 2020-07-25 14:46:57 -06:00
am6_init.c arm: mach-k3: am6_init: Do USB fixups to facilitate host and device boot modes 2020-08-11 20:34:46 +05:30
arm64-mmu.c armv8: K3: j721e: Add DSP internal memory regions in MMU table 2020-03-16 12:32:47 +05:30
cache.S arm: mach-k3: Clean non-coherent lines out of L3 cache 2020-08-11 10:18:27 +05:30
common.c arm: mach-k3: Use SOC driver for device identification 2020-07-25 14:46:57 -06:00
common.h arm: mach-k3: Use SOC driver for device identification 2020-07-25 14:46:57 -06:00
config_secure.mk arm: mach-k3: Add secure device build support 2019-04-26 17:51:51 -04:00
config.mk Makefile: Rename ALL-y to INPUTS-y 2020-07-28 19:30:39 -06:00
j721e_init.c Merge tag 'ti-v2020.07-rc3' of https://gitlab.denx.de/u-boot/custodians/u-boot-ti 2020-05-25 14:09:42 -04:00
Kconfig arm: K3: Increase default SYSFW image size allocation 2020-05-11 10:16:49 +05:30
lowlevel_init.S armv7r: K3: Allow SPL to run only on core 0 2018-11-26 22:52:11 -05:00
Makefile arm: mach-k3: Clean non-coherent lines out of L3 cache 2020-08-11 10:18:27 +05:30
r5_mpu.c armv7R: K3: r5_mpu: Enable execute permission for MCU0 BTCM 2020-03-03 13:08:14 +05:30
security.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
sysfw-loader.c arm: mach-k3: sysfw-loader: Add support to load SYSFW from USB 2020-08-11 20:34:46 +05:30