[U-Boot] [PATCH 0/3] fix bcm6345 watchdog on broadcom board

Philippe Reynes philippe.reynes at softathome.com
Fri May 3 17:43:05 UTC 2019


Since the commit: commit 06985289d452 ("watchdog: Implement generic
watchdog_reset() version"), the watchdog is always started and a default
timeout of 60000 ms is used. But the driver for the bcm6345 watchdog use
this timeout in ms as tick. So a board using this driver reboot
immediately.

The first commit in this serie fix the driver of the bcm6345 watchdog by
converting the timeout in ms to tick before writing the register. The two
others commits fix the clock used by boards bcm96858xref and bcm963158.

This serie was tested on:
- bcm6838 (mips)
- bcm96858xref (arm) 
- bcm963158 (arm)

Philippe Reynes (3):
  watchdog: bcm6345: callback start use tick instead of ms
  dt: bcm6858: watchdog should use a 50Mhz clock
  dt: bcm63158: watchdog should use a 50Mhz clock

 arch/arm/dts/bcm63158.dtsi     | 10 ++++++++--
 arch/arm/dts/bcm6858.dtsi      | 10 ++++++++--
 drivers/watchdog/bcm6345_wdt.c | 21 ++++++++++++++++-----
 3 files changed, 32 insertions(+), 9 deletions(-)

-- 
2.7.4



More information about the U-Boot mailing list