ARM: dts: stm32: Add DH Electronics DHCOM SoM and PDK2 board
Subsystems (4)
PATCH v3 1/1 ARM: dts: stm32: Add DH Electronics DHCOM SoM and PDK2 board
Add support for DH Electronics DHCOM SoM and PDK2 rev. 400 carrier board. This is an SoM with STM32MP15xx and an evaluation kit. The baseboard provides Ethernet, UART, USB, CAN and optional display.
---
V2: Rebase on u-boot/master and multi-board changes.
V3: - Fold in changes from Patrick to scrub more ST-board bits
- Rename DTs to stm32mp15xx-dhcom* as the devkit can host any of the STM32MP1 SoCs
--- arch/arm/dts/Makefile | 3 +- .../dts/stm32mp15xx-dhcom-pdk2-u-boot.dtsi | 6 + arch/arm/dts/stm32mp15xx-dhcom-pdk2.dts | 88 +++ arch/arm/dts/stm32mp15xx-dhcom-u-boot.dtsi | 238 ++++++ arch/arm/dts/stm32mp15xx-dhcom.dtsi | 379 ++++++++++ arch/arm/mach-stm32mp/Kconfig | 9 + board/dhelectronics/dh_stm32mp1/Kconfig | 21 + board/dhelectronics/dh_stm32mp1/MAINTAINERS | 7 + board/dhelectronics/dh_stm32mp1/Makefile | 10 + board/dhelectronics/dh_stm32mp1/board.c | 689 ++++++++++++++++++ configs/stm32mp15_dhcom_basic_defconfig | 138 ++++ 11 files changed, 1587 insertions(+), 1 deletion(-) create mode 100644 arch/arm/dts/stm32mp15xx-dhcom-pdk2-u-boot.dtsi create mode 100644 arch/arm/dts/stm32mp15xx-dhcom-pdk2.dts create mode 100644 arch/arm/dts/stm32mp15xx-dhcom-u-boot.dtsi create mode 100644 arch/arm/dts/stm32mp15xx-dhcom.dtsi create mode 100644 board/dhelectronics/dh_stm32mp1/Kconfig create mode 100644 board/dhelectronics/dh_stm32mp1/MAINTAINERS create mode 100644 board/dhelectronics/dh_stm32mp1/Makefile create mode 100644 board/dhelectronics/dh_stm32mp1/board.c create mode 100644 configs/stm32mp15_dhcom_basic_defconfig
arch/arm/dts/Makefile +2 -1
@@ -874,7 +874,8 @@ dtb-$(CONFIG_STM32MP15x) += \ stm32mp157a-avenger96.dtb \ stm32mp157c-dk2.dtb \ stm32mp157c-ed1.dtb \ - stm32mp157c-ev1.dtb + stm32mp157c-ev1.dtb \ + stm32mp15xx-dhcom-pdk2.dtb dtb-$(CONFIG_SOC_K3_AM6) += k3-am654-base-board.dtb k3-am654-r5-base-board.dtb dtb-$(CONFIG_SOC_K3_J721E) += k3-j721e-common-proc-board.dtb \
arch/arm/dts/stm32mp15xx-dhcom-pdk2-u-boot.dtsi new file +6 -0
@@ -0,0 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0+ OR BSD-3-Clause +/* + * Copyright (C) 2019 Marek Vasut <[email protected]> + */ + +#include "stm32mp15xx-dhcom-u-boot.dtsi"
arch/arm/dts/stm32mp15xx-dhcom-pdk2.dts new file +88 -0
88 lines not on this page · raw message
arch/arm/dts/stm32mp15xx-dhcom-u-boot.dtsi new file +238 -0
238 lines not on this page · raw message
arch/arm/dts/stm32mp15xx-dhcom.dtsi new file +379 -0
379 lines not on this page · raw message
arch/arm/mach-stm32mp/Kconfig +9 -0
@@ -73,6 +73,14 @@ config TARGET_ST_STM32MP15x Evalulation board (EV1) or Discovery board (DK1 and DK2). The difference between board are managed with devicetree +config TARGET_DH_STM32MP1_PDK2 + bool "DH STM32MP1 PDK2" + select STM32MP15x + imply BOOTCOUNT_LIMIT + imply CMD_BOOTCOUNT + help + Target the DH PDK2 development kit with STM32MP15x SoM. + endchoice config STM32MP1_TRUSTED
@@ -158,5 +166,6 @@ config DEBUG_UART_CLOCK endif source "board/st/stm32mp1/Kconfig" +source "board/dhelectronics/dh_stm32mp1/Kconfig" endif
board/dhelectronics/dh_stm32mp1/Kconfig new file +21 -0
@@ -0,0 +1,21 @@ +if TARGET_DH_STM32MP1_PDK2 + +config SYS_BOARD + default "dh_stm32mp1" + +config SYS_VENDOR + default "dhelectronics" + +config SYS_CONFIG_NAME + default "stm32mp1" + +config ENV_SECT_SIZE + default 0x10000 if ENV_IS_IN_SPI_FLASH + +config ENV_OFFSET + default 0x1E0000 if ENV_IS_IN_SPI_FLASH + +config ENV_OFFSET_REDUND + default 0x1F0000 if ENV_IS_IN_SPI_FLASH + +endif
board/dhelectronics/dh_stm32mp1/MAINTAINERS new file +7 -0
@@ -0,0 +1,7 @@ +DH_STM32MP1_PDK2 BOARD +M: Marek Vasut <[email protected]> +S: Maintained +F: arch/arm/dts/stm32mp15xx-dhcom* +F: board/dhelectronics/dh_stm32mp1/ +F: configs/stm32mp15_dhcom_basic_defconfig +F: include/configs/stm32mp1.h
board/dhelectronics/dh_stm32mp1/Makefile new file +10 -0
@@ -0,0 +1,10 @@ +# SPDX-License-Identifier: GPL-2.0+ OR BSD-3-Clause +# +# Copyright (C) 2018, STMicroelectronics - All Rights Reserved +# + +ifdef CONFIG_SPL_BUILD +obj-y += ../../st/stm32mp1/spl.o +endif + +obj-y += ../../st/stm32mp1/board.o board.o
board/dhelectronics/dh_stm32mp1/board.c new file +689 -0
689 lines not on this page · raw message
configs/stm32mp15_dhcom_basic_defconfig new file +138 -0
138 lines not on this page · raw message
Signature · 1 line
2.24.1
PATCH v3 1/1 ARM: dts: stm32: Add DH Electronics DHCOM SoM and PDK2 board
Hi Marek,
Quoted 10 lines
From: Marek Vasut <[email protected]>
Sent: vendredi 24 janvier 2020 18:39Add support for DH Electronics DHCOM SoM and PDK2 rev. 400 carrier board. This is an SoM with STM32MP15xx and an evaluation kit. The baseboard provides Ethernet, UART, USB, CAN and optional display.
Signed-off-by Marek Vasut <[email protected]>Cc Patrick Delaunay <[email protected]>Cc Patrice Chotard <[email protected]>
Quoted 6 lines
---
V2: Rebase on u-boot/master and multi-board changes.
V3: - Fold in changes from Patrick to scrub more ST-board bits
- Rename DTs to stm32mp15xx-dhcom* as the devkit can host any of the STM32MP1 SoCs
---
I will integrate this patch in my next pull request.
Thanks,
Patrick
PATCH v3 1/1 ARM: dts: stm32: Add DH Electronics DHCOM SoM and PDK2 board
Hi,
Quoted 16 lines
From: Patrick DELAUNAY
Sent: lundi 27 janvier 2020 11:13Hi Marek,
Quoted 11 lines
From: Marek Vasut <[email protected]>
Sent: vendredi 24 janvier 2020 18:39Add support for DH Electronics DHCOM SoM and PDK2 rev. 400 carrier board. This is an SoM with STM32MP15xx and an evaluation kit. The baseboard provides Ethernet, UART, USB, CAN and optional display.
Signed-off-by Marek Vasut <[email protected]>Cc Patrick Delaunay <[email protected]>Cc Patrice Chotard <[email protected]>---
Applied to u-boot-stm32/master, thanks!
Regards
Patrick