[PATCH v4 12/12] rk3566: radxa-cm3: Enable USB2.0, USB3.0 support

Kever Yang kever.yang at rock-chips.com
Tue Feb 21 10:33:23 CET 2023


On 2023/2/17 19:58, Jagan Teki wrote:
> From: Manoj Sai <abbaraju.manojsai at amarulasolutions.com>
>
> => usb start
> starting USB...
> Bus usb at fd000000: Register 2000140 NbrPorts 2
> Starting the controller
> USB XHCI 1.10
> Bus usb at fd800000: USB EHCI 1.00
> scanning bus usb at fd000000 for devices... cannot reset port 1!?
> 2 USB Device(s) found
> scanning bus usb at fd800000 for devices... 4 USB Device(s) found
>         scanning usb for storage devices... 2 Storage Device(s) found
> => usb tree
> USB device tree:
>    1  Hub (5 Gb/s, 0mA)
>    |  U-Boot XHCI Host Controller
>    |
>    +-2  Mass Storage (5 Gb/s, 224mA)
>         SanDisk Dual Drive 04019c9b2e1a58f24ee318c3c123aa5
>
>    1  Hub (480 Mb/s, 0mA)
>    |  u-boot EHCI Host Controller
>    |
>    +-2  Hub (480 Mb/s, 100mA)
>      |   USB 2.0 Hub
>      |
>      +-3  Mass Storage (480 Mb/s, 500mA)
>      |    JetFlash Mass Storage Device 19M7I4ZQFTSC08SU
>      |
>      +-4  Human Interface (12 Mb/s, 98mA)
>           Logitech USB Receiver
>
> Co-developed-by: Suniel Mahesh <sunil at amarulasolutions.com>
> Signed-off-by: Suniel Mahesh <sunil at amarulasolutions.com>
> Signed-off-by: Manoj Sai <abbaraju.manojsai at amarulasolutions.com>
Reviewed-by: Kever Yang <kever.yang at rock-chips.com>

Thanks,
- Kever
> ---
>   configs/radxa-cm3-io-rk3566_defconfig | 11 +++++++++++
>   1 file changed, 11 insertions(+)
>
> diff --git a/configs/radxa-cm3-io-rk3566_defconfig b/configs/radxa-cm3-io-rk3566_defconfig
> index a79d9b25e3..2100cf2cb2 100644
> --- a/configs/radxa-cm3-io-rk3566_defconfig
> +++ b/configs/radxa-cm3-io-rk3566_defconfig
> @@ -38,6 +38,7 @@ CONFIG_SPL_STACK_R=y
>   CONFIG_SPL_ATF=y
>   CONFIG_CMD_GPT=y
>   CONFIG_CMD_MMC=y
> +CONFIG_CMD_USB=y
>   # CONFIG_CMD_SETEXPR is not set
>   # CONFIG_SPL_DOS_PARTITION is not set
>   CONFIG_SPL_OF_CONTROL=y
> @@ -57,10 +58,20 @@ CONFIG_MMC_SDHCI_SDMA=y
>   CONFIG_MMC_SDHCI_ROCKCHIP=y
>   CONFIG_ETH_DESIGNWARE=y
>   CONFIG_GMAC_ROCKCHIP=y
> +CONFIG_PHY_ROCKCHIP_INNO_USB2=y
> +CONFIG_PHY_ROCKCHIP_NANENG_COMBOPHY=y
>   CONFIG_REGULATOR_PWM=y
> +CONFIG_DM_REGULATOR_GPIO=y
>   CONFIG_PWM_ROCKCHIP=y
>   CONFIG_SPL_RAM=y
>   CONFIG_BAUDRATE=1500000
>   CONFIG_DEBUG_UART_SHIFT=2
>   CONFIG_SYSRESET=y
> +CONFIG_USB=y
> +CONFIG_USB_XHCI_HCD=y
> +CONFIG_USB_XHCI_DWC3=y
> +CONFIG_USB_EHCI_HCD=y
> +CONFIG_USB_EHCI_GENERIC=y
> +CONFIG_USB_DWC3=y
> +CONFIG_USB_DWC3_GENERIC=y
>   CONFIG_ERRNO_STR=y


More information about the U-Boot mailing list