[PATCH v1 0/9] Add STM32MP2 SoCs and STM32MP257F-EV board support

Patrice Chotard patrice.chotard at foss.st.com
Fri Oct 27 16:39:53 CEST 2023


Add STM32MP257F Evaluation board support, it embeds a
STM32MP257FAI SoC, with 4GB of DDR4, TSN switch (2+1 ports),
2*USB typeA, 1*USB2 typeC, SNOR OctoSPI, mini PCIe, STPMIC2
for power distribution ...



Patrice Chotard (8):
  arm: caches: Make DCACHE_DEFAULT_OPTION accessible for ARM64 arch
  stm32mp: dram_init: Get RAM size from DT if no RAM driver found
  stm32mp: dram_init: Limit DDR usage under 4GB boundary for STM32MP
  stm32mp: bsec: Fix AARCH64 compilation warnings
  serial: stm32: Fix AARCH64 compilation warnings
  pinctrl: pinctrl_stm32: Add stm32mp2 support
  ARM: dts: stm32: Add STM32MP257F Evaluation board support
  stm32mp2: initial support

Patrick Delaunay (1):
  stm32mp: dram_init: Fix AARCH64 compilation warnings

 arch/arm/Kconfig                              |   2 +-
 arch/arm/dts/Makefile                         |   3 +
 arch/arm/dts/stm32mp25-pinctrl.dtsi           |  38 +++
 arch/arm/dts/stm32mp25-u-boot.dtsi            | 102 +++++++
 arch/arm/dts/stm32mp251.dtsi                  | 285 ++++++++++++++++++
 arch/arm/dts/stm32mp253.dtsi                  |  23 ++
 arch/arm/dts/stm32mp255.dtsi                  |   9 +
 arch/arm/dts/stm32mp257.dtsi                  |   9 +
 arch/arm/dts/stm32mp257f-ev1-u-boot.dtsi      |  20 ++
 arch/arm/dts/stm32mp257f-ev1.dts              |  55 ++++
 arch/arm/dts/stm32mp25xc.dtsi                 |   8 +
 arch/arm/dts/stm32mp25xf.dtsi                 |   8 +
 arch/arm/dts/stm32mp25xxai-pinctrl.dtsi       |  83 +++++
 arch/arm/dts/stm32mp25xxak-pinctrl.dtsi       |  71 +++++
 arch/arm/dts/stm32mp25xxal-pinctrl.dtsi       |  71 +++++
 arch/arm/include/asm/system.h                 |  16 +-
 arch/arm/mach-stm32mp/Kconfig                 |  26 +-
 arch/arm/mach-stm32mp/Kconfig.25x             |  43 +++
 arch/arm/mach-stm32mp/Makefile                |  15 +-
 arch/arm/mach-stm32mp/bsec.c                  |  29 +-
 arch/arm/mach-stm32mp/dram_init.c             |  17 +-
 arch/arm/mach-stm32mp/include/mach/stm32.h    | 141 +++++----
 .../arm/mach-stm32mp/include/mach/sys_proto.h |  26 ++
 arch/arm/mach-stm32mp/stm32mp1/Makefile       |  20 ++
 arch/arm/mach-stm32mp/{ => stm32mp1}/cpu.c    |   0
 arch/arm/mach-stm32mp/{ => stm32mp1}/fdt.c    |   0
 arch/arm/mach-stm32mp/{ => stm32mp1}/psci.c   |   0
 .../{ => stm32mp1}/pwr_regulator.c            |   0
 arch/arm/mach-stm32mp/{ => stm32mp1}/spl.c    |   0
 .../mach-stm32mp/{ => stm32mp1}/stm32mp13x.c  |   0
 .../mach-stm32mp/{ => stm32mp1}/stm32mp15x.c  |   0
 arch/arm/mach-stm32mp/{ => stm32mp1}/tzc400.c |   0
 arch/arm/mach-stm32mp/stm32mp2/Makefile       |   9 +
 arch/arm/mach-stm32mp/stm32mp2/arm64-mmu.c    |  68 +++++
 arch/arm/mach-stm32mp/stm32mp2/cpu.c          | 108 +++++++
 arch/arm/mach-stm32mp/stm32mp2/fdt.c          |  16 +
 arch/arm/mach-stm32mp/stm32mp2/stm32mp25x.c   | 194 ++++++++++++
 arch/arm/mach-stm32mp/syscon.c                |   4 +-
 board/st/stm32mp2/Kconfig                     |  13 +
 board/st/stm32mp2/MAINTAINERS                 |   9 +
 board/st/stm32mp2/Makefile                    |   6 +
 board/st/stm32mp2/stm32mp2.c                  |  52 ++++
 configs/stm32mp25_defconfig                   |  52 ++++
 drivers/pinctrl/pinctrl_stm32.c               |   2 +
 drivers/serial/serial_stm32.c                 |  23 +-
 drivers/serial/serial_stm32.h                 |   2 +-
 include/configs/stm32mp25_common.h            |  24 ++
 include/dt-bindings/pinctrl/stm32-pinfunc.h   |   3 +
 48 files changed, 1597 insertions(+), 108 deletions(-)
 create mode 100644 arch/arm/dts/stm32mp25-pinctrl.dtsi
 create mode 100644 arch/arm/dts/stm32mp25-u-boot.dtsi
 create mode 100644 arch/arm/dts/stm32mp251.dtsi
 create mode 100644 arch/arm/dts/stm32mp253.dtsi
 create mode 100644 arch/arm/dts/stm32mp255.dtsi
 create mode 100644 arch/arm/dts/stm32mp257.dtsi
 create mode 100644 arch/arm/dts/stm32mp257f-ev1-u-boot.dtsi
 create mode 100644 arch/arm/dts/stm32mp257f-ev1.dts
 create mode 100644 arch/arm/dts/stm32mp25xc.dtsi
 create mode 100644 arch/arm/dts/stm32mp25xf.dtsi
 create mode 100644 arch/arm/dts/stm32mp25xxai-pinctrl.dtsi
 create mode 100644 arch/arm/dts/stm32mp25xxak-pinctrl.dtsi
 create mode 100644 arch/arm/dts/stm32mp25xxal-pinctrl.dtsi
 create mode 100644 arch/arm/mach-stm32mp/Kconfig.25x
 create mode 100644 arch/arm/mach-stm32mp/stm32mp1/Makefile
 rename arch/arm/mach-stm32mp/{ => stm32mp1}/cpu.c (100%)
 rename arch/arm/mach-stm32mp/{ => stm32mp1}/fdt.c (100%)
 rename arch/arm/mach-stm32mp/{ => stm32mp1}/psci.c (100%)
 rename arch/arm/mach-stm32mp/{ => stm32mp1}/pwr_regulator.c (100%)
 rename arch/arm/mach-stm32mp/{ => stm32mp1}/spl.c (100%)
 rename arch/arm/mach-stm32mp/{ => stm32mp1}/stm32mp13x.c (100%)
 rename arch/arm/mach-stm32mp/{ => stm32mp1}/stm32mp15x.c (100%)
 rename arch/arm/mach-stm32mp/{ => stm32mp1}/tzc400.c (100%)
 create mode 100644 arch/arm/mach-stm32mp/stm32mp2/Makefile
 create mode 100644 arch/arm/mach-stm32mp/stm32mp2/arm64-mmu.c
 create mode 100644 arch/arm/mach-stm32mp/stm32mp2/cpu.c
 create mode 100644 arch/arm/mach-stm32mp/stm32mp2/fdt.c
 create mode 100644 arch/arm/mach-stm32mp/stm32mp2/stm32mp25x.c
 create mode 100644 board/st/stm32mp2/Kconfig
 create mode 100644 board/st/stm32mp2/MAINTAINERS
 create mode 100644 board/st/stm32mp2/Makefile
 create mode 100644 board/st/stm32mp2/stm32mp2.c
 create mode 100644 configs/stm32mp25_defconfig
 create mode 100644 include/configs/stm32mp25_common.h

-- 
2.25.1



More information about the U-Boot mailing list