[U-Boot] [PATCH 1/2] imx: mx6sabresd: fix usb functions when DM enabled

Enable pinctrl/regulator to let `usb start` could correctly configure iomux and enable vbus for usb usage.
Signed-off-by: Peng Fan peng.fan@nxp.com --- configs/mx6sabresd_defconfig | 4 ++++ 1 file changed, 4 insertions(+)
diff --git a/configs/mx6sabresd_defconfig b/configs/mx6sabresd_defconfig index 5b527cbd5b..f302b68e95 100644 --- a/configs/mx6sabresd_defconfig +++ b/configs/mx6sabresd_defconfig @@ -82,7 +82,11 @@ CONFIG_SPI_FLASH_STMICRO=y CONFIG_PHYLIB=y CONFIG_MII=y CONFIG_PCI=y +CONFIG_PINCTRL=y +CONFIG_PINCTRL_IMX6=y CONFIG_DM_REGULATOR=y +CONFIG_DM_REGULATOR_FIXED=y +CONFIG_DM_REGULATOR_GPIO=y CONFIG_SPI=y CONFIG_DM_SPI=y CONFIG_MXC_SPI=y

Without this alias, `fastboot 0/1` will return error -ENODEV.
Signed-off-by: Peng Fan peng.fan@nxp.com --- arch/arm/dts/imx6qdl.dtsi | 2 ++ 1 file changed, 2 insertions(+)
diff --git a/arch/arm/dts/imx6qdl.dtsi b/arch/arm/dts/imx6qdl.dtsi index 83eeb5cc59..ba20eb696f 100644 --- a/arch/arm/dts/imx6qdl.dtsi +++ b/arch/arm/dts/imx6qdl.dtsi @@ -49,6 +49,8 @@ spi3 = &ecspi4; usbphy0 = &usbphy1; usbphy1 = &usbphy2; + usb0 = &usbotg; + usb1 = &usbh1; };
clocks {
participants (1)
-
Peng Fan