summaryrefslogtreecommitdiff
path: root/arch/arm/dts/imx6sx-sabreauto-u-boot.dtsi
diff options
context:
space:
mode:
authorYe Li <ye.li@nxp.com>2018-06-27 19:27:00 -0700
committerStefano Babic <sbabic@denx.de>2018-09-04 08:47:23 +0200
commit0925ee21851287d48279bb43e4a0876b2005a5f2 (patch)
tree29a39fe07b3f21eff5365933081bd291fb7e9c7b /arch/arm/dts/imx6sx-sabreauto-u-boot.dtsi
parent536c5c7a331d417d416dc04271b6f146db41cab0 (diff)
imx: imx6sx-sabreauto: convert to use DM QSPI driver
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>
Diffstat (limited to 'arch/arm/dts/imx6sx-sabreauto-u-boot.dtsi')
-rw-r--r--arch/arm/dts/imx6sx-sabreauto-u-boot.dtsi16
1 files changed, 16 insertions, 0 deletions
diff --git a/arch/arm/dts/imx6sx-sabreauto-u-boot.dtsi b/arch/arm/dts/imx6sx-sabreauto-u-boot.dtsi
new file mode 100644
index 0000000000..f5c68d707c
--- /dev/null
+++ b/arch/arm/dts/imx6sx-sabreauto-u-boot.dtsi
@@ -0,0 +1,16 @@
+// 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";
+ };
+};