ENGR00333049 ARM: dts: add dts file for ecspi on imx6q sabreauto
authorAllen Xu <b45815@freescale.com>
Wed, 24 Sep 2014 20:01:57 +0000 (15:01 -0500)
committerNitin Garg <nitin.garg@nxp.com>
Mon, 19 Mar 2018 19:49:23 +0000 (14:49 -0500)
add new dts file to support ecspi on imx6q sabreauto board.

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

arch/arm/boot/dts/Makefile
arch/arm/boot/dts/imx6q-sabreauto-ecspi.dts [new file with mode: 0644]

index a440d7c..042a8d4 100644 (file)
@@ -395,6 +395,7 @@ dtb-$(CONFIG_SOC_IMX6Q) += \
        imx6q-phytec-pbab01.dtb \
        imx6q-rex-pro.dtb \
        imx6q-sabreauto.dtb \
+       imx6q-sabreauto-ecspi.dtb \
        imx6q-sabreauto-gpmi-weim.dtb \
        imx6qp-sabreauto.dtb \
        imx6q-sabrelite.dtb \
diff --git a/arch/arm/boot/dts/imx6q-sabreauto-ecspi.dts b/arch/arm/boot/dts/imx6q-sabreauto-ecspi.dts
new file mode 100644 (file)
index 0000000..4fbb207
--- /dev/null
@@ -0,0 +1,43 @@
+/*
+ * 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 "imx6q-sabreauto.dts"
+
+&ecspi1 {
+       pinctrl-assert-gpios = <&gpio5 4 GPIO_ACTIVE_LOW>;
+       status = "okay";
+};
+
+/* remove #if 0 after flexcan is ready */
+#if 0
+&flexcan2 {
+       /* max7310_c on i2c3 is gone */
+       status = "disabled";
+};
+#endif
+
+&i2c3 {
+       /* pin conflict with ecspi1 */
+       status = "disabled";
+};
+
+&uart3 {
+       /* the uart3 depends on the i2c3, so disable it too. */
+       status = "disabled";
+};
+
+&usbh1 {
+       /* max7310_b on i2c3 is gone */
+       status = "disabled";
+};
+
+&usbotg {
+       /* max7310_c on i2c3 is gone */
+       status = "okay";
+       dr_mode = "peripheral";
+};