summaryrefslogtreecommitdiff
path: root/arch/arm
diff options
context:
space:
mode:
authorPeng Fan <peng.fan@nxp.com>2017-02-07 10:22:02 +0800
committerYe Li <ye.li@nxp.com>2017-04-05 14:07:06 +0800
commitab2f9e136f5da034a8335dc8ca276a54367132e8 (patch)
tree332209f9384c02d5b79daf780582d9930a25130d /arch/arm
parent0137915ed40e2da5a6de4d30574d08e2bf3a0363 (diff)
downloadu-boot-imx-ab2f9e136f5da034a8335dc8ca276a54367132e8.zip
u-boot-imx-ab2f9e136f5da034a8335dc8ca276a54367132e8.tar.gz
u-boot-imx-ab2f9e136f5da034a8335dc8ca276a54367132e8.tar.bz2
MLK-14418-8 imx: mx7dsabresd: add epdc support
Add epdc support from v2016.03. Add a epdc specified DTS file for using epdc Signed-off-by: Peng Fan <peng.fan@nxp.com> Signed-off-by: Ye Li <ye.li@nxp.com>
Diffstat (limited to 'arch/arm')
-rw-r--r--arch/arm/dts/Makefile1
-rw-r--r--arch/arm/dts/imx7d-sdb-epdc.dts9
-rw-r--r--arch/arm/dts/imx7d-sdb-epdc.dtsi54
3 files changed, 64 insertions, 0 deletions
diff --git a/arch/arm/dts/Makefile b/arch/arm/dts/Makefile
index 8893142..3c3dbd7 100644
--- a/arch/arm/dts/Makefile
+++ b/arch/arm/dts/Makefile
@@ -363,6 +363,7 @@ dtb-$(CONFIG_MX6) += imx6ul-14x14-ddr3-arm2.dtb \
dtb-$(CONFIG_MX7) += imx7-colibri.dtb \
imx7d-sdb.dtb \
+ imx7d-sdb-epdc.dtb \
imx7d-sdb-reva.dtb
dtb-$(CONFIG_SOC_KEYSTONE) += keystone-k2hk-evm.dtb \
diff --git a/arch/arm/dts/imx7d-sdb-epdc.dts b/arch/arm/dts/imx7d-sdb-epdc.dts
new file mode 100644
index 0000000..e263ad4
--- /dev/null
+++ b/arch/arm/dts/imx7d-sdb-epdc.dts
@@ -0,0 +1,9 @@
+/*
+ * 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 "imx7d-sdb.dts"
+#include "imx7d-sdb-epdc.dtsi"
diff --git a/arch/arm/dts/imx7d-sdb-epdc.dtsi b/arch/arm/dts/imx7d-sdb-epdc.dtsi
new file mode 100644
index 0000000..a04aca7
--- /dev/null
+++ b/arch/arm/dts/imx7d-sdb-epdc.dtsi
@@ -0,0 +1,54 @@
+/*
+ * 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.
+ */
+
+&epdc {
+ status = "okay";
+};
+
+&fec1 {
+ status = "disabled";
+};
+
+&fec2 {
+ status = "disabled";
+};
+
+&flexcan2 {
+ status = "disabled";
+};
+
+&max17135 {
+ status = "okay";
+};
+
+&sii902x {
+ status = "disabled";
+};
+
+&sim1 {
+ status = "disabled";
+};
+
+&uart5 {
+ status = "disabled";
+};
+
+&i2c3 {
+ elan@10 {
+ pinctrl-names = "default";
+ pinctrl-0 = <&pinctrl_epdc_elan_touch>;
+ compatible = "elan,elan-touch";
+ reg = <0x10>;
+ interrupt-parent = <&gpio6>;
+ interrupts = <12 IRQ_TYPE_EDGE_FALLING>;
+ gpio_elan_cs = <&gpio6 13 0>;
+ gpio_elan_rst = <&gpio6 15 0>;
+ gpio_intr = <&gpio6 12 0>;
+ status = "okay";
+ };
+};