Skip to content

Commit e5b9032

Browse files
KiciukGeorgi Djakov
authored andcommitted
dt-bindings: interconnect: qcom: Add Qualcomm MSM8976 NoC
Add bindings for Qualcomm MSM8976 Network-On-Chip interconnect devices. Signed-off-by: Adam Skladowski <[email protected]> Reviewed-by: Rob Herring (Arm) <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Georgi Djakov <[email protected]>
1 parent 8400291 commit e5b9032

File tree

2 files changed

+107
-5
lines changed

2 files changed

+107
-5
lines changed

Documentation/devicetree/bindings/interconnect/qcom,msm8939.yaml

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,14 @@
44
$id: http://devicetree.org/schemas/interconnect/qcom,msm8939.yaml#
55
$schema: http://devicetree.org/meta-schemas/core.yaml#
66

7-
title: Qualcomm MSM8939 Network-On-Chip interconnect
7+
title: Qualcomm MSM8939/MSM8976 Network-On-Chip interconnect
88

99
maintainers:
1010
- Konrad Dybcio <[email protected]>
1111

12-
description: |
13-
The Qualcomm MSM8939 interconnect providers support adjusting the
14-
bandwidth requirements between the various NoC fabrics.
12+
description:
13+
The Qualcomm MSM8939/MSM8976 interconnect providers support
14+
adjusting the bandwidth requirements between the various NoC fabrics.
1515

1616
allOf:
1717
- $ref: qcom,rpm-common.yaml#
@@ -22,6 +22,9 @@ properties:
2222
- qcom,msm8939-bimc
2323
- qcom,msm8939-pcnoc
2424
- qcom,msm8939-snoc
25+
- qcom,msm8976-bimc
26+
- qcom,msm8976-pcnoc
27+
- qcom,msm8976-snoc
2528

2629
reg:
2730
maxItems: 1
@@ -39,7 +42,9 @@ patternProperties:
3942

4043
properties:
4144
compatible:
42-
const: qcom,msm8939-snoc-mm
45+
enum:
46+
- qcom,msm8939-snoc-mm
47+
- qcom,msm8976-snoc-mm
4348

4449
required:
4550
- compatible
Lines changed: 97 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,97 @@
1+
/* SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) */
2+
/*
3+
* Qualcomm MSM8976 interconnect IDs
4+
*/
5+
6+
#ifndef __DT_BINDINGS_INTERCONNECT_QCOM_MSM8976_H
7+
#define __DT_BINDINGS_INTERCONNECT_QCOM_MSM8976_H
8+
9+
/* BIMC fabric */
10+
#define MAS_APPS_PROC 0
11+
#define MAS_SMMNOC_BIMC 1
12+
#define MAS_SNOC_BIMC 2
13+
#define MAS_TCU_0 3
14+
#define SLV_EBI 4
15+
#define SLV_BIMC_SNOC 5
16+
17+
/* PCNOC fabric */
18+
#define MAS_USB_HS2 0
19+
#define MAS_BLSP_1 1
20+
#define MAS_USB_HS1 2
21+
#define MAS_BLSP_2 3
22+
#define MAS_CRYPTO 4
23+
#define MAS_SDCC_1 5
24+
#define MAS_SDCC_2 6
25+
#define MAS_SDCC_3 7
26+
#define MAS_SNOC_PCNOC 8
27+
#define MAS_LPASS_AHB 9
28+
#define MAS_SPDM 10
29+
#define MAS_DEHR 11
30+
#define MAS_XM_USB_HS1 12
31+
#define PCNOC_M_0 13
32+
#define PCNOC_M_1 14
33+
#define PCNOC_INT_0 15
34+
#define PCNOC_INT_1 16
35+
#define PCNOC_INT_2 17
36+
#define PCNOC_S_1 18
37+
#define PCNOC_S_2 19
38+
#define PCNOC_S_3 20
39+
#define PCNOC_S_4 21
40+
#define PCNOC_S_8 22
41+
#define PCNOC_S_9 23
42+
#define SLV_TCSR 24
43+
#define SLV_TLMM 25
44+
#define SLV_CRYPTO_0_CFG 26
45+
#define SLV_MESSAGE_RAM 27
46+
#define SLV_PDM 28
47+
#define SLV_PRNG 29
48+
#define SLV_PMIC_ARB 30
49+
#define SLV_SNOC_CFG 31
50+
#define SLV_DCC_CFG 32
51+
#define SLV_CAMERA_SS_CFG 33
52+
#define SLV_DISP_SS_CFG 34
53+
#define SLV_VENUS_CFG 35
54+
#define SLV_SDCC_1 36
55+
#define SLV_BLSP_1 37
56+
#define SLV_USB_HS 38
57+
#define SLV_SDCC_3 39
58+
#define SLV_SDCC_2 40
59+
#define SLV_GPU_CFG 41
60+
#define SLV_USB_HS2 42
61+
#define SLV_BLSP_2 43
62+
#define SLV_PCNOC_SNOC 44
63+
64+
/* SNOC fabric */
65+
#define MAS_QDSS_BAM 0
66+
#define MAS_BIMC_SNOC 1
67+
#define MAS_PCNOC_SNOC 2
68+
#define MAS_QDSS_ETR 3
69+
#define MAS_LPASS_PROC 4
70+
#define MAS_IPA 5
71+
#define QDSS_INT 6
72+
#define SNOC_INT_0 7
73+
#define SNOC_INT_1 8
74+
#define SNOC_INT_2 9
75+
#define SLV_KPSS_AHB 10
76+
#define SLV_SNOC_BIMC 11
77+
#define SLV_IMEM 12
78+
#define SLV_SNOC_PCNOC 13
79+
#define SLV_QDSS_STM 14
80+
#define SLV_CATS_0 15
81+
#define SLV_CATS_1 16
82+
#define SLV_LPASS 17
83+
84+
/* SNOC-MM fabric */
85+
#define MAS_JPEG 0
86+
#define MAS_OXILI 1
87+
#define MAS_MDP0 2
88+
#define MAS_MDP1 3
89+
#define MAS_VENUS_0 4
90+
#define MAS_VENUS_1 5
91+
#define MAS_VFE_0 6
92+
#define MAS_VFE_1 7
93+
#define MAS_CPP 8
94+
#define MM_INT_0 9
95+
#define SLV_SMMNOC_BIMC 10
96+
97+
#endif /* __DT_BINDINGS_INTERCONNECT_QCOM_MSM8976_H */

0 commit comments

Comments
 (0)