From c28da46ecf525f41ebb72059994024144850e751 Mon Sep 17 00:00:00 2001 From: Allen Xu Date: Wed, 24 Sep 2014 15:01:57 -0500 Subject: [PATCH] ENGR00333049 ARM: dts: add dts file for ecspi on imx6q sabreauto add new dts file to support ecspi on imx6q sabreauto board. Signed-off-by: Allen Xu --- arch/arm/boot/dts/Makefile | 1 + arch/arm/boot/dts/imx6q-sabreauto-ecspi.dts | 40 +++++++++++++++++++++ 2 files changed, 41 insertions(+) create mode 100644 arch/arm/boot/dts/imx6q-sabreauto-ecspi.dts diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile index dc07c2af583a..8a449730ac22 100644 --- a/arch/arm/boot/dts/Makefile +++ b/arch/arm/boot/dts/Makefile @@ -170,6 +170,7 @@ dtb-$(CONFIG_ARCH_MXC) += \ imx6q-phytec-pbab01.dtb \ imx6q-sabreauto.dtb \ imx6q-sabreauto-flexcan1.dtb \ + imx6q-sabreauto-ecspi.dtb \ imx6q-sabreauto-gpmi-weim.dtb \ imx6q-sabrelite.dtb \ imx6q-sabresd.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 index 000000000000..557fbc6ed047 --- /dev/null +++ b/arch/arm/boot/dts/imx6q-sabreauto-ecspi.dts @@ -0,0 +1,40 @@ +/* + * 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"; +}; + +&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 { + /* max7310_c on i2c3 is gone */ + status = "okay"; + dr_mode = "peripheral"; +}; -- 2.39.2