MLK-11374: ARM: dts: add NAND support for i.MX6UL ddr3 arm2 board
authorFugang Duan <b38611@freescale.com>
Tue, 18 Aug 2015 07:55:26 +0000 (15:55 +0800)
committerNitin Garg <nitin.garg@nxp.com>
Mon, 19 Mar 2018 19:47:33 +0000 (14:47 -0500)
Add GPMI NAND support for i.MX6UL 14x14 ddr3 arm2 board.

Signed-off-by: Han Xu <b45815@freescale.com>
Signed-off-by: Fugang Duan <B38611@freescale.com>
arch/arm/boot/dts/Makefile
arch/arm/boot/dts/imx6ul-14x14-ddr3-arm2-gpmi-weim.dts [new file with mode: 0644]

index 1f8c968..f46a8bd 100644 (file)
@@ -424,7 +424,8 @@ dtb-$(CONFIG_SOC_IMX6UL) += \
        imx6ul-tx6ul-0010.dtb \
        imx6ul-tx6ul-0011.dtb \
        imx6ul-tx6ul-mainboard.dtb \
-       imx6ul-14x14-ddr3-arm2.dtb
+       imx6ul-14x14-ddr3-arm2.dtb \
+       imx6ul-14x14-ddr3-arm2-gpmi-weim.dtb
 dtb-$(CONFIG_SOC_IMX7D) += \
        imx7d-cl-som-imx7.dtb \
        imx7d-colibri-eval-v3.dtb \
diff --git a/arch/arm/boot/dts/imx6ul-14x14-ddr3-arm2-gpmi-weim.dts b/arch/arm/boot/dts/imx6ul-14x14-ddr3-arm2-gpmi-weim.dts
new file mode 100644 (file)
index 0000000..2e6b544
--- /dev/null
@@ -0,0 +1,34 @@
+/*
+ * Copyright (C) 2015 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 "imx6ul-14x14-ddr3-arm2.dts"
+
+/*
+ * solve pin conflict with NAND
+ *
+ * USDHC2_CD, SD2_RST_B, USDHC2_WP conflict with RAWNAND CE pins , also
+ * overwritten the conflict of SD2_RST_B with RAWNAND ALE in hog
+ * QSPI CLK, CE and DATA pins conflict with RAWNAND data pins and CE, CLE, RB,
+ * WP, DQS pin
+ *
+ */
+&iomuxc {
+       pinctrl-0 = <&pinctrl_hog>;
+};
+
+&qspi{
+       status = "disabled";
+};
+
+&gpmi{
+       status = "okay";
+};
+
+&usdhc2 {
+       status = "disabled";
+};