On Wed, Jun 27, 2018 at 12:19 PM, Ye Li <ye...@nxp.com> wrote: > On iMX7D SabreSD board, the QSPI has pins conflict with EPDC (default). > To use QSPI, users have to rework the board (de-populate R388-R391, R396-R399 > populate R392-R395, R299, R300). So we add new DTS file and new defconfig > dedicated for QSPI. > > Other changes to support the DM QSPI: > - Add QSPI node and alias spi0. > - Modify spi4 (spi-gpio) node and add alias spi5 for it to avoid req > conflict > - Add EPDC node in imx7d.dtsi and disable it in imx7d-sdb-qspi.dts, > to present the conflict. > - Remove iomux settings of qspi in board codes which is not needed > for DM driver. > > Signed-off-by: Ye Li <ye...@nxp.com> > --- > arch/arm/dts/Makefile | 3 +- > arch/arm/dts/imx7d-sdb-qspi.dts | 44 ++++++++++++++++ > arch/arm/dts/imx7d-sdb.dts | 6 ++- > arch/arm/dts/imx7d.dtsi | 12 +++++ > arch/arm/dts/imx7s.dtsi | 22 ++++++--
[snip] > +CONFIG_CMD_DFU=y > +CONFIG_CMD_GPIO=y > +CONFIG_CMD_I2C=y > +CONFIG_CMD_MMC=y > +CONFIG_CMD_SF=y > +CONFIG_CMD_USB=y > +CONFIG_CMD_USB_MASS_STORAGE=y > +CONFIG_CMD_DHCP=y > +CONFIG_CMD_MII=y > +CONFIG_CMD_PING=y > +CONFIG_CMD_BMP=y > +CONFIG_CMD_CACHE=y > +CONFIG_CMD_PMIC=y > +CONFIG_CMD_REGULATOR=y > +CONFIG_CMD_EXT2=y > +CONFIG_CMD_EXT4=y > +CONFIG_CMD_EXT4_WRITE=y > +CONFIG_CMD_FAT=y > +CONFIG_OF_CONTROL=y > +CONFIG_DFU_MMC=y > +CONFIG_DFU_RAM=y > +CONFIG_DM_GPIO=y > +CONFIG_DM_74X164=y > +CONFIG_DM_I2C=y > +CONFIG_DM_MMC=y > +CONFIG_MMC_IO_VOLTAGE=y > +CONFIG_MMC_UHS_SUPPORT=y > +CONFIG_MMC_HS200_SUPPORT=y > +CONFIG_FSL_ESDHC=y fyi, this will soon remove if no further update on dm- conversion [1] > +CONFIG_FSL_QSPI=y Better to do full dm conversion before using, otherwise we have migration expire rule [2] [1] https://patchwork.ozlabs.org/patch/911785/ [2] doc/driver-model/MIGRATION.txt _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot