diff options
author | Ye Li <ye.li@nxp.com> | 2018-06-27 19:30:53 -0700 |
---|---|---|
committer | Stefano Babic <sbabic@denx.de> | 2018-09-04 08:47:23 +0200 |
commit | 3b82335015cc695b760c90f904ea85bae53c0597 (patch) | |
tree | 71071abb3d4c29a408c562b8ba4e5ebf58b4e4e7 /include/configs/mx7dsabresd.h | |
parent | 0925ee21851287d48279bb43e4a0876b2005a5f2 (diff) | |
download | u-boot-3b82335015cc695b760c90f904ea85bae53c0597.tar.gz u-boot-3b82335015cc695b760c90f904ea85bae53c0597.tar.xz u-boot-3b82335015cc695b760c90f904ea85bae53c0597.zip |
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>
Diffstat (limited to 'include/configs/mx7dsabresd.h')
-rw-r--r-- | include/configs/mx7dsabresd.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/include/configs/mx7dsabresd.h b/include/configs/mx7dsabresd.h index 11fcc9f158..87241ef4bf 100644 --- a/include/configs/mx7dsabresd.h +++ b/include/configs/mx7dsabresd.h @@ -225,9 +225,7 @@ #endif #ifdef CONFIG_FSL_QSPI -#define CONFIG_SPI_FLASH -#define CONFIG_SPI_FLASH_MACRONIX -#define CONFIG_SPI_FLASH_BAR +#define CONFIG_SYS_FSL_QSPI_AHB #define CONFIG_SF_DEFAULT_BUS 0 #define CONFIG_SF_DEFAULT_CS 0 #define CONFIG_SF_DEFAULT_SPEED 40000000 |