[U-Boot] [PATCH 00/16] arm: stm32mp1: add initial support for STM32MP157

Patrick Delaunay patrick.delaunay at st.com
Mon Mar 5 14:24:27 UTC 2018


This patch-set adds initial support of STMicroelectronics STM32MP157
microprocessor (MPU)
- add new arm arch stm32mp1 (based on armv7)
- support for stm32mp157 SOC (based on Cortex-A7)
- add minimal support for board evaluation board STM32MP157C-ED1


Patrick Delaunay (16):
  tools/mkimage: add support for STM32 image format
  spl: add SPL_RESET_SUPPORT
  common: add a prototype for mach_cpu_init()
  arm: armv7: solve issue for timer_rate_hz in arch timer
  dm: gpio: Convert stm32f7 driver to livetree
  gpio: stm32f7_gpio: handle node ngpios
  stm32mp: stm32f7_i2c: use calloc instead of kmalloc
  arm: stm32: add new architecture for STM32MP family
  ram: stm32mp1: add driver
  pmic: add stpmu1 support
  pinctrl: stm32: update pincontrol for stmp32mp157
  reset: stm32: adapt driver for stm32mp1
  clk: add driver for stm32mp1
  clk: stm32mp1: add clock tree initialization
  dts: add device tree for STM32MP157C-ED1 board
  board: st: add generic board for STM32MP1 family

 MAINTAINERS                                        |    7 +
 arch/arm/Kconfig                                   |   25 +-
 arch/arm/Makefile                                  |    1 +
 arch/arm/cpu/armv7/arch_timer.c                    |   22 +-
 arch/arm/dts/Makefile                              |    3 +
 arch/arm/dts/stm32mp15-ddr.dtsi                    |  155 ++
 arch/arm/dts/stm32mp15-ddr3-2x4Gb-1066-binG.dtsi   |  122 ++
 arch/arm/dts/stm32mp157-u-boot.dtsi                |  134 ++
 arch/arm/dts/stm32mp157.dtsi                       |  303 ++++
 arch/arm/dts/stm32mp157c-ed1-u-boot.dtsi           |  133 ++
 arch/arm/dts/stm32mp157c-ed1.dts                   |  167 ++
 arch/arm/mach-stm32mp/Kconfig                      |   43 +
 arch/arm/mach-stm32mp/Makefile                     |   10 +
 arch/arm/mach-stm32mp/config.mk                    |   14 +
 arch/arm/mach-stm32mp/cpu.c                        |  139 ++
 arch/arm/mach-stm32mp/dram_init.c                  |   34 +
 arch/arm/mach-stm32mp/include/mach/ddr.h           |   12 +
 arch/arm/mach-stm32mp/include/mach/gpio.h          |  115 ++
 arch/arm/mach-stm32mp/include/mach/stm32.h         |   27 +
 arch/arm/mach-stm32mp/spl.c                        |   60 +
 board/st/stm32mp1/Kconfig                          |   12 +
 board/st/stm32mp1/MAINTAINERS                      |    7 +
 board/st/stm32mp1/Makefile                         |   13 +
 board/st/stm32mp1/README                           |  191 +++
 board/st/stm32mp1/board.c                          |   75 +
 board/st/stm32mp1/spl.c                            |   33 +
 board/st/stm32mp1/stm32mp1.c                       |   27 +
 common/image.c                                     |    1 +
 common/spl/Kconfig                                 |    9 +
 configs/stm32mp15_basic_defconfig                  |   36 +
 doc/device-tree-bindings/clock/st,stm32mp1.txt     |  226 +++
 doc/device-tree-bindings/ram/st,stm32mp1-ddr.txt   |  299 ++++
 drivers/Makefile                                   |    1 +
 drivers/clk/Kconfig                                |    8 +
 drivers/clk/Makefile                               |    1 +
 drivers/clk/clk_stm32mp1.c                         | 1733 ++++++++++++++++++++
 drivers/gpio/Kconfig                               |    2 +-
 drivers/gpio/stm32f7_gpio.c                        |   15 +-
 drivers/i2c/Kconfig                                |    2 +-
 drivers/i2c/stm32f7_i2c.c                          |    4 +-
 drivers/pinctrl/pinctrl_stm32.c                    |    9 +-
 drivers/power/pmic/Kconfig                         |    8 +
 drivers/power/pmic/Makefile                        |    1 +
 drivers/power/pmic/stpmu1.c                        |   62 +
 drivers/ram/Kconfig                                |    2 +
 drivers/ram/Makefile                               |    1 +
 drivers/ram/stm32mp1/Kconfig                       |   12 +
 drivers/ram/stm32mp1/Makefile                      |    8 +
 drivers/ram/stm32mp1/stm32mp1_ddr.c                |  496 ++++++
 drivers/ram/stm32mp1/stm32mp1_ddr.h                |  210 +++
 drivers/ram/stm32mp1/stm32mp1_ddr_regs.h           |  365 +++++
 drivers/ram/stm32mp1/stm32mp1_ram.c                |  197 +++
 drivers/reset/Kconfig                              |    2 +-
 drivers/reset/stm32-reset.c                        |   36 +-
 drivers/serial/Kconfig                             |    6 +-
 include/common.h                                   |   10 +
 include/configs/stm32mp1.h                         |   97 ++
 include/dt-bindings/clock/stm32mp1-clks.h          |  243 +++
 include/dt-bindings/clock/stm32mp1-clksrc.h        |  284 ++++
 .../dt-bindings/reset-controller/stm32mp1-resets.h |   97 ++
 include/image.h                                    |    1 +
 include/power/stpmu1.h                             |   85 +
 tools/Makefile                                     |    1 +
 tools/stm32image.c                                 |  148 ++
 64 files changed, 6555 insertions(+), 47 deletions(-)
 create mode 100644 arch/arm/dts/stm32mp15-ddr.dtsi
 create mode 100644 arch/arm/dts/stm32mp15-ddr3-2x4Gb-1066-binG.dtsi
 create mode 100644 arch/arm/dts/stm32mp157-u-boot.dtsi
 create mode 100644 arch/arm/dts/stm32mp157.dtsi
 create mode 100644 arch/arm/dts/stm32mp157c-ed1-u-boot.dtsi
 create mode 100644 arch/arm/dts/stm32mp157c-ed1.dts
 create mode 100644 arch/arm/mach-stm32mp/Kconfig
 create mode 100644 arch/arm/mach-stm32mp/Makefile
 create mode 100644 arch/arm/mach-stm32mp/config.mk
 create mode 100644 arch/arm/mach-stm32mp/cpu.c
 create mode 100644 arch/arm/mach-stm32mp/dram_init.c
 create mode 100644 arch/arm/mach-stm32mp/include/mach/ddr.h
 create mode 100644 arch/arm/mach-stm32mp/include/mach/gpio.h
 create mode 100644 arch/arm/mach-stm32mp/include/mach/stm32.h
 create mode 100644 arch/arm/mach-stm32mp/spl.c
 create mode 100644 board/st/stm32mp1/Kconfig
 create mode 100644 board/st/stm32mp1/MAINTAINERS
 create mode 100644 board/st/stm32mp1/Makefile
 create mode 100644 board/st/stm32mp1/README
 create mode 100644 board/st/stm32mp1/board.c
 create mode 100644 board/st/stm32mp1/spl.c
 create mode 100644 board/st/stm32mp1/stm32mp1.c
 create mode 100644 configs/stm32mp15_basic_defconfig
 create mode 100644 doc/device-tree-bindings/clock/st,stm32mp1.txt
 create mode 100644 doc/device-tree-bindings/ram/st,stm32mp1-ddr.txt
 create mode 100644 drivers/clk/clk_stm32mp1.c
 create mode 100644 drivers/power/pmic/stpmu1.c
 create mode 100644 drivers/ram/stm32mp1/Kconfig
 create mode 100644 drivers/ram/stm32mp1/Makefile
 create mode 100644 drivers/ram/stm32mp1/stm32mp1_ddr.c
 create mode 100644 drivers/ram/stm32mp1/stm32mp1_ddr.h
 create mode 100644 drivers/ram/stm32mp1/stm32mp1_ddr_regs.h
 create mode 100644 drivers/ram/stm32mp1/stm32mp1_ram.c
 create mode 100644 include/configs/stm32mp1.h
 create mode 100644 include/dt-bindings/clock/stm32mp1-clks.h
 create mode 100644 include/dt-bindings/clock/stm32mp1-clksrc.h
 create mode 100644 include/dt-bindings/reset-controller/stm32mp1-resets.h
 create mode 100644 include/power/stpmu1.h
 create mode 100644 tools/stm32image.c

-- 
2.7.4



More information about the U-Boot mailing list