arm: imx8m: add support for Advantech RSB-3720
Subsystems (3)
v7 cover arm: imx8m: add support for Advantech RSB-3720
From: "Ying-Chun Liu (PaulLiu)" <[email protected]>
Hi. I resend this patch for u-boot-imx due to v7 doesn't directly apply. Because a previous imx8mm changes for Kconfig and Makefile causes a conflict, I resend this patch for easier pick-up.
Add initial support for Advantech RSB-3720 board.
The initial support includes:
- MMC
- eMMC
- I2C
- FEC
- Serial console
v2: update dts
v3: remove unnecessary code. move board code to board/advantech
v4: rebase to latest master branch.
v5: fix commit description
v6: update dts
v7: remove redefined configs for latest master branch.
Ying-Chun Liu (PaulLiu) (1):
arm: imx8m: add support for Advantech RSB-3720
arch/arm/dts/Makefile | 4 + arch/arm/mach-imx/imx8m/Kconfig | 15 + board/advantech/imx8mp_rsb3720a1/Kconfig | 14 + board/advantech/imx8mp_rsb3720a1/MAINTAINERS | 7 + board/advantech/imx8mp_rsb3720a1/Makefile | 24 + .../imx8mp_rsb3720a1/imx8mp_rsb3720a1.c | 213 ++ .../imx8mp_rsb3720a1/imximage-8mp-lpddr4.cfg | 11 + .../lpddr4_timing_rsb3720a1_4G.c | 1848 ++++++++++++++++ .../lpddr4_timing_rsb3720a1_6G.c | 1875 +++++++++++++++++ board/advantech/imx8mp_rsb3720a1/spl.c | 260 +++ configs/imx8mp_rsb3720a1_4G_defconfig | 167 ++ configs/imx8mp_rsb3720a1_6G_defconfig | 168 ++ include/configs/imx8mp_rsb3720.h | 223 ++ 13 files changed, 4829 insertions(+) create mode 100644 board/advantech/imx8mp_rsb3720a1/Kconfig create mode 100644 board/advantech/imx8mp_rsb3720a1/MAINTAINERS create mode 100644 board/advantech/imx8mp_rsb3720a1/Makefile create mode 100644 board/advantech/imx8mp_rsb3720a1/imx8mp_rsb3720a1.c create mode 100644 board/advantech/imx8mp_rsb3720a1/imximage-8mp-lpddr4.cfg create mode 100644 board/advantech/imx8mp_rsb3720a1/lpddr4_timing_rsb3720a1_4G.c create mode 100644 board/advantech/imx8mp_rsb3720a1/lpddr4_timing_rsb3720a1_6G.c create mode 100644 board/advantech/imx8mp_rsb3720a1/spl.c create mode 100644 configs/imx8mp_rsb3720a1_4G_defconfig create mode 100644 configs/imx8mp_rsb3720a1_6G_defconfig create mode 100644 include/configs/imx8mp_rsb3720.h
Signature · 1 line
2.34.1
PATCH RESEND v7 1/1 arm: imx8m: add support for Advantech RSB-3720
From: "Ying-Chun Liu (PaulLiu)" <[email protected]>
Add initial support for Advantech RSB-3720 board.
The initial support includes:
- MMC
- eMMC
- I2C
- FEC
- Serial console
---
v3: remove unnecessary code. move board code to board/advantech
v4: rebase to latest master branch
v7: remove redefined configs for latest master branch.
--- arch/arm/dts/Makefile | 4 + arch/arm/mach-imx/imx8m/Kconfig | 15 + board/advantech/imx8mp_rsb3720a1/Kconfig | 14 + board/advantech/imx8mp_rsb3720a1/MAINTAINERS | 7 + board/advantech/imx8mp_rsb3720a1/Makefile | 24 + .../imx8mp_rsb3720a1/imx8mp_rsb3720a1.c | 213 ++ .../imx8mp_rsb3720a1/imximage-8mp-lpddr4.cfg | 11 + .../lpddr4_timing_rsb3720a1_4G.c | 1848 ++++++++++++++++ .../lpddr4_timing_rsb3720a1_6G.c | 1875 +++++++++++++++++ board/advantech/imx8mp_rsb3720a1/spl.c | 260 +++ configs/imx8mp_rsb3720a1_4G_defconfig | 167 ++ configs/imx8mp_rsb3720a1_6G_defconfig | 168 ++ include/configs/imx8mp_rsb3720.h | 223 ++ 13 files changed, 4829 insertions(+) create mode 100644 board/advantech/imx8mp_rsb3720a1/Kconfig create mode 100644 board/advantech/imx8mp_rsb3720a1/MAINTAINERS create mode 100644 board/advantech/imx8mp_rsb3720a1/Makefile create mode 100644 board/advantech/imx8mp_rsb3720a1/imx8mp_rsb3720a1.c create mode 100644 board/advantech/imx8mp_rsb3720a1/imximage-8mp-lpddr4.cfg create mode 100644 board/advantech/imx8mp_rsb3720a1/lpddr4_timing_rsb3720a1_4G.c create mode 100644 board/advantech/imx8mp_rsb3720a1/lpddr4_timing_rsb3720a1_6G.c create mode 100644 board/advantech/imx8mp_rsb3720a1/spl.c create mode 100644 configs/imx8mp_rsb3720a1_4G_defconfig create mode 100644 configs/imx8mp_rsb3720a1_6G_defconfig create mode 100644 include/configs/imx8mp_rsb3720.h
arch/arm/dts/Makefile +4 -0
@@ -1199,6 +1199,10 @@ dtb-$(CONFIG_TARGET_IMX8MM_CL_IOT_GATE_OPTEE) += imx8mm-cl-iot-gate-optee.dtb \ imx8mm-cl-iot-gate-ied-tpm0.dtbo \ imx8mm-cl-iot-gate-ied-tpm1.dtbo +ifneq ($(CONFIG_TARGET_IMX8MP_RSB3720A1_4G)$(CONFIG_TARGET_IMX8MP_RSB3720A1_6G),) +dtb-y += imx8mp-rsb3720-a1.dtb +endif + dtb-$(CONFIG_TARGET_EA_LPC3250DEVKITV2) += lpc3250-ea3250.dtb dtb-$(CONFIG_ARCH_QEMU) += qemu-arm.dtb qemu-arm64.dtb
arch/arm/mach-imx/imx8m/Kconfig +15 -0
@@ -182,8 +182,23 @@ config TARGET_IMX8MM_CL_IOT_GATE_OPTEE select SUPPORT_SPL select IMX8M_LPDDR4 select SUPPORT_EXTENSION_SCAN + +config TARGET_IMX8MP_RSB3720A1_4G + bool "Support i.MX8MP RSB3720A1 4G" + select BINMAN + select IMX8MP + select SUPPORT_SPL + select IMX8M_LPDDR4 + +config TARGET_IMX8MP_RSB3720A1_6G + bool "Support i.MX8MP RSB3720A1 6G" + select BINMAN + select IMX8MP + select SUPPORT_SPL + select IMX8M_LPDDR4 endchoice +source "board/advantech/imx8mp_rsb3720a1/Kconfig" source "board/beacon/imx8mm/Kconfig" source "board/beacon/imx8mn/Kconfig" source "board/compulab/imx8mm-cl-iot-gate/Kconfig"
board/advantech/imx8mp_rsb3720a1/Kconfig new file +14 -0
@@ -0,0 +1,14 @@ +if TARGET_IMX8MP_RSB3720A1_4G || TARGET_IMX8MP_RSB3720A1_6G + +config SYS_BOARD + default "imx8mp_rsb3720a1" + +config SYS_VENDOR + default "advantech" + +config SYS_CONFIG_NAME + default "imx8mp_rsb3720" + +source "board/freescale/common/Kconfig" + +endif
board/advantech/imx8mp_rsb3720a1/MAINTAINERS new file +7 -0
@@ -0,0 +1,7 @@ +i.MX8MP RSB3720 BOARD +M: Ying-Chun Liu (PaulLiu) <[email protected]> +S: Maintained +F: board/advantech/imx8mp_rsb3720a1/ +F: include/configs/imx8mp_rsb3720a1.h +F: configs/imx8mp_rsb3720a1_4G_defconfig +F: configs/imx8mp_rsb3720a1_6G_defconfig
board/advantech/imx8mp_rsb3720a1/Makefile new file +24 -0
@@ -0,0 +1,24 @@ +# +# Copyright 2019 NXP +# Copyright 2022 Linaro +# +# SPDX-License-Identifier: GPL-2.0+ +# + +ifdef CONFIG_TARGET_IMX8MP_RSB3720A1_6G +obj-y += imx8mp_rsb3720a1.o + +ifdef CONFIG_SPL_BUILD +obj-y += spl.o +obj-$(CONFIG_IMX8M_LPDDR4) += lpddr4_timing_rsb3720a1_6G.o +endif +endif + +ifdef CONFIG_TARGET_IMX8MP_RSB3720A1_4G +obj-y += imx8mp_rsb3720a1.o + +ifdef CONFIG_SPL_BUILD +obj-y += spl.o +obj-$(CONFIG_IMX8M_LPDDR4) += lpddr4_timing_rsb3720a1_4G.o +endif +endif
board/advantech/imx8mp_rsb3720a1/imx8mp_rsb3720a1.c new file +213 -0
213 lines not on this page · raw message
board/advantech/imx8mp_rsb3720a1/imximage-8mp-lpddr4.cfg new file +11 -0
@@ -0,0 +1,11 @@ +/* SPDX-License-Identifier: GPL-2.0+ */ +/* + * Copyright 2019 NXP + * Copyright 2022 NXP + */ + +#define __ASSEMBLY__ + +ROM_VERSION v2 +BOOT_FROM sd +LOADER u-boot-spl-ddr.bin 0x920000
board/advantech/imx8mp_rsb3720a1/lpddr4_timing_rsb3720a1_4G.c new file +1848 -0
1,848 lines not on this page · raw message
board/advantech/imx8mp_rsb3720a1/lpddr4_timing_rsb3720a1_6G.c new file +1875 -0
850 lines not on this page · raw message
board/advantech/imx8mp_rsb3720a1/spl.c new file +260 -0
260 lines not on this page · raw message
configs/imx8mp_rsb3720a1_4G_defconfig new file +167 -0
167 lines not on this page · raw message
configs/imx8mp_rsb3720a1_6G_defconfig new file +168 -0
168 lines not on this page · raw message
include/configs/imx8mp_rsb3720.h new file +223 -0
223 lines not on this page · raw message
The rest of this diff is not shown. View the raw message.
Signature · 1 line
2.34.1
Part of the diff is not shown here. View the raw message.
PATCH RESEND v7 1/1 arm: imx8m: add support for Advantech RSB-3720
Quoted 8 lines
From: "Ying-Chun Liu (PaulLiu)" <[email protected]> Add initial support for Advantech RSB-3720 board. The initial support includes:
- MMC
- eMMC
- I2C
- FEC
- Serial console
Quoted 8 lines
Signed-off-by Darren Huang <[email protected]>Signed-off-by Kevin12.Chen <[email protected]>Signed-off-by Phill.Liu <[email protected]>Signed-off-by Tim Liang <[email protected]>Signed-off-by wei.zeng <[email protected]>Signed-off-by Ying-Chun Liu (PaulLiu) <[email protected]>Cc uboot-imx <[email protected]>Cc Peng Fan (OSS) <[email protected]>
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] =====================================================================