[PATCH v2 0/3] PowerPC: keymile: Add support for kmcent2 board

Niel Fourie lusus at denx.de
Thu Jan 21 13:19:17 CET 2021


This patch series adds basic support for the Hitachi Power Grids
(previously Keymile and ABB) kmcent2 board, based on the NXP QorIQ
T1040 SoC.

Patch 1/3 pulls in the device trees from Linux 5.10
Patch 2/3 fixes a minor bug common to all the Keymile boards.
Patch 3/3 finally adds the U-boot support for the kmcent2

Changes in v2:
- DTs pulled in from Linux reviewed
- In common.c, use set_env_hex()/set_env_ulong()
- Sort header includes, remove <common.h> includes
- Removed unnecessary #ifdefs
- Moved MTDPARTS_DEFAULT/MTDIDS_DEFAULT to defconfig

Niel Fourie (3):
  PowerPC: dts: Pulled in kmcent2 dts files from Linux 5.10
  keymile: common: update to set_env_hex(), fix "pram" radix
  PowerPC: keymile: Add support for kmcent2 board

 arch/powerpc/cpu/mpc85xx/Kconfig       |   4 +
 arch/powerpc/dts/Makefile              |   1 +
 arch/powerpc/dts/elo3-dma-0.dtsi       |  55 ++
 arch/powerpc/dts/elo3-dma-1.dtsi       |  55 ++
 arch/powerpc/dts/kmcent2-u-boot.dtsi   |  97 ++++
 arch/powerpc/dts/kmcent2.dts           | 338 ++++++++++++
 arch/powerpc/dts/qoriq-bman1.dtsi      |  14 +
 arch/powerpc/dts/qoriq-duart-0.dtsi    |  24 +
 arch/powerpc/dts/qoriq-duart-1.dtsi    |  24 +
 arch/powerpc/dts/qoriq-esdhc-0.dtsi    |  13 +
 arch/powerpc/dts/qoriq-espi-0.dtsi     |  14 +
 arch/powerpc/dts/qoriq-mpic.dtsi       |  79 +++
 arch/powerpc/dts/qoriq-qman3.dtsi      |  14 +
 arch/powerpc/dts/qoriq-sata2-0.dtsi    |  12 +
 arch/powerpc/dts/qoriq-sata2-1.dtsi    |  12 +
 arch/powerpc/dts/qoriq-sec5.0-0.dtsi   |  83 +++
 arch/powerpc/dts/qoriq-usb2-dr-0.dtsi  |  14 +
 arch/powerpc/dts/qoriq-usb2-mph-0.dtsi |  14 +
 arch/powerpc/dts/t1040si-post.dtsi     | 727 +++++++++++++++++++++++++
 arch/powerpc/dts/t104xsi-pre.dtsi      |  88 +++
 board/keymile/Kconfig                  |   1 +
 board/keymile/common/common.c          |  22 +-
 board/keymile/common/ivm.c             |   5 +
 board/keymile/kmcent2/Kconfig          |  17 +
 board/keymile/kmcent2/MAINTAINERS      |   8 +
 board/keymile/kmcent2/Makefile         |  15 +
 board/keymile/kmcent2/ddr.c            |  88 +++
 board/keymile/kmcent2/kmcent2.c        | 353 ++++++++++++
 board/keymile/kmcent2/law.c            |  24 +
 board/keymile/kmcent2/tlb.c            | 104 ++++
 configs/kmcent2_defconfig              |  92 ++++
 include/configs/kmcent2.h              | 513 +++++++++++++++++
 32 files changed, 2908 insertions(+), 16 deletions(-)
 create mode 100644 arch/powerpc/dts/elo3-dma-0.dtsi
 create mode 100644 arch/powerpc/dts/elo3-dma-1.dtsi
 create mode 100644 arch/powerpc/dts/kmcent2-u-boot.dtsi
 create mode 100644 arch/powerpc/dts/kmcent2.dts
 create mode 100644 arch/powerpc/dts/qoriq-bman1.dtsi
 create mode 100644 arch/powerpc/dts/qoriq-duart-0.dtsi
 create mode 100644 arch/powerpc/dts/qoriq-duart-1.dtsi
 create mode 100644 arch/powerpc/dts/qoriq-esdhc-0.dtsi
 create mode 100644 arch/powerpc/dts/qoriq-espi-0.dtsi
 create mode 100644 arch/powerpc/dts/qoriq-mpic.dtsi
 create mode 100644 arch/powerpc/dts/qoriq-qman3.dtsi
 create mode 100644 arch/powerpc/dts/qoriq-sata2-0.dtsi
 create mode 100644 arch/powerpc/dts/qoriq-sata2-1.dtsi
 create mode 100644 arch/powerpc/dts/qoriq-sec5.0-0.dtsi
 create mode 100644 arch/powerpc/dts/qoriq-usb2-dr-0.dtsi
 create mode 100644 arch/powerpc/dts/qoriq-usb2-mph-0.dtsi
 create mode 100644 arch/powerpc/dts/t1040si-post.dtsi
 create mode 100644 arch/powerpc/dts/t104xsi-pre.dtsi
 create mode 100644 board/keymile/kmcent2/Kconfig
 create mode 100644 board/keymile/kmcent2/MAINTAINERS
 create mode 100644 board/keymile/kmcent2/Makefile
 create mode 100644 board/keymile/kmcent2/ddr.c
 create mode 100644 board/keymile/kmcent2/kmcent2.c
 create mode 100644 board/keymile/kmcent2/law.c
 create mode 100644 board/keymile/kmcent2/tlb.c
 create mode 100644 configs/kmcent2_defconfig
 create mode 100644 include/configs/kmcent2.h

-- 
2.29.2



More information about the U-Boot mailing list