mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-27 15:12:21 +00:00
536c5c7a33
To support DM QSPI driver - Add spi0 and spi1 alias for qspi1 and qspi2. - Add -u-boot.dtsi to modify n25q256a@0 and n25q256a@1 compatible string to "spi-flash" and add "num-cs" property. - Enable DM SPI/QSPI relavent configurations - Remove iomux settings of qspi2 in board codes which is not needed for DM driver. - Add sf default settings. So running "sf probe" can detect the flash Signed-off-by: Ye Li <ye.li@nxp.com>
16 lines
204 B
Text
16 lines
204 B
Text
// SPDX-License-Identifier: GPL-2.0+
|
|
/*
|
|
* Copyright 2018 NXP
|
|
*/
|
|
|
|
&qspi2 {
|
|
num-cs = <2>;
|
|
|
|
flash0: n25q256a@0 {
|
|
compatible = "spi-flash";
|
|
};
|
|
|
|
flash1: n25q256a@1 {
|
|
compatible = "spi-flash";
|
|
};
|
|
};
|