Skip to contentSkip to conversation

mx7ulp: Add support for Embedded Artists COM board

PATCH Superseded Fabio Estevam 1 participant 1 message Dec 9, 2019

Subsystems (3)

v4 of 5 Superseded Latest is v5 →

lore
Share & tools
lore

Fabio Estevam

author reviewer
#0 lore raw

PATCH v4 1/1 mx7ulp: Add support for Embedded Artists COM board

The Embedded Artists COM board is based on NXP i.MX7ULP.

It has a BD70528 PMIC from Rohm with discrete DCDC powering option and improved current observability (compared to the existing NXP i.MX7ULP EVK).

Add the initial support for the board.

---
Changes since v3:
- Rebased against the latest u-boot-imx tree.

 arch/arm/dts/Makefile            |   3 +-
 arch/arm/dts/imx7ulp-com.dts     |  90 ++++++++++++++++++++++
 arch/arm/mach-imx/mx7ulp/Kconfig |   6 ++
 board/ea/mx7ulp_com/Kconfig      |  12 +++
 board/ea/mx7ulp_com/MAINTAINERS  |   6 ++
 board/ea/mx7ulp_com/Makefile     |   6 ++
 board/ea/mx7ulp_com/imximage.cfg | 128 +++++++++++++++++++++++++++++++
 board/ea/mx7ulp_com/mx7ulp_com.c |  48 ++++++++++++
 configs/mx7ulp_com_defconfig     |  61 +++++++++++++++
 include/configs/mx7ulp_com.h     | 103 +++++++++++++++++++++++++
 10 files changed, 462 insertions(+), 1 deletion(-)
 create mode 100644 arch/arm/dts/imx7ulp-com.dts
 create mode 100644 board/ea/mx7ulp_com/Kconfig
 create mode 100644 board/ea/mx7ulp_com/MAINTAINERS
 create mode 100644 board/ea/mx7ulp_com/Makefile
 create mode 100644 board/ea/mx7ulp_com/imximage.cfg
 create mode 100644 board/ea/mx7ulp_com/mx7ulp_com.c
 create mode 100644 configs/mx7ulp_com_defconfig
 create mode 100644 include/configs/mx7ulp_com.h
arch/arm/dts/Makefile +2 -1
index d8846df1bd..9a92de71eb 100644
@@ -657,7 +657,8 @@ dtb-$(CONFIG_MX7) += imx7d-sdb.dtb \
 	imx7d-pico-hobbit.dtb
 
 
-dtb-$(CONFIG_ARCH_MX7ULP) += imx7ulp-evk.dtb
+dtb-$(CONFIG_ARCH_MX7ULP) += imx7ulp-com.dtb \
+	imx7ulp-evk.dtb
 
 dtb-$(CONFIG_ARCH_IMX8) += \
 	fsl-imx8qm-apalis.dtb \
arch/arm/dts/imx7ulp-com.dts new file +90 -0

90 lines not on this page · raw message

arch/arm/mach-imx/mx7ulp/Kconfig +6 -0
index 138c58363f..6680f856c5 100644
@@ -15,6 +15,11 @@ choice
 	prompt "MX7ULP board select"
 	optional
 
+config TARGET_MX7ULP_COM
+	bool "Support MX7ULP COM board"
+	select MX7ULP
+	select SYS_ARCH_TIMER
+
 config TARGET_MX7ULP_EVK
 	bool "Support mx7ulp EVK board"
 	select MX7ULP
@@ -22,6 +27,7 @@ config TARGET_MX7ULP_EVK
 
 endchoice
 
+source "board/ea/mx7ulp_com/Kconfig"
 source "board/freescale/mx7ulp_evk/Kconfig"
 
 endif
board/ea/mx7ulp_com/Kconfig new file +12 -0
new file mode 100644
index 0000000000..90883aced4
@@ -0,0 +1,12 @@
+if TARGET_MX7ULP_COM
+
+config SYS_BOARD
+	default "mx7ulp_com"
+
+config SYS_VENDOR
+	default "ea"
+
+config SYS_CONFIG_NAME
+	default "mx7ulp_com"
+
+endif
board/ea/mx7ulp_com/MAINTAINERS new file +6 -0
new file mode 100644
index 0000000000..3f69511b1a
@@ -0,0 +1,6 @@
+MX7ULPCOM BOARD
+M:	Fabio Estevam <[email protected]>
+S:	Maintained
+F:	board/ea/mx7ulp_com/
+F:	include/configs/mx7ulp_com.h
+F:	configs/mx7ulp_com_defconfig
board/ea/mx7ulp_com/Makefile new file +6 -0
new file mode 100644
index 0000000000..b3b230b172
@@ -0,0 +1,6 @@
+# (C) Copyright 2016 Freescale Semiconductor, Inc.
+#
+# SPDX-License-Identifier:	GPL-2.0+
+#
+
+obj-y  := mx7ulp_com.o
board/ea/mx7ulp_com/imximage.cfg new file +128 -0

128 lines not on this page · raw message

board/ea/mx7ulp_com/mx7ulp_com.c new file +48 -0

48 lines not on this page · raw message

configs/mx7ulp_com_defconfig new file +61 -0

61 lines not on this page · raw message

include/configs/mx7ulp_com.h new file +103 -0

103 lines not on this page · raw message

Signature · 1 line
2.17.1