]> git.baikalelectronics.ru Git - uboot.git/commit
imx: imx7d-sdb: Add DM QSPI support
authorYe Li <ye.li@nxp.com>
Thu, 28 Jun 2018 02:30:53 +0000 (19:30 -0700)
committerStefano Babic <sbabic@denx.de>
Tue, 4 Sep 2018 06:47:23 +0000 (08:47 +0200)
commitf1ae661e8f31255a14c11c94682d3450cedb5776
tree71071abb3d4c29a408c562b8ba4e5ebf58b4e4e7
parent16d4a4b0b9c17a6605dfd6f2304162b36ec65c9b
imx: imx7d-sdb: Add DM QSPI support

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
   align with kernel and also present the conflict.
 - Add -u-boot.dtsi to modify compatible string of mx25l51245g@0 to
   "spi-flash"
 - Remove iomux settings of qspi in board codes which is not needed
   for DM driver.

Signed-off-by: Ye Li <ye.li@nxp.com>
arch/arm/dts/Makefile
arch/arm/dts/imx7d-sdb-qspi-u-boot.dtsi [new file with mode: 0644]
arch/arm/dts/imx7d-sdb-qspi.dts [new file with mode: 0644]
arch/arm/dts/imx7d-sdb.dts
arch/arm/dts/imx7d.dtsi
arch/arm/dts/imx7s.dtsi
board/freescale/mx7dsabresd/mx7dsabresd.c
configs/mx7dsabresd_qspi_defconfig [new file with mode: 0644]
include/configs/mx7dsabresd.h