Skip to contentSkip to conversation

mx7d: Add Storopack's SMEGW01 board

PATCH New Fabio Estevam 2 participants 2 messages May 28, 2021 – Jun 9, 2021

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 mx7d: Add Storopack's SMEGW01 board

Add support for Storopack's SMEGW01 board, which is an IoT gateway based on the i.MX7D SoC.

Based on the original U-Boot work done by Phytec.

---
 arch/arm/dts/Makefile                |   4 +-
 arch/arm/dts/imx7d-smegw01.dts       | 190 +++++++++++++++++++++++++++
 arch/arm/mach-imx/mx7/Kconfig        |   9 ++
 board/storopack/smegw01/Kconfig      |  12 ++
 board/storopack/smegw01/MAINTAINERS  |   8 ++
 board/storopack/smegw01/Makefile     |   4 +
 board/storopack/smegw01/imximage.cfg | 100 ++++++++++++++
 board/storopack/smegw01/smegw01.c    |  95 ++++++++++++++
 configs/smegw01_defconfig            |  63 +++++++++
 include/configs/smegw01.h            |  63 +++++++++
 10 files changed, 546 insertions(+), 2 deletions(-)
 create mode 100644 arch/arm/dts/imx7d-smegw01.dts
 create mode 100644 board/storopack/smegw01/Kconfig
 create mode 100644 board/storopack/smegw01/MAINTAINERS
 create mode 100644 board/storopack/smegw01/Makefile
 create mode 100644 board/storopack/smegw01/imximage.cfg
 create mode 100644 board/storopack/smegw01/smegw01.c
 create mode 100644 configs/smegw01_defconfig
 create mode 100644 include/configs/smegw01.h
arch/arm/dts/Makefile +2 -2
index a389be98a294..3ae6758531df 100644
@@ -817,8 +817,8 @@ dtb-$(CONFIG_MX7) += imx7d-sdb.dtb \
 	imx7s-warp.dtb \
 	imx7d-meerkat96.dtb \
 	imx7d-pico-pi.dtb \
-	imx7d-pico-hobbit.dtb
-
+	imx7d-pico-hobbit.dtb \
+	imx7d-smegw01.dtb
 
 dtb-$(CONFIG_ARCH_MX7ULP) += imx7ulp-com.dtb \
 	imx7ulp-evk.dtb
arch/arm/dts/imx7d-smegw01.dts new file +190 -0

190 lines not on this page · raw message

arch/arm/mach-imx/mx7/Kconfig +9 -0
index 5c6fe426efbe..adedc011648f 100644
@@ -70,6 +70,14 @@ config TARGET_PICO_IMX7D
 	select SUPPORT_SPL
 	imply CMD_DM
 
+config TARGET_SMEGW01
+	bool "smegw01"
+	select BOARD_LATE_INIT
+	select DM
+	select DM_THERMAL
+	select MX7D
+	imply CMD_DM
+
 config TARGET_WARP7
 	bool "warp7"
 	select BOARD_LATE_INIT
@@ -94,6 +102,7 @@ source "board/compulab/cl-som-imx7/Kconfig"
 source "board/ronetix/imx7-cm/Kconfig"
 source "board/freescale/mx7dsabresd/Kconfig"
 source "board/novtech/meerkat96/Kconfig"
+source "board/storopack/smegw01/Kconfig"
 source "board/technexion/pico-imx7d/Kconfig"
 source "board/toradex/colibri_imx7/Kconfig"
 source "board/warp7/Kconfig"
board/storopack/smegw01/Kconfig new file +12 -0
new file mode 100644
index 000000000000..4503b65419a6
@@ -0,0 +1,12 @@
+if TARGET_SMEGW01
+
+config SYS_BOARD
+	default "smegw01"
+
+config SYS_VENDOR
+	default "storopack"
+
+config SYS_CONFIG_NAME
+	default "smegw01"
+
+endif
board/storopack/smegw01/MAINTAINERS new file +7 -0
new file mode 100644
index 000000000000..761059859ded
@@ -0,0 +1,7 @@
+SMEGW01 BOARD
+M:	Fabio Estevam <[email protected]>
+S:	Maintained
+F:	board/storopack/
+F:	arch/arm/dts/imx7d-smegw01.dts
+F:	configs/smegw01_defconfig
+F:	include/configs/smegw01.h
board/storopack/smegw01/Makefile new file +4 -0
new file mode 100644
index 000000000000..f02e7bb8b007
@@ -0,0 +1,4 @@
+# SPDX-License-Identifier: GPL-2.0+
+# (C) Copyright 2016 NXP Semiconductors
+
+obj-y  := smegw01.o
board/storopack/smegw01/imximage.cfg new file +100 -0

100 lines not on this page · raw message

board/storopack/smegw01/smegw01.c new file +95 -0

95 lines not on this page · raw message

configs/smegw01_defconfig new file +63 -0

63 lines not on this page · raw message

include/configs/smegw01.h new file +63 -0

63 lines not on this page · raw message

Signature · 1 line
2.25.1
#1 lore raw

PATCH 1/1 mx7d: Add Storopack's SMEGW01 board

Quoted 4 lines

Add support for Storopack's SMEGW01 board, which is an IoT gateway based on the i.MX7D SoC.
Based on the original U-Boot work done by Phytec.

Applied to u-boot-imx, master, thanks !

Best regards,
Stefano Babic

Signature · 5 lines
=====================================================================
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: [email protected]
=====================================================================