[PATCH v3 1/3] ARM: dts: stm32: add STM32MP1-based Phytec SoM
Alexandre TORGUE
alexandre.torgue at foss.st.com
Tue Jun 21 05:27:35 PDT 2022
On 6/21/22 12:15, Steffen Trumtrar wrote:
> The Phytec STM32MP1 based SoMs feature up to 1 GB DDR3LP RAM, up to 1 GB eMMC,
> up to 16 MB QSPI and up to 128 GB NAND flash.
>
> As multiple default pinctrls are overwritten, collect them in one place
> in stm32mp157c-phycore-stm32mp15-pinctrl.dtsi.
>
> Signed-off-by: Steffen Trumtrar <s.trumtrar at pengutronix.de>
> ---
> Changes since v2:
> - /delete-property/dmas
> - fix dtbs_checks warnings
> - remove problematic+unused nodes
>
>
> arch/arm/boot/dts/Makefile | 3 +-
> ...stm32mp157c-phycore-stm32mp15-pinctrl.dtsi | 317 +++++++++
> .../stm32mp157c-phycore-stm32mp15-som.dtsi | 634 ++++++++++++++++++
> 3 files changed, 953 insertions(+), 1 deletion(-)
> create mode 100644 arch/arm/boot/dts/stm32mp157c-phycore-stm32mp15-pinctrl.dtsi
> create mode 100644 arch/arm/boot/dts/stm32mp157c-phycore-stm32mp15-som.dtsi
>
> diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile
> index 184899808ee7..de5c3cadb01a 100644
> --- a/arch/arm/boot/dts/Makefile
> +++ b/arch/arm/boot/dts/Makefile
> @@ -1213,7 +1213,8 @@ dtb-$(CONFIG_ARCH_STM32) += \
> stm32mp157c-ev1.dtb \
> stm32mp157c-ev1-scmi.dtb \
> stm32mp157c-lxa-mc1.dtb \
> - stm32mp157c-odyssey.dtb
> + stm32mp157c-odyssey.dtb \
> + stm32mp157c-phycore-stm32mp1-3.dtb
> dtb-$(CONFIG_MACH_SUN4I) += \
> sun4i-a10-a1000.dtb \
> sun4i-a10-ba10-tvbox.dtb \
> diff --git a/arch/arm/boot/dts/stm32mp157c-phycore-stm32mp15-pinctrl.dtsi b/arch/arm/boot/dts/stm32mp157c-phycore-stm32mp15-pinctrl.dtsi
> new file mode 100644
> index 000000000000..b0b590df43b6
> --- /dev/null
> +++ b/arch/arm/boot/dts/stm32mp157c-phycore-stm32mp15-pinctrl.dtsi
> @@ -0,0 +1,317 @@
> +// SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause)
> +/*
> + * Copyright (C) Phytec GmbH 2019-2020 - All Rights Reserved
> + * Author: Dom VOVARD <dom.vovard at linrt.com>.
> + */
> +#include "stm32mp15-pinctrl.dtsi"
> +
Why do you create a dedicated file for Phytec ? all other SOM providers
or board providers add their pinctrl groups in stm32mp15-pinctrl.dtsi file.
Apart that, Krzysztof did all the review :) (thanks for that)
Alex
More information about the linux-arm-kernel
mailing list