diff options
author | Tristan Shieh <tristan.shieh@mediatek.com> | 2018-06-01 14:33:11 +0800 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2018-06-21 09:40:06 +0000 |
commit | 4c6dfbc2c10a14fb816c681fb03b601412ea7c3b (patch) | |
tree | 496dae29a18d61da7e16abf692fc7b79840d3d85 /src/soc/mediatek/mt8183/include | |
parent | 53dabc29f2eb44761f4bc28e7f5e211bfeffb234 (diff) |
mediatek/mt8183: Add watchdog timer support
Using common watchdog timer (WDT) code for reset. Set up watchdog timer
in mtk_wdt_init() to get reset status and disable auto-reboot. Link
common do_hard_reset() to support hard reset.
BUG=b:80501386
BRANCH=none
TEST=both mtk_wdt_init() and do_hard_reset() work on Kukui.
Change-Id: I4be3a133dbb8a64604133cefb0c5f02d01afd0d4
Signed-off-by: Tristan Shieh <tristan.shieh@mediatek.com>
Reviewed-on: https://review.coreboot.org/27026
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Reviewed-by: Julius Werner <jwerner@chromium.org>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/soc/mediatek/mt8183/include')
-rw-r--r-- | src/soc/mediatek/mt8183/include/soc/addressmap.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/soc/mediatek/mt8183/include/soc/addressmap.h b/src/soc/mediatek/mt8183/include/soc/addressmap.h index 59f4acf3f8..bbb40943a1 100644 --- a/src/soc/mediatek/mt8183/include/soc/addressmap.h +++ b/src/soc/mediatek/mt8183/include/soc/addressmap.h @@ -22,6 +22,7 @@ enum { }; enum { + RGU_BASE = IO_PHYS + 0x00007000, GPT_BASE = IO_PHYS + 0x00008000, UART0_BASE = IO_PHYS + 0x01002000, }; |