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