blob: d044b7ccf3ca68f6a0d4491daded7764ec0cddfa [file] [log] [blame]
Deepak Pandey9cbacf62018-08-08 10:32:51 +05301/*
2 * Copyright (c) 2018, ARM Limited and Contributors. All rights reserved.
3 *
4 * SPDX-License-Identifier: BSD-3-Clause
5 */
6
Antonio Nino Diaze0f90632018-12-14 00:18:21 +00007#include <platform_def.h>
8
Deepak Pandey9cbacf62018-08-08 10:32:51 +05309#include "../../css/drivers/scmi/scmi.h"
10#include "../../css/drivers/mhu/css_mhu_doorbell.h"
Chandni Cherukurie4bf6a02018-11-14 13:43:59 +053011#include <plat_arm.h>
Deepak Pandey9cbacf62018-08-08 10:32:51 +053012
13static scmi_channel_plat_info_t n1sdp_scmi_plat_info = {
14 .scmi_mbx_mem = N1SDP_SCMI_PAYLOAD_BASE,
15 .db_reg_addr = PLAT_CSS_MHU_BASE + CSS_SCMI_MHU_DB_REG_OFF,
16 .db_preserve_mask = 0xfffffffe,
17 .db_modify_mask = 0x1,
18 .ring_doorbell = &mhu_ring_doorbell,
19};
20
21scmi_channel_plat_info_t *plat_css_get_scmi_info()
22{
23 return &n1sdp_scmi_plat_info;
24}
Chandni Cherukurie4bf6a02018-11-14 13:43:59 +053025
26const plat_psci_ops_t *plat_arm_psci_override_pm_ops(plat_psci_ops_t *ops)
27{
28 return css_scmi_override_pm_ops(ops);
29}