summaryrefslogtreecommitdiff
path: root/board
diff options
context:
space:
mode:
authorYe Li <ye.li@nxp.com>2018-08-09 03:10:02 -0700
committerYe Li <ye.li@nxp.com>2018-08-10 03:11:00 -0700
commit8efc764dffc4c32187d65123f52030c28930a1ee (patch)
tree5d89931bec3e931a3accd1a5444e1b85d8ad208b /board
parentcdedbb42e052d4bb3ff6b45044dd0d6023f3cb20 (diff)
MLK-19177 imx8dx: Add iMX8DX DDR3 ARM2 board support
Add new dts, config and defconfig file for DX DDR3 ARM2 board. Since it does not have USB3.0 and SD, disable them in DTS and header file. Also move gpio expander to i2c1 according with its schematic. In defconfig, fastboot is default enabled due to we need uuu to program eMMC. Signed-off-by: Ye Li <ye.li@nxp.com> (cherry picked from commit e5b822615a5aa2fadb481002c286f35d996999f8)
Diffstat (limited to 'board')
-rw-r--r--board/freescale/imx8qxp_arm2/Kconfig2
-rw-r--r--board/freescale/imx8qxp_arm2/imx8qxp_arm2.c6
2 files changed, 6 insertions, 2 deletions
diff --git a/board/freescale/imx8qxp_arm2/Kconfig b/board/freescale/imx8qxp_arm2/Kconfig
index 64a93c487f..f4f15a12ed 100644
--- a/board/freescale/imx8qxp_arm2/Kconfig
+++ b/board/freescale/imx8qxp_arm2/Kconfig
@@ -1,4 +1,4 @@
-if TARGET_IMX8QXP_LPDDR4_ARM2 || TARGET_IMX8QXP_DDR3_ARM2
+if TARGET_IMX8QXP_LPDDR4_ARM2 || TARGET_IMX8QXP_DDR3_ARM2 || TARGET_IMX8DX_DDR3_ARM2
config SYS_BOARD
default "imx8qxp_arm2"
diff --git a/board/freescale/imx8qxp_arm2/imx8qxp_arm2.c b/board/freescale/imx8qxp_arm2/imx8qxp_arm2.c
index a099730adf..ef4599facc 100644
--- a/board/freescale/imx8qxp_arm2/imx8qxp_arm2.c
+++ b/board/freescale/imx8qxp_arm2/imx8qxp_arm2.c
@@ -105,7 +105,9 @@ int board_early_init_f(void)
static struct fsl_esdhc_cfg usdhc_cfg[CONFIG_SYS_FSL_USDHC_NUM] = {
{USDHC1_BASE_ADDR, 0, 8},
+#ifndef CONFIG_TARGET_IMX8DX_DDR3_ARM2
{USDHC2_BASE_ADDR, 0, 4},
+#endif
};
static iomux_cfg_t emmc0[] = {
@@ -443,8 +445,10 @@ static void board_gpio_init(void)
int checkboard(void)
{
-#ifdef CONFIG_TARGET_IMX8QXP_DDR3_ARM2
+#if defined(CONFIG_TARGET_IMX8QXP_DDR3_ARM2)
puts("Board: iMX8QXP DDR3 ARM2\n");
+#elif defined(CONFIG_TARGET_IMX8DX_DDR3_ARM2)
+ puts("Board: iMX8DX DDR3 ARM2\n");
#else
puts("Board: iMX8QXP LPDDR4 ARM2\n");
#endif