watchdog: orion: Add Armada 375/380 SoC support
authorEzequiel Garcia <ezequiel.garcia@free-electrons.com>
Sat, 15 Mar 2014 18:18:01 +0000 (15:18 -0300)
committerWim Van Sebroeck <wim@iguana.be>
Tue, 10 Jun 2014 19:44:41 +0000 (21:44 +0200)
commitb483642fc399c0c79a90aef25c956f37e29e6b27
treed6f48f6379eee8201e432c8d6c50206addb32392
parent1b0ea574ac90c9c3da8e903f205848bd4724b1cf
watchdog: orion: Add Armada 375/380 SoC support

This commit adds support for the Armada 375 and Armada 380 SoCs.

This SoC variant has a second RSTOUT register, in addition to the already
existent, which is shared with the system-controller. To handle this RSTOUT,
we introduce a new MMIO register 'rstout_mask' to be required on
'armada-{375,380}-watchdog' new compatible string.

Signed-off-by: Ezequiel Garcia <ezequiel.garcia@free-electrons.com>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Acked-by: Jason Cooper <jason@lakedaemon.net>
Tested-by: Jason Gunthorpe <jgunthorpe@obsidianresearch.com>
Tested-by: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
drivers/watchdog/orion_wdt.c