[PATCH v3 0/8] Enable CONFIG_TIMER for all Kirkwood / MVEBU boards

Stefan Roese sr at denx.de
Thu Sep 15 16:20:35 CEST 2022


This patchset enhaces the recently added Orion Timer driver to support
all other Kirkwood & 32bit MVEBU Armada platforms. Additionally, this
timer support is then enabled per default for those platforms, so that
the board config files don't need to be changed. Also necessary is
some dts hacking, so that the timer DT node is available in early
U-Boot stages.

I've successfully tested this patchset on an Armada XP board. Additional
test on other boards and platforms are very welcome and necessary.

Thanks,
Stefan

Stefan Roese (8):
  timer: orion-timer: Use timer_conv_64() to fix timer wrap around
  timer: orion-timer: Add support for other Armada SoC's
  timer: orion-timer: Add timer_get_boot_us() for BOOTSTAGE support
  arm: mvebu: Use CONFIG_TIMER on all MVEBU & KIRKWOOD platforms
  arm: mvebu: dts: Makefile: Compile Armada 375 dtb in a separate step
  arm: mvebu: dts: armada-375.dtsi: Add timer0 & timer1
  arm: mvebu: dts: mvebu-u-boot.dtsi: Add "u-boot,dm-pre-reloc" to timer
    DT node
  kirkwood: lsxl: Sync defconfigs

 arch/arm/Kconfig                          |   4 +
 arch/arm/dts/Makefile                     |   6 +-
 arch/arm/dts/armada-375.dtsi              |   4 +-
 arch/arm/dts/mvebu-u-boot.dtsi            |  11 +++
 arch/arm/mach-mvebu/include/mach/config.h |   5 --
 configs/lschlv2_defconfig                 |   2 -
 configs/lsxhl_defconfig                   |   2 -
 drivers/timer/Kconfig                     |   5 +-
 drivers/timer/orion-timer.c               | 103 +++++++++++++++++++---
 9 files changed, 118 insertions(+), 24 deletions(-)

-- 
2.37.3



More information about the U-Boot mailing list