summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorYe Li <ye.li@nxp.com>2020-01-15 22:33:39 -0800
committerYe Li <ye.li@nxp.com>2020-01-15 23:45:42 -0800
commit914a03e8d2f069cfd558f853843b875d097100f8 (patch)
tree8ca72a35dc69afab05ed05de9ef3a7d326ac73e0 /arch
parent30ac5c4931e992fba5aef84ebbe321dfec24f24d (diff)
MLK-23241 imx8dx_mek: Add iMX8DX MEK board support
iMX8DX MEK board has similar design with 8QXP MEK. The major changes are 1. DDR changed to 16bits 1GB DDR part 2. USB3.0 is removed and only support OTG on typec port. (No SW change needed) This patch adds new defconfigs and DTS file for this new board. Signed-off-by: Ye Li <ye.li@nxp.com> Reviewed-by: Peng Fan <peng.fan@nxp.com> (cherry picked from commit 5efb4275f6cfefb5dd342f2e498834b40b989883)
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/dts/Makefile1
-rw-r--r--arch/arm/dts/fsl-imx8dx-mek.dts19
-rw-r--r--arch/arm/mach-imx/imx8/Kconfig6
3 files changed, 26 insertions, 0 deletions
diff --git a/arch/arm/dts/Makefile b/arch/arm/dts/Makefile
index 0ebe40df45..f9583618a3 100644
--- a/arch/arm/dts/Makefile
+++ b/arch/arm/dts/Makefile
@@ -473,6 +473,7 @@ dtb-$(CONFIG_ARCH_IMX8M) += fsl-imx8mq-evk.dtb \
fsl-imx8mn-evk.dtb
dtb-$(CONFIG_ARCH_IMX8) += fsl-imx8dx-17x17-val.dtb \
+ fsl-imx8dx-mek.dtb \
fsl-imx8qm-ddr4-arm2.dtb \
fsl-imx8qm-lpddr4-arm2.dtb \
fsl-imx8qm-mek.dtb \
diff --git a/arch/arm/dts/fsl-imx8dx-mek.dts b/arch/arm/dts/fsl-imx8dx-mek.dts
new file mode 100644
index 0000000000..d22b82f218
--- /dev/null
+++ b/arch/arm/dts/fsl-imx8dx-mek.dts
@@ -0,0 +1,19 @@
+/*
+ * Copyright 2020 NXP
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ */
+
+#include "fsl-imx8qxp-mek.dts"
+
+/ {
+ model = "Freescale i.MX8DX MEK";
+};
diff --git a/arch/arm/mach-imx/imx8/Kconfig b/arch/arm/mach-imx/imx8/Kconfig
index 40f07f62a8..748f2b9849 100644
--- a/arch/arm/mach-imx/imx8/Kconfig
+++ b/arch/arm/mach-imx/imx8/Kconfig
@@ -87,6 +87,12 @@ config TARGET_IMX8QXP_MEK
select SUPPORT_SPL
select IMX8QXP
+config TARGET_IMX8DX_MEK
+ bool "Support i.MX8DX MEK board"
+ select BOARD_LATE_INIT
+ select SUPPORT_SPL
+ select IMX8QXP
+
endchoice
source "board/freescale/imx8qm_arm2/Kconfig"