From: Patrick Delaunay <patrick.delaunay@foss.st.com>
To: <u-boot@lists.denx.de>
Cc: Patrick Delaunay <patrick.delaunay@foss.st.com>,
Andre Przywara <andre.przywara@arm.com>,
Bharat Gooty <bharat.gooty@broadcom.com>,
Christian Hewitt <christianshewitt@gmail.com>,
Fabio Estevam <festevam@denx.de>,
Jaehoon Chung <jh80.chung@samsung.com>,
Jagan Teki <jagan@amarulasolutions.com>,
Marek Vasut <marex@denx.de>,
Neil Armstrong <narmstrong@baylibre.com>,
Patrice Chotard <patrice.chotard@foss.st.com>,
Peng Fan <peng.fan@nxp.com>,
Rayagonda Kokatanur <rayagonda.kokatanur@broadcom.com>,
Simon Glass <sjg@chromium.org>,
Tim Harvey <tharvey@gateworks.com>, Tom Rini <trini@konsulko.com>,
U-Boot STM32 <uboot-stm32@st-md-mailman.stormreply.com>,
"Ying-Chun Liu (PaulLiu)" <paul.liu@linaro.org>
Subject: [PATCH 00/16] stm32mp: add STM32MP13x support
Date: Fri, 6 May 2022 16:06:07 +0200 [thread overview]
Message-ID: <20220506140624.445542-1-patrick.delaunay@foss.st.com> (raw)
Add the minimal support of the new STM32MP13x in mach-stm32mp
to allow boot from SD Card.
STM32MP13x is a single Cortex-A7 MPU aimed at various applications.
The discovery board is supported with stm32mp13_defconfig and the
device tree stm32mp135f-dk.dts.
The supported boot sequence is:
- TF-A BL2
- OP-TEE
- U-Boot
- Linux Kernel
The console over UART and boot from SD Card is functional
with this serie.
The RCC driver, with support of reset and clock, is not yet provided
today and the SCMI is not yet activated in device tree as in Linux
kernel.
Patrick Delaunay (16):
ARM: dts: stm32: add STM32MP13 SoCs support
configs: stm32mp1: move SUPPORT_SPL in STM32MP15x
arm: stm32mp: move the get_otp helper function in bsec
arm: stm32mp: move code for STM32MP15x
arm: stm32mp: add choice for STM32MP SOC family
arm: stm32mp: add sub config Kconfig.15x
arm: stm32mp: add CONFIG_STM32MP15_PWR
arm: stm32mp: add support of STM32MP13x
arm: stm32mp: support 2 MAC address for STM32MP13
pinctrl: stm32: add support of STM32MP135
board: stm32pm1: add stm32mp13 board support
ram: stm32mp1: add support of STM32MP13x
mmc: stm32_sdmmc2: make reset property optional
arm: dts: stm32mp: add stm32mp13 device tree for U-Boot
configs: add stm32mp13 defconfig
doc: st: stm32mp1: add STM32MP13x support
arch/arm/Kconfig | 1 -
arch/arm/dts/Makefile | 3 +
arch/arm/dts/stm32mp13-pinctrl.dtsi | 123 ++++++
arch/arm/dts/stm32mp13-u-boot.dtsi | 91 ++++
arch/arm/dts/stm32mp131.dtsi | 358 ++++++++++++++++
arch/arm/dts/stm32mp133.dtsi | 37 ++
arch/arm/dts/stm32mp135.dtsi | 12 +
arch/arm/dts/stm32mp135f-dk-u-boot.dtsi | 30 ++
arch/arm/dts/stm32mp135f-dk.dts | 57 +++
arch/arm/dts/stm32mp13xc.dtsi | 17 +
arch/arm/dts/stm32mp13xf.dtsi | 17 +
arch/arm/mach-stm32mp/Kconfig | 146 ++-----
arch/arm/mach-stm32mp/Kconfig.13x | 57 +++
arch/arm/mach-stm32mp/Kconfig.15x | 135 ++++++
arch/arm/mach-stm32mp/Makefile | 5 +-
arch/arm/mach-stm32mp/bsec.c | 17 +
arch/arm/mach-stm32mp/cpu.c | 392 ++----------------
arch/arm/mach-stm32mp/fdt.c | 11 +-
arch/arm/mach-stm32mp/include/mach/stm32.h | 26 ++
.../arm/mach-stm32mp/include/mach/sys_proto.h | 34 +-
arch/arm/mach-stm32mp/spl.c | 1 +
arch/arm/mach-stm32mp/stm32mp13x.c | 135 ++++++
arch/arm/mach-stm32mp/stm32mp15x.c | 350 ++++++++++++++++
board/st/stm32mp1/Kconfig | 15 +
board/st/stm32mp1/MAINTAINERS | 4 +
board/st/stm32mp1/stm32mp1.c | 27 +-
configs/stm32mp13_defconfig | 54 +++
configs/stm32mp15_basic_defconfig | 6 +-
configs/stm32mp15_defconfig | 6 +-
configs/stm32mp15_trusted_defconfig | 8 +-
doc/board/st/stm32mp1.rst | 181 +++++---
.../memory-controllers/st,stm32mp1-ddr.txt | 49 ++-
drivers/mmc/stm32_sdmmc2.c | 14 +-
drivers/pinctrl/pinctrl_stm32.c | 1 +
drivers/ram/stm32mp1/stm32mp1_ram.c | 28 +-
include/configs/stm32mp13_common.h | 106 +++++
include/configs/stm32mp13_st_common.h | 17 +
include/configs/stm32mp15_common.h | 4 +-
38 files changed, 1992 insertions(+), 583 deletions(-)
create mode 100644 arch/arm/dts/stm32mp13-pinctrl.dtsi
create mode 100644 arch/arm/dts/stm32mp13-u-boot.dtsi
create mode 100644 arch/arm/dts/stm32mp131.dtsi
create mode 100644 arch/arm/dts/stm32mp133.dtsi
create mode 100644 arch/arm/dts/stm32mp135.dtsi
create mode 100644 arch/arm/dts/stm32mp135f-dk-u-boot.dtsi
create mode 100644 arch/arm/dts/stm32mp135f-dk.dts
create mode 100644 arch/arm/dts/stm32mp13xc.dtsi
create mode 100644 arch/arm/dts/stm32mp13xf.dtsi
create mode 100644 arch/arm/mach-stm32mp/Kconfig.13x
create mode 100644 arch/arm/mach-stm32mp/Kconfig.15x
create mode 100644 arch/arm/mach-stm32mp/stm32mp13x.c
create mode 100644 arch/arm/mach-stm32mp/stm32mp15x.c
create mode 100644 configs/stm32mp13_defconfig
create mode 100644 include/configs/stm32mp13_common.h
create mode 100644 include/configs/stm32mp13_st_common.h
--
2.25.1
next reply other threads:[~2022-05-06 14:07 UTC|newest]
Thread overview: 55+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-05-06 14:06 Patrick Delaunay [this message]
2022-05-06 14:06 ` [PATCH 01/16] ARM: dts: stm32: add STM32MP13 SoCs support Patrick Delaunay
2022-05-20 6:31 ` Patrice CHOTARD
2022-06-17 8:47 ` Patrick DELAUNAY
2022-05-06 14:06 ` [PATCH 02/16] configs: stm32mp1: move SUPPORT_SPL in STM32MP15x Patrick Delaunay
2022-05-20 6:32 ` Patrice CHOTARD
2022-06-17 8:47 ` Patrick DELAUNAY
2022-05-06 14:06 ` [PATCH 03/16] arm: stm32mp: move the get_otp helper function in bsec Patrick Delaunay
2022-05-20 6:32 ` Patrice CHOTARD
2022-06-17 8:47 ` Patrick DELAUNAY
2022-05-06 14:06 ` [PATCH 04/16] arm: stm32mp: move code for STM32MP15x Patrick Delaunay
2022-05-20 6:32 ` Patrice CHOTARD
2022-06-17 8:48 ` Patrick DELAUNAY
2022-05-06 14:06 ` [PATCH 05/16] arm: stm32mp: add choice for STM32MP SOC family Patrick Delaunay
2022-05-20 6:37 ` Patrice CHOTARD
2022-06-17 8:48 ` Patrick DELAUNAY
2022-05-06 14:06 ` [PATCH 06/16] arm: stm32mp: add sub config Kconfig.15x Patrick Delaunay
2022-05-20 6:39 ` Patrice CHOTARD
2022-06-17 8:49 ` Patrick DELAUNAY
2022-05-06 14:06 ` [PATCH 07/16] arm: stm32mp: add CONFIG_STM32MP15_PWR Patrick Delaunay
2022-05-20 6:41 ` Patrice CHOTARD
2022-06-17 8:49 ` Patrick DELAUNAY
2022-05-06 14:06 ` [PATCH 08/16] arm: stm32mp: add support of STM32MP13x Patrick Delaunay
2022-05-20 6:49 ` Patrice CHOTARD
2022-05-20 7:24 ` [Uboot-stm32] " Patrice CHOTARD
2022-05-20 7:44 ` Marek Vasut
2022-06-17 8:57 ` Patrick DELAUNAY
2022-05-06 14:06 ` [PATCH 09/16] arm: stm32mp: support 2 MAC address for STM32MP13 Patrick Delaunay
2022-05-20 6:55 ` Patrice CHOTARD
2022-06-17 8:57 ` Patrick DELAUNAY
2022-05-06 14:06 ` [PATCH 10/16] pinctrl: stm32: add support of STM32MP135 Patrick Delaunay
2022-05-20 6:55 ` Patrice CHOTARD
2022-05-20 6:57 ` Patrice CHOTARD
2022-06-17 8:57 ` Patrick DELAUNAY
2022-05-06 14:06 ` [PATCH 11/16] board: stm32pm1: add stm32mp13 board support Patrick Delaunay
2022-05-20 7:02 ` Patrice CHOTARD
2022-05-20 15:33 ` Patrick DELAUNAY
2022-06-17 9:00 ` Patrick DELAUNAY
2022-05-06 14:06 ` [PATCH 12/16] ram: stm32mp1: add support of STM32MP13x Patrick Delaunay
2022-05-20 7:09 ` Patrice CHOTARD
2022-06-17 9:01 ` Patrick DELAUNAY
2022-05-06 14:06 ` [PATCH 13/16] mmc: stm32_sdmmc2: make reset property optional Patrick Delaunay
2022-05-16 23:34 ` Jaehoon Chung
2022-05-20 7:10 ` Patrice CHOTARD
2022-06-17 9:01 ` Patrick DELAUNAY
2022-05-06 14:06 ` [PATCH 14/16] arm: dts: stm32mp: add stm32mp13 device tree for U-Boot Patrick Delaunay
2022-05-20 7:10 ` Patrice CHOTARD
2022-06-17 9:01 ` Patrick DELAUNAY
2022-05-06 14:06 ` [PATCH 15/16] configs: add stm32mp13 defconfig Patrick Delaunay
2022-05-20 7:10 ` Patrice CHOTARD
2022-06-17 9:04 ` Patrick DELAUNAY
2022-05-06 14:06 ` [PATCH 16/16] doc: st: stm32mp1: add STM32MP13x support Patrick Delaunay
2022-05-20 7:21 ` Patrice CHOTARD
2022-05-20 16:13 ` Patrick DELAUNAY
2022-06-17 9:05 ` Patrick DELAUNAY
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20220506140624.445542-1-patrick.delaunay@foss.st.com \
--to=patrick.delaunay@foss.st.com \
--cc=andre.przywara@arm.com \
--cc=bharat.gooty@broadcom.com \
--cc=christianshewitt@gmail.com \
--cc=festevam@denx.de \
--cc=jagan@amarulasolutions.com \
--cc=jh80.chung@samsung.com \
--cc=marex@denx.de \
--cc=narmstrong@baylibre.com \
--cc=patrice.chotard@foss.st.com \
--cc=paul.liu@linaro.org \
--cc=peng.fan@nxp.com \
--cc=rayagonda.kokatanur@broadcom.com \
--cc=sjg@chromium.org \
--cc=tharvey@gateworks.com \
--cc=trini@konsulko.com \
--cc=u-boot@lists.denx.de \
--cc=uboot-stm32@st-md-mailman.stormreply.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.