| 1 | /* SPDX-License-Identifier: GPL-2.0-only OR MIT */ |
| 2 | |
| 3 | /* |
| 4 | * This file is created based on MT8196 Functional Specification |
| 5 | * Chapter number: 7.3.4.4 |
| 6 | */ |
| 7 | |
| 8 | #include <device/mmio.h> |
| 9 | #include <soc/addressmap.h> |
| 10 | #include <soc/wdt.h> |
| 11 | |
| 12 | #define MTK_WDT_CLR_STATUS 0x230001FF |
| 13 | |
| 14 | void mtk_wdt_clr_status(void) |
| 15 | { |
| 16 | write32(&mtk_wdt->wdt_mode, MTK_WDT_CLR_STATUS); |
| 17 | } |