[PATCH v2 00/14] stm32: add bsec and OTP support to stm32mp25

Patrick Delaunay patrick.delaunay at foss.st.com
Mon Jan 15 15:05:43 CET 2024


Add BSEC support to STM32MP25 SoC family with SoC information:
- SERIAL number with UUID (BSEC_OTP_DATA5)
- RPN = Device part number (BSEC_OTP_DATA9)
- PKG = package data register (Bits 2:0 of BSEC_OTP_DATA122)

and with board information for STMicroelectronics boards
- BOARD identifier:  OTP246
- MAC address: OTP247 and after


Changes in v2:
- fix CONFIG name with 'x': TARGET_ST_STM32MP15x TARGET_ST_STM32MP13x
- add "arm: Rename STM32MP13x"
- add "arm: Rename STM32MP15x"

Patrice Chotard (1):
  stm32mp: add setup_serial_number for stm32mp25

Patrick Delaunay (12):
  arm64: dts: st: add bsec support to stm32mp25
  stm32mp: bsec: add driver data
  stm32mp: bsec: add support of stm32mp25
  configs: stm32mp25: add support of fuse command
  stm32mp: add soc.c file
  smt32mp: add setup_mac_address for stm32mp25
  stm32mp: stm32prog: add support of stm32mp25
  stm32mp: activate the command stboard for stm32mp25 boards
  board: st: stm32mp2: add checkboard
  board: st: stm32mp2: display the board identification
  arm: Rename STM32MP13x
  arm: Rename STM32MP15x

Yann Gautier (1):
  arm: stm32mp: add Rev.B support for STM32MP25

 arch/arm/dts/Makefile                         |   4 +-
 arch/arm/dts/stm32mp15-u-boot.dtsi            |   2 +-
 arch/arm/dts/stm32mp157a-dk1-u-boot.dtsi      |   4 +-
 arch/arm/dts/stm32mp157c-ed1-u-boot.dtsi      |   4 +-
 arch/arm/dts/stm32mp157c-ev1-u-boot.dtsi      |   4 +-
 arch/arm/dts/stm32mp25-u-boot.dtsi            |   4 +
 arch/arm/dts/stm32mp251.dtsi                  |  16 +++
 arch/arm/mach-stm32mp/Kconfig                 |   8 +-
 arch/arm/mach-stm32mp/Kconfig.13x             |   4 +-
 arch/arm/mach-stm32mp/Kconfig.15x             |   6 +-
 arch/arm/mach-stm32mp/Makefile                |   5 +-
 arch/arm/mach-stm32mp/bsec.c                  |  45 +++++--
 arch/arm/mach-stm32mp/cmd_stm32key.c          |  20 +--
 .../mach-stm32mp/cmd_stm32prog/stm32prog.h    |  12 +-
 arch/arm/mach-stm32mp/include/mach/stm32.h    |  22 ++--
 .../arm/mach-stm32mp/include/mach/sys_proto.h |   1 +
 arch/arm/mach-stm32mp/soc.c                   | 118 ++++++++++++++++++
 arch/arm/mach-stm32mp/stm32mp1/Makefile       |   4 +-
 arch/arm/mach-stm32mp/stm32mp1/cpu.c          |  96 +-------------
 arch/arm/mach-stm32mp/stm32mp1/fdt.c          |  10 +-
 arch/arm/mach-stm32mp/stm32mp2/cpu.c          |  14 +--
 arch/arm/mach-stm32mp/stm32mp2/stm32mp25x.c   |   3 +
 board/st/common/Kconfig                       |   2 +-
 board/st/common/cmd_stboard.c                 |   2 +
 board/st/stm32mp1/Kconfig                     |   4 +-
 board/st/stm32mp1/stm32mp1.c                  |   6 +-
 board/st/stm32mp2/stm32mp2.c                  |  37 ++++++
 configs/stm32mp13_defconfig                   |   4 +-
 configs/stm32mp15_basic_defconfig             |   2 +-
 configs/stm32mp15_defconfig                   |   2 +-
 configs/stm32mp15_trusted_defconfig           |   4 +-
 configs/stm32mp25_defconfig                   |   1 +
 drivers/clk/stm32/Kconfig                     |   4 +-
 33 files changed, 297 insertions(+), 177 deletions(-)
 create mode 100644 arch/arm/mach-stm32mp/soc.c

-- 
2.25.1



More information about the U-Boot mailing list