MLK-9943 ARM: dts: add new dts for nand support for 19x19 arm2
authorAllen Xu <b45815@freescale.com>
Tue, 2 Dec 2014 19:23:39 +0000 (03:23 +0800)
committerNitin Garg <nitin.garg@nxp.com>
Mon, 19 Mar 2018 19:49:22 +0000 (14:49 -0500)
Add new dts file to support NAND for imx6sx 19x19 arm2 board.

Signed-off-by: Allen Xu <b45815@freescale.com>
(cherry picked and merge from commit bdc522d1773156f03b74d4711a60f81824184b40)

arch/arm/boot/dts/Makefile
arch/arm/boot/dts/imx6sx-19x19-arm2-gpmi-weim.dts [new file with mode: 0644]

index 5a3cdec..e00fd71 100644 (file)
@@ -439,7 +439,8 @@ dtb-$(CONFIG_SOC_IMX6SX) += \
        imx6sx-sdb-sai.dtb \
        imx6sx-19x19-arm2.dtb \
        imx6sx-19x19-arm2-ldo.dtb \
-       imx6sx-19x19-arm2-csi.dtb
+       imx6sx-19x19-arm2-csi.dtb \
+       imx6sx-19x19-arm2-gpmi-weim.dtb
 dtb-$(CONFIG_SOC_IMX6UL) += \
        imx6ul-14x14-evk.dtb \
        imx6ul-14x14-evk-btwifi.dtb \
diff --git a/arch/arm/boot/dts/imx6sx-19x19-arm2-gpmi-weim.dts b/arch/arm/boot/dts/imx6sx-19x19-arm2-gpmi-weim.dts
new file mode 100644 (file)
index 0000000..88d1cdb
--- /dev/null
@@ -0,0 +1,19 @@
+/*
+ * Copyright (C) 2014 Freescale Semiconductor, Inc.
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ */
+
+#include "imx6sx-19x19-arm2.dts"
+
+&qspi2 {
+       status = "disabled";
+};
+
+&gpmi {
+       pinctrl-names = "default";
+       pinctrl-0 = <&pinctrl_gpmi_nand_1>;
+       status = "okay"; /* pin conflict with qspi*/
+};