23 lines
596 B
C
23 lines
596 B
C
|
/*
|
||
|
* Copyright (c) 2018, ARM Limited and Contributors. All rights reserved.
|
||
|
*
|
||
|
* SPDX-License-Identifier: BSD-3-Clause
|
||
|
*/
|
||
|
|
||
|
#include "../../css/drivers/scmi/scmi.h"
|
||
|
#include "../../css/drivers/mhu/css_mhu_doorbell.h"
|
||
|
#include <platform_def.h>
|
||
|
|
||
|
static scmi_channel_plat_info_t n1sdp_scmi_plat_info = {
|
||
|
.scmi_mbx_mem = N1SDP_SCMI_PAYLOAD_BASE,
|
||
|
.db_reg_addr = PLAT_CSS_MHU_BASE + CSS_SCMI_MHU_DB_REG_OFF,
|
||
|
.db_preserve_mask = 0xfffffffe,
|
||
|
.db_modify_mask = 0x1,
|
||
|
.ring_doorbell = &mhu_ring_doorbell,
|
||
|
};
|
||
|
|
||
|
scmi_channel_plat_info_t *plat_css_get_scmi_info()
|
||
|
{
|
||
|
return &n1sdp_scmi_plat_info;
|
||
|
}
|