watchdog: Add support for Armada 37xx CPU watchdog
authorMarek BehĂșn <marek.behun@nic.cz>
Tue, 24 Apr 2018 15:21:30 +0000 (17:21 +0200)
committerStefan Roese <sr@denx.de>
Mon, 14 May 2018 08:00:15 +0000 (10:00 +0200)
commit2b69a67389fc43d7e16ef8c31d2a8845572acff6
treeaf2410108a6e2e00ca3330fc0bc30a09748f29a3
parentcf2cf8510a10d954ea46b4a49a7bf9d95cccf4bd
watchdog: Add support for Armada 37xx CPU watchdog

This adds support for the CPU watchdog found on Marvell Armada 37xx
SoCs.

There are 4 counters which can be set as CPU watchdog counters.
This driver uses the second counter (ID 1, counting from 0)
(Marvell's Linux also uses second counter by default).
In the future it could be adapted to use other counters, with
definition in the device tree.

Signed-off-by: Marek Behun <marek.behun@nic.cz>
Signed-off-by: Stefan Roese <sr@denx.de>
arch/arm/dts/armada-37xx.dtsi
drivers/watchdog/Kconfig
drivers/watchdog/Makefile
drivers/watchdog/armada-37xx-wdt.c [new file with mode: 0644]