[PATCH v1 00/14] Add new CS GROUP CPU board CMPCPRO (v1)
Christophe Leroy
christophe.leroy at csgroup.eu
Thu Apr 6 16:27:04 CEST 2023
This series adds support for the last CPU board from
CS GROUP France (previously CSSI).
That CPU board called CMPCPRO has a mpc8321E CPU (Family PQII PRO hence
its name) and can be plugged in place of the CMPC885 board.
In order to support that new board, the following changes are included
in this series:
- Make the mpc8xx watchdog driver more generic for reusing it
with mpc83xx
- Fix various small problems on mpc83xx platform
- Add a GPIO Driver for QE GPIOs
- Add support for mpc832x into mpc83xx SPI driver
- Refactor existing board code that will be shared with new board
- Add the new board
This series is based on today's next tree and has passed CI tests at
https://source.denx.de/u-boot/custodians/u-boot-mpc8xx/-/pipelines/15928
Christophe Leroy (14):
powerpc: mpc8xx: Migrate to CONFIG_SYS_CLK_FREQ
watchdog: mpc8xx: Rename it mpc8xxx
watchdog: mpc8xxx: Make it generic
watchdog: mpc8xxx: Add support for mpc83xx
powerpc: mpc832x: Fix reset word
powerpc: mpc83xx: Fix soc.h
powerpc: mpc83xx: Don't activate MMU when not necessary
clk: mpc83xx: Fix clocks for mpc832x
gpio: Add QUICC Engine GPIOs driver
spi: mpc8xxx: Add support for SPI on mpc832x
board: cssi: Create dedicated file for common sources
board: cssi: Refactor EEPROM read
board: cssi: Move all mother board code into common.c
board: cssi: Add CPU board CMPCPRO
arch/powerpc/Kconfig | 2 +-
arch/powerpc/cpu/mpc83xx/Kconfig | 5 +
arch/powerpc/cpu/mpc83xx/cpu.c | 2 +-
arch/powerpc/cpu/mpc83xx/hrcw/Kconfig | 3 +-
arch/powerpc/cpu/mpc83xx/start.S | 4 +-
arch/powerpc/cpu/mpc8xx/Kconfig | 6 +-
arch/powerpc/cpu/mpc8xx/cpu_init.c | 5 +-
arch/powerpc/cpu/mpc8xx/speed.c | 4 +-
arch/powerpc/dts/Makefile | 1 +
arch/powerpc/dts/cmpc885.dts | 12 +-
arch/powerpc/dts/cmpcpro.dts | 189 +++++++++
arch/powerpc/dts/mcr3000.dts | 20 +-
arch/powerpc/include/asm/arch-mpc83xx/gpio.h | 5 +
arch/powerpc/include/asm/arch-mpc83xx/soc.h | 16 +-
arch/powerpc/include/asm/mpc8xxx_spi.h | 1 +
board/cssi/MAINTAINERS | 2 +
board/cssi/cmpc885/Makefile | 2 +-
board/cssi/cmpc885/cmpc885.c | 241 ++---------
board/cssi/cmpcpro/Kconfig | 26 ++
board/cssi/cmpcpro/Makefile | 8 +
board/cssi/cmpcpro/cmpcpro.c | 404 +++++++++++++++++++
board/cssi/cmpcpro/cmpcpro.env | 8 +
board/cssi/cmpcpro/nand.c | 43 ++
board/cssi/common/common.c | 219 ++++++++++
board/cssi/common/common.h | 15 +
board/cssi/mcr3000/mcr3000.c | 14 -
configs/CMPC885_defconfig | 4 +-
configs/CMPCPRO_defconfig | 209 ++++++++++
configs/MCR3000_defconfig | 5 +-
drivers/clk/mpc83xx_clk.c | 7 +
drivers/gpio/Kconfig | 18 +
drivers/gpio/Makefile | 1 +
drivers/gpio/qe_gpio.c | 170 ++++++++
drivers/spi/mpc8xxx_spi.c | 13 +
drivers/watchdog/Kconfig | 26 +-
drivers/watchdog/Makefile | 2 +-
drivers/watchdog/mpc8xx_wdt.c | 75 ----
drivers/watchdog/mpc8xxx_wdt.c | 112 +++++
include/configs/cmpc885.h | 6 +
include/configs/cmpcpro.h | 99 +++++
40 files changed, 1660 insertions(+), 344 deletions(-)
create mode 100644 arch/powerpc/dts/cmpcpro.dts
create mode 100644 board/cssi/cmpcpro/Kconfig
create mode 100644 board/cssi/cmpcpro/Makefile
create mode 100644 board/cssi/cmpcpro/cmpcpro.c
create mode 100644 board/cssi/cmpcpro/cmpcpro.env
create mode 100644 board/cssi/cmpcpro/nand.c
create mode 100644 board/cssi/common/common.c
create mode 100644 board/cssi/common/common.h
create mode 100644 configs/CMPCPRO_defconfig
create mode 100644 drivers/gpio/qe_gpio.c
delete mode 100644 drivers/watchdog/mpc8xx_wdt.c
create mode 100644 drivers/watchdog/mpc8xxx_wdt.c
create mode 100644 include/configs/cmpcpro.h
--
2.39.2
More information about the U-Boot
mailing list