1 /* SPDX-License-Identifier: GPL-2.0-only */
3 #include <device/mmio.h>
4 #include <soc/mcu_common.h>
6 #include <soc/symbols.h>
8 static void reset_sspm(struct mtk_mcu
*mcu
)
10 write32(&sspm_reg
->sw_rstn
, 0x1);
13 static struct mtk_mcu sspm
= {
14 .firmware_name
= CONFIG_SSPM_FIRMWARE
,
15 .run_address
= (void *)SSPM_SRAM_BASE
,
21 sspm
.load_buffer
= _dram_dma
;
22 sspm
.buffer_size
= REGION_SIZE(dram_dma
);