[PATCH 00/20] Enable DM_SERIAL for NXP PPC T-series boards

Camelia Groza camelia.groza at nxp.com
Tue Jul 11 14:49:13 CEST 2023


This series enables DM_SERIAL for t2080rdb, t4240rdb, t1042d4rdb and
t1024rdb.

Similar steps are taken for each board:
- The get_serial_clock() callback is implemented for each board
- The serial nodes are described in the device tree, similar to Linux v6.4
- The serial nodes are marked with 'bootph-all' to guarantee the drivers
are initialized before relocation. New board specific *-u-boot.dtsi files
are created to store these properties.
- CONFIG_DM_SERIAL is enabled in the board defconfigs

While here, enumerate the PCI devices at probe time for each board.

Camelia Groza (20):
  board: freescale: t2080rdb: enumerate PCI devices
  board: freescale: t2080rdb: implement get_serial_clock
  powerpc: dts: t2080rdb: add serial nodes
  powerpc: dts: t2080rdb: tag serial nodes with bootph-all
  configs: T2080RDB: enable DM_SERIAL
  board: freescale: t4240rdb: enumerate PCI devices
  board: freescale: t4240rdb: implement get_serial_clock
  powerpc: dts: t4240rdb: add serial nodes
  powerpc: dts: t4240rdb: tag serial nodes with bootph-all
  configs: T4240RDB: enable DM_SERIAL
  board: freescale: t104xrdb: enumerate PCI devices
  board: freescale: t104xrdb: implement get_serial_clock
  powerpc: dts: t1042d4rdb: add serial nodes
  powerpc: dts: t1042d4rdb: tag serial nodes with bootph-all
  configs: T1042D4RDB: enable DM_SERIAL
  board: freescale: t102xrdb: enumerate PCI devices
  board: freescale: t102xrdb: implement get_serial_clock
  powerpc: dts: t1024rdb: add serial nodes
  powerpc: dts: t1024rdb: tag serial nodes with bootph-all
  configs: T1024RDB: enable DM_SERIAL

 arch/powerpc/dts/t1023si-post.dtsi      |  4 +++-
 arch/powerpc/dts/t1024rdb-u-boot.dtsi   | 12 ++++++++++++
 arch/powerpc/dts/t1024rdb.dts           |  6 +++++-
 arch/powerpc/dts/t1042d4rdb-u-boot.dtsi | 12 ++++++++++++
 arch/powerpc/dts/t1042d4rdb.dts         |  6 +++++-
 arch/powerpc/dts/t1042si-post.dtsi      |  4 +++-
 arch/powerpc/dts/t2080rdb-u-boot.dtsi   | 12 ++++++++++++
 arch/powerpc/dts/t2080rdb.dts           |  6 +++++-
 arch/powerpc/dts/t2080si-post.dtsi      |  4 +++-
 arch/powerpc/dts/t4240rdb-u-boot.dtsi   | 12 ++++++++++++
 arch/powerpc/dts/t4240rdb.dts           |  6 +++++-
 arch/powerpc/dts/t4240si-post.dtsi      |  4 +++-
 board/freescale/t102xrdb/t102xrdb.c     | 12 +++++++++++-
 board/freescale/t104xrdb/t104xrdb.c     | 12 ++++++++++++
 board/freescale/t208xrdb/t208xrdb.c     | 13 ++++++++++++-
 board/freescale/t4rdb/t4240rdb.c        | 11 +++++++++++
 configs/T1024RDB_defconfig              |  4 +++-
 configs/T1042D4RDB_defconfig            |  4 +++-
 configs/T2080RDB_defconfig              |  4 +++-
 configs/T2080RDB_revD_defconfig         |  4 +++-
 configs/T4240RDB_defconfig              |  4 +++-
 include/configs/T102xRDB.h              |  4 +++-
 include/configs/T104xRDB.h              |  4 +++-
 include/configs/T208xRDB.h              |  4 +++-
 include/configs/T4240RDB.h              |  4 +++-
 25 files changed, 153 insertions(+), 19 deletions(-)
 create mode 100644 arch/powerpc/dts/t1024rdb-u-boot.dtsi
 create mode 100644 arch/powerpc/dts/t1042d4rdb-u-boot.dtsi
 create mode 100644 arch/powerpc/dts/t2080rdb-u-boot.dtsi
 create mode 100644 arch/powerpc/dts/t4240rdb-u-boot.dtsi

--
2.17.1



More information about the U-Boot mailing list