]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
ENGR00333047 ARM: dts: add new dts for ecspi on imx6dl sabreauto
authorAllen Xu <b45815@freescale.com>
Wed, 24 Sep 2014 19:57:27 +0000 (14:57 -0500)
committerNitin Garg <nitin.garg@freescale.com>
Fri, 16 Jan 2015 03:18:02 +0000 (21:18 -0600)
new dts file to support ecspi on imx6dl sabreauto board.

Signed-off-by: Allen Xu <b45815@freescale.com>
arch/arm/boot/dts/Makefile
arch/arm/boot/dts/imx6dl-sabreauto-ecspi.dts [new file with mode: 0644]

index 20c4469914aa49d748036f4335dac9a1e578c6d7..642ddb1ad20f6d6e76dec3f48541da17d1c01fc4 100644 (file)
@@ -157,6 +157,7 @@ dtb-$(CONFIG_ARCH_MXC) += \
        imx6dl-hummingboard.dtb \
        imx6dl-sabreauto.dtb \
        imx6dl-sabreauto-flexcan1.dtb \
+       imx6dl-sabreauto-ecspi.dtb \
        imx6dl-sabreauto-gpmi-weim.dtb \
        imx6dl-sabresd.dtb \
        imx6dl-sabresd-enetirq.dtb \
diff --git a/arch/arm/boot/dts/imx6dl-sabreauto-ecspi.dts b/arch/arm/boot/dts/imx6dl-sabreauto-ecspi.dts
new file mode 100644 (file)
index 0000000..12eb949
--- /dev/null
@@ -0,0 +1,39 @@
+/*
+ * 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 "imx6dl-sabreauto.dts"
+
+&ecspi1 {
+       pinctrl-assert-gpios = <&gpio5 4 GPIO_ACTIVE_LOW>;
+       status = "okay";
+};
+
+&flexcan2 {
+       /* max7310_c on i2c3 is gone */
+       status = "disabled";
+};
+
+&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 {
+       dr_mode = "peripheral";
+       status = "okay";
+};