From cee3785a7c8325b912b7be971eea2a181b3d4415 Mon Sep 17 00:00:00 2001 From: Han Xu Date: Thu, 12 Mar 2015 18:11:52 -0500 Subject: [PATCH] MLK-10483: ARM: dts: add gpmi weim support for imx6qp dts for gpmi nand and weim nor support for imx6qp sabreauto Signed-off-by: Han Xu (cherry picked and merge from commit adb9c42a8be0bd148069540b089d2e762bec05e9) --- arch/arm/boot/dts/Makefile | 2 +- .../boot/dts/imx6qp-sabreauto-gpmi-weim.dts | 52 +++++++++++++++++++ 2 files changed, 53 insertions(+), 1 deletion(-) create mode 100644 arch/arm/boot/dts/imx6qp-sabreauto-gpmi-weim.dts diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile index 042a8d42ddc2..781c4d043522 100644 --- a/arch/arm/boot/dts/Makefile +++ b/arch/arm/boot/dts/Makefile @@ -397,7 +397,6 @@ dtb-$(CONFIG_SOC_IMX6Q) += \ imx6q-sabreauto.dtb \ imx6q-sabreauto-ecspi.dtb \ imx6q-sabreauto-gpmi-weim.dtb \ - imx6qp-sabreauto.dtb \ imx6q-sabrelite.dtb \ imx6q-sabresd.dtb \ imx6q-sabresd-btwifi.dtb \ @@ -420,6 +419,7 @@ dtb-$(CONFIG_SOC_IMX6Q) += \ imx6q-wandboard-revb1.dtb \ imx6qp-nitrogen6_max.dtb \ imx6qp-sabreauto.dtb \ + imx6qp-sabreauto-gpmi-weim.dtb \ imx6qp-sabresd.dtb dtb-$(CONFIG_SOC_IMX6SL) += \ imx6sl-evk.dtb \ diff --git a/arch/arm/boot/dts/imx6qp-sabreauto-gpmi-weim.dts b/arch/arm/boot/dts/imx6qp-sabreauto-gpmi-weim.dts new file mode 100644 index 000000000000..9830f790d1d1 --- /dev/null +++ b/arch/arm/boot/dts/imx6qp-sabreauto-gpmi-weim.dts @@ -0,0 +1,52 @@ +/* + * 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 "imx6qp-sabreauto.dts" + +&ecspi1 { + /* pin conflict with weim */ + status = "disabled"; +}; + +/* remove #if 0 after flexcan is ready */ +#if 0 +&flexcan2 { + /* max7310_c on i2c3 is gone */ + status = "disabled"; +}; +#endif + +&gpmi { + status = "okay"; +}; + +&i2c3 { + /* pin conflict with weim */ + status = "disabled"; +}; + +&uart3 { + /* pin conflict with gpmi and weim */ + status = "disabled"; +}; + +&usbh1 { + /* max7310_b on i2c3 is gone */ + status = "disabled"; +}; + +&usbotg { + /* max7310_c on i2c3 is gone */ + status = "okay"; + dr_mode = "peripheral"; +}; + +&weim { + pinctrl-assert-gpios = <&gpio5 4 GPIO_ACTIVE_LOW>; + status = "okay"; +}; -- 2.17.1