From: Alice Guo <[email protected]> Update the i.MX8ULP EVK device tree files and defconfig to enable the second USB controller (base address 0x29920000) on i.MX8ULP EVK in host mode.
Signed-off-by: Alice Guo <[email protected]> --- arch/arm/dts/imx8ulp-evk-u-boot.dtsi | 4 ++++ configs/imx8ulp_evk_defconfig | 3 +++ 2 files changed, 7 insertions(+) diff --git a/arch/arm/dts/imx8ulp-evk-u-boot.dtsi b/arch/arm/dts/imx8ulp-evk-u-boot.dtsi index 860994129ae..e35653edc29 100644 --- a/arch/arm/dts/imx8ulp-evk-u-boot.dtsi +++ b/arch/arm/dts/imx8ulp-evk-u-boot.dtsi @@ -34,6 +34,10 @@ bootph-pre-ram; }; +&usbotg2 { + compatible = "fsl,imx8ulp-usb", "fsl,imx7ulp-usb", "fsl,imx27-usb"; +}; + &iomuxc1 { bootph-all; }; diff --git a/configs/imx8ulp_evk_defconfig b/configs/imx8ulp_evk_defconfig index ff6cd8e6c98..5fd73ce4ae9 100644 --- a/configs/imx8ulp_evk_defconfig +++ b/configs/imx8ulp_evk_defconfig @@ -54,6 +54,7 @@ CONFIG_CMD_GPIO=y CONFIG_CMD_I2C=y CONFIG_CMD_MMC=y CONFIG_CMD_READ=y +CONFIG_CMD_USB=y CONFIG_CMD_CACHE=y CONFIG_CMD_REGULATOR=y CONFIG_CMD_EXT4_WRITE=y @@ -92,4 +93,6 @@ CONFIG_FSL_LPUART=y CONFIG_SPI=y CONFIG_DM_SPI=y CONFIG_NXP_FSPI=y +CONFIG_USB=y +CONFIG_USB_EHCI_HCD=y CONFIG_ULP_WATCHDOG=y -- 2.43.0

