summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts
diff options
context:
space:
mode:
authorLuwei Zhou <b45643@freescale.com>2015-05-19 10:32:37 +0800
committerLuwei Zhou <b45643@freescale.com>2015-05-19 17:36:33 +0800
commit8870baaa9908f0692318c92949aa9c9f4c8d45b4 (patch)
tree342e573665f3e9338dd59ddf1ca07b2a7bb3de66 /arch/arm/boot/dts
parent62733a59dddd9a1b9325b825097758363cbf30da (diff)
MLK-10921: ARM: dts: imx7d: Enable the SIM1 devicetree on the i.MX7d-SDB platform.
Add the SIM1 devicetree support on the i.MX7D-SDB platform. Signed-off-by: Luwei Zhou <b45643@freescale.com>
Diffstat (limited to 'arch/arm/boot/dts')
-rw-r--r--arch/arm/boot/dts/Makefile2
-rw-r--r--arch/arm/boot/dts/imx7d-sdb-sim.dts17
-rw-r--r--arch/arm/boot/dts/imx7d-sdb.dts18
3 files changed, 37 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile
index 63b011c53fd4..1368299fab06 100644
--- a/arch/arm/boot/dts/Makefile
+++ b/arch/arm/boot/dts/Makefile
@@ -223,6 +223,7 @@ dtb-$(CONFIG_ARCH_MXC) += \
imx7d-12x12-lpddr3-arm2-enet.dtb \
imx7d-12x12-lpddr3-arm2-flexcan.dtb \
imx7d-12x12-lpddr3-arm2-qspi.dtb \
+ imx7d-12x12-lpddr3-arm2-sim.dtb \
imx7d-12x12-lpddr3-arm2-m4.dtb \
imx7d-12x12-lpddr3-arm2-pcie.dtb \
imx7d-19x19-lpddr3-arm2.dtb \
@@ -233,6 +234,7 @@ dtb-$(CONFIG_ARCH_MXC) += \
imx7d-sdb-epdc.dtb \
imx7d-sdb-gpmi-weim.dtb \
imx7d-sdb-qspi.dtb \
+ imx7d-sdb-sim.dtb \
imx7d-sdb-m4.dtb
dtb-$(CONFIG_ARCH_MXS) += imx23-evk.dtb \
imx23-olinuxino.dtb \
diff --git a/arch/arm/boot/dts/imx7d-sdb-sim.dts b/arch/arm/boot/dts/imx7d-sdb-sim.dts
new file mode 100644
index 000000000000..e70472502182
--- /dev/null
+++ b/arch/arm/boot/dts/imx7d-sdb-sim.dts
@@ -0,0 +1,17 @@
+/*
+ * 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"
+/* disable epdc, conflict with sim1 */
+&epdc {
+ status = "disabled";
+};
+
+&sim1 {
+ status = "okay";
+};
diff --git a/arch/arm/boot/dts/imx7d-sdb.dts b/arch/arm/boot/dts/imx7d-sdb.dts
index f55d71416963..4fe75efcd7f5 100644
--- a/arch/arm/boot/dts/imx7d-sdb.dts
+++ b/arch/arm/boot/dts/imx7d-sdb.dts
@@ -679,6 +679,16 @@
>;
};
+ pinctrl_sim1_1: sim1grp-1 {
+ fsl,pins = <
+ MX7D_PAD_EPDC_DATA10__SIM1_PORT1_RST_B 0x77
+ MX7D_PAD_EPDC_DATA12__SIM1_PORT1_PD 0x77
+ MX7D_PAD_EPDC_DATA11__SIM1_PORT1_SVEN 0x77
+ MX7D_PAD_EPDC_DATA09__SIM1_PORT1_CLK 0x73
+ MX7D_PAD_EPDC_DATA08__SIM1_PORT1_TRXD 0x73
+ >;
+ };
+
pinctrl_uart1: uart1grp {
fsl,pins = <
MX7D_PAD_UART1_TX_DATA__UART1_DCE_TX 0x79
@@ -884,6 +894,14 @@
status = "okay";
};
+&sim1 {
+ pinctrl-names = "default";
+ pinctrl-0 = <&pinctrl_sim1_1>;
+ port = <0>;
+ sven_low_active;
+ status = "disabled";
+};
+
&uart1 {
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_uart1>;