MLK-13350-2 ARM: dts: add ecspi dts file for imx6sll lpddr3 arm2 board
authorRobby Cai <robby.cai@nxp.com>
Fri, 14 Oct 2016 10:20:02 +0000 (18:20 +0800)
committerNitin Garg <nitin.garg@nxp.com>
Mon, 19 Mar 2018 19:52:26 +0000 (14:52 -0500)
ECSPI1_SCLK pin is shared by LCD power enable and SPI1 SCLK.
To use ecspi, need to disable lcdif function.

Signed-off-by: Robby Cai <robby.cai@nxp.com>
arch/arm/boot/dts/Makefile
arch/arm/boot/dts/imx6sll-lpddr3-arm2-ecspi.dts [new file with mode: 0644]

index 5f8f01b..b1c0bba 100644 (file)
@@ -511,6 +511,7 @@ dtb-$(CONFIG_SOC_IMX6ULL) += \
 dtb-$(CONFIG_SOC_IMX6SLL) += \
        imx6sll-lpddr3-arm2.dtb \
        imx6sll-lpddr3-arm2-csi.dtb \
+       imx6sll-lpddr3-arm2-ecspi.dtb \
        imx6sll-lpddr3-arm2-spdif.dtb
 dtb-$(CONFIG_SOC_IMX7D) += \
        imx7d-cl-som-imx7.dtb \
diff --git a/arch/arm/boot/dts/imx6sll-lpddr3-arm2-ecspi.dts b/arch/arm/boot/dts/imx6sll-lpddr3-arm2-ecspi.dts
new file mode 100644 (file)
index 0000000..d1facfc
--- /dev/null
@@ -0,0 +1,17 @@
+/*
+ * Copyright (C) 2016 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 "imx6sll-lpddr3-arm2.dts"
+
+&ecspi1 {
+       status = "okay";
+};
+
+&lcdif {
+       status = "disabled";
+};