linux_dsm_epyc7002/arch/arm/mach-bcm2835
Stephen Warren d0f1c7ffaa ARM: bcm2835: implement machine restart hook
Implement the machine restart hook using the SoC's watchdog timer module.
To support this, define a DT binding for the watchdog module, and add it
to the device tree.

The downstream rpi-split branch contains a full watchdog timer driver
implementation, which also implements the restart hook. However, the
restart function is largely separate from the watchdog driver, so for
simplicity, the restart hook is implemented here directly in the main
machine source file.

Overall structure (separate setup/restart) functions derived from the
picoxcell ARM support.

Watchdog register IO sequence taken from code by Simon Arlott. Note that
the watchdog module is not documented in BCM2835-ARM-Peripherals.pdf.

Signed-off-by: Stephen Warren <swarren@wwwdotorg.org>
2012-10-25 20:42:36 -06:00
..
include/mach ARM: add infra-structure for BCM2835 and Raspberry Pi 2012-09-19 19:08:27 -06:00
bcm2835.c ARM: bcm2835: implement machine restart hook 2012-10-25 20:42:36 -06:00
Makefile ARM: add infra-structure for BCM2835 and Raspberry Pi 2012-09-19 19:08:27 -06:00
Makefile.boot ARM: dtb: move all dtb targets to common Makefile 2012-09-20 22:58:17 -07:00