[U-Boot] [RFC 8/9] arm: pico-pi-imx7d: Convert to DM USB
Joris Offouga
offougajoris at gmail.com
Sun Jan 20 21:18:57 UTC 2019
Furthermore this patch create a aliase for usb0 to usbotg1.
This usb is used for mass storage and dfu.
Signed-off-by: Joris Offouga <offougajoris at gmail.com>
---
arch/arm/dts/imx7d-pico-pi.dts | 1 +
configs/pico-pi-imx7d_defconfig | 1 +
2 files changed, 2 insertions(+)
diff --git a/arch/arm/dts/imx7d-pico-pi.dts b/arch/arm/dts/imx7d-pico-pi.dts
index 806a2f9..347f165 100644
--- a/arch/arm/dts/imx7d-pico-pi.dts
+++ b/arch/arm/dts/imx7d-pico-pi.dts
@@ -10,6 +10,7 @@
aliases {
mmc0 = &usdhc3;
+ usb0 = &usbotg1;
};
chosen {
diff --git a/configs/pico-pi-imx7d_defconfig b/configs/pico-pi-imx7d_defconfig
index 24467bd..7f5c2e8 100644
--- a/configs/pico-pi-imx7d_defconfig
+++ b/configs/pico-pi-imx7d_defconfig
@@ -29,6 +29,7 @@ CONFIG_PINCTRL_IMX7=y
CONFIG_DM_GPIO=y
CONFIG_DM_I2C=y
CONFIG_DM_SERIAL=y
+CONFIG_DM_USB=y
CONFIG_DM_PMIC=y
CONFIG_DM_PMIC_PFUZE100=y
CONFIG_DM_REGULATOR=y
--
2.7.4
More information about the U-Boot
mailing list