1 /* SPDX-License-Identifier: GPL-2.0-only */
4 * This file is created based on MT8186 Functional Specification
8 #include <device/mmio.h>
9 #include <soc/addressmap.h>
12 void mtk_gic_preinit(void)
16 for (i
= 3; i
< 15; i
++) {
17 write32((void *)((uintptr_t)MCUSYS_BASE
+ 0xA600 + i
* 4), 0);
18 write32((void *)((uintptr_t)MCUSYS_BASE
+ 0xA650 + i
* 4), 0xFFFFFFFF);