mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-08-26 11:58:52 +09:00
![Ye Li](/assets/img/avatar_default.png)
To support DM QSPI driver: - Add -u-boot.dtsi to modify n25q256a@0 and n25q256a@1 compatible string to "spi-flash" and add "num-cs" property. - Enable DM SPI and DM SPI FLASH configurations - Remove iomux settings of qspi1 in board codes which is not needed for DM driver. Signed-off-by: Ye Li <ye.li@nxp.com>
17 lines
204 B
Plaintext
17 lines
204 B
Plaintext
// SPDX-License-Identifier: GPL-2.0+
|
|
/*
|
|
* Copyright 2018 NXP
|
|
*/
|
|
|
|
&qspi1 {
|
|
num-cs = <2>;
|
|
|
|
flash0: n25q256a@0 {
|
|
compatible = "spi-flash";
|
|
};
|
|
|
|
flash1: n25q256a@1 {
|
|
compatible = "spi-flash";
|
|
};
|
|
};
|