interconnect: qcom: pineapple: Add qnm_apss_noc node

Add the qnm_apss_noc node, which is needed to configure its QoS
settings.

Change-Id: I6cd810696bbc46a9612e999d14bd11a641770f4b
Signed-off-by: Mike Tipton <quic_mdtipton@quicinc.com>
This commit is contained in:
Mike Tipton 2023-08-15 15:35:27 -07:00
parent f206156a49
commit af1892212c

View file

@ -1017,6 +1017,28 @@ static struct qcom_icc_node qnm_aggre2_noc = {
.links = { SLAVE_SNOC_GEM_NOC_SF },
};
static struct qcom_icc_qosbox qnm_apss_noc_qos = {
.regs = icc_qnoc_qos_regs[ICC_QNOC_QOSGEN_TYPE_RPMH],
.num_ports = 1,
.offsets = { 0x1c000 },
.config = &(struct qos_config) {
.prio = 2,
.urg_fwd = 0,
.prio_fwd_disable = 1,
},
};
static struct qcom_icc_node qnm_apss_noc = {
.name = "qnm_apss_noc",
.id = MASTER_APSS_NOC,
.channels = 1,
.buswidth = 4,
.noc_ops = &qcom_qnoc4_ops,
.qosbox = &qnm_apss_noc_qos,
.num_links = 1,
.links = { SLAVE_SNOC_GEM_NOC_SF },
};
static struct qcom_icc_node qnm_mnoc_hf_disp = {
.name = "qnm_mnoc_hf_disp",
.id = MASTER_MNOC_HF_MEM_NOC_DISP,
@ -3266,6 +3288,7 @@ static struct qcom_icc_bcm *system_noc_bcms[] = {
static struct qcom_icc_node *system_noc_nodes[] = {
[MASTER_A1NOC_SNOC] = &qnm_aggre1_noc,
[MASTER_A2NOC_SNOC] = &qnm_aggre2_noc,
[MASTER_APSS_NOC] = &qnm_apss_noc,
[SLAVE_SNOC_GEM_NOC_SF] = &qns_gemnoc_sf,
};