Skip to content

Commit 791ed23

Browse files
vldlyGeorgi Djakov
authored andcommitted
dt-bindings: interconnect: qcom: Add Qualcomm MSM8953 NoC
Add the device-tree bindings for interconnect providers used on MSM8953 platform. Signed-off-by: Vladimir Lypak <[email protected]> Reviewed-by: Krzysztof Kozlowski <[email protected]> Signed-off-by: Barnabás Czémán <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Georgi Djakov <[email protected]>
1 parent 1613e60 commit 791ed23

File tree

2 files changed

+194
-0
lines changed

2 files changed

+194
-0
lines changed
Lines changed: 101 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,101 @@
1+
# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
2+
%YAML 1.2
3+
---
4+
$id: http://devicetree.org/schemas/interconnect/qcom,msm8953.yaml#
5+
$schema: http://devicetree.org/meta-schemas/core.yaml#
6+
7+
title: Qualcomm MSM8953 Network-On-Chip interconnect
8+
9+
maintainers:
10+
- Barnabas Czeman <[email protected]>
11+
12+
description: |
13+
The Qualcomm MSM8953 interconnect providers support adjusting the
14+
bandwidth requirements between the various NoC fabrics.
15+
16+
See also:
17+
- dt-bindings/interconnect/qcom,msm8953.h
18+
19+
properties:
20+
compatible:
21+
enum:
22+
- qcom,msm8953-bimc
23+
- qcom,msm8953-pcnoc
24+
- qcom,msm8953-snoc
25+
26+
reg:
27+
maxItems: 1
28+
29+
clocks:
30+
maxItems: 1
31+
32+
clock-names:
33+
maxItems: 1
34+
35+
'#interconnect-cells':
36+
const: 2
37+
38+
patternProperties:
39+
'^interconnect-[a-z0-9\-]+$':
40+
type: object
41+
$ref: qcom,rpm-common.yaml#
42+
unevaluatedProperties: false
43+
description:
44+
The interconnect providers do not have a separate QoS register space,
45+
but share parent's space.
46+
47+
properties:
48+
compatible:
49+
const: qcom,msm8953-snoc-mm
50+
51+
required:
52+
- compatible
53+
- '#interconnect-cells'
54+
55+
required:
56+
- compatible
57+
- reg
58+
- '#interconnect-cells'
59+
60+
allOf:
61+
- $ref: qcom,rpm-common.yaml#
62+
- if:
63+
properties:
64+
compatible:
65+
const: qcom,msm8953-pcnoc
66+
67+
then:
68+
properties:
69+
clocks:
70+
items:
71+
- description: PCNOC USB3 AXI Clock.
72+
73+
clock-names:
74+
const: pcnoc_usb3_axi
75+
76+
required:
77+
- clocks
78+
- clock-names
79+
else:
80+
properties:
81+
clocks: false
82+
clock-names: false
83+
84+
additionalProperties: false
85+
86+
examples:
87+
- |
88+
#include <dt-bindings/clock/qcom,gcc-msm8953.h>
89+
90+
snoc: interconnect@580000 {
91+
compatible = "qcom,msm8953-snoc";
92+
reg = <0x580000 0x16080>;
93+
94+
#interconnect-cells = <2>;
95+
96+
snoc_mm: interconnect-snoc {
97+
compatible = "qcom,msm8953-snoc-mm";
98+
99+
#interconnect-cells = <2>;
100+
};
101+
};
Lines changed: 93 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,93 @@
1+
/* SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) */
2+
/*
3+
* Qualcomm MSM8953 interconnect IDs
4+
*/
5+
6+
#ifndef __DT_BINDINGS_INTERCONNECT_QCOM_MSM8953_H
7+
#define __DT_BINDINGS_INTERCONNECT_QCOM_MSM8953_H
8+
9+
/* BIMC fabric */
10+
#define MAS_APPS_PROC 0
11+
#define MAS_OXILI 1
12+
#define MAS_SNOC_BIMC_0 2
13+
#define MAS_SNOC_BIMC_2 3
14+
#define MAS_SNOC_BIMC_1 4
15+
#define MAS_TCU_0 5
16+
#define SLV_EBI 6
17+
#define SLV_BIMC_SNOC 7
18+
19+
/* PCNOC fabric */
20+
#define MAS_SPDM 0
21+
#define MAS_BLSP_1 1
22+
#define MAS_BLSP_2 2
23+
#define MAS_USB3 3
24+
#define MAS_CRYPTO 4
25+
#define MAS_SDCC_1 5
26+
#define MAS_SDCC_2 6
27+
#define MAS_SNOC_PCNOC 7
28+
#define PCNOC_M_0 8
29+
#define PCNOC_M_1 9
30+
#define PCNOC_INT_1 10
31+
#define PCNOC_INT_2 11
32+
#define PCNOC_S_0 12
33+
#define PCNOC_S_1 13
34+
#define PCNOC_S_2 14
35+
#define PCNOC_S_3 15
36+
#define PCNOC_S_4 16
37+
#define PCNOC_S_6 17
38+
#define PCNOC_S_7 18
39+
#define PCNOC_S_8 19
40+
#define PCNOC_S_9 20
41+
#define SLV_SPDM 21
42+
#define SLV_PDM 22
43+
#define SLV_TCSR 23
44+
#define SLV_SNOC_CFG 24
45+
#define SLV_TLMM 25
46+
#define SLV_MESSAGE_RAM 26
47+
#define SLV_BLSP_1 27
48+
#define SLV_BLSP_2 28
49+
#define SLV_PRNG 29
50+
#define SLV_CAMERA_SS_CFG 30
51+
#define SLV_DISP_SS_CFG 31
52+
#define SLV_VENUS_CFG 32
53+
#define SLV_GPU_CFG 33
54+
#define SLV_SDCC_1 34
55+
#define SLV_SDCC_2 35
56+
#define SLV_CRYPTO_0_CFG 36
57+
#define SLV_PMIC_ARB 37
58+
#define SLV_USB3 38
59+
#define SLV_IPA_CFG 39
60+
#define SLV_TCU 40
61+
#define SLV_PCNOC_SNOC 41
62+
63+
/* SNOC fabric */
64+
#define MAS_QDSS_BAM 0
65+
#define MAS_BIMC_SNOC 1
66+
#define MAS_PCNOC_SNOC 2
67+
#define MAS_IPA 3
68+
#define MAS_QDSS_ETR 4
69+
#define QDSS_INT 5
70+
#define SNOC_INT_0 6
71+
#define SNOC_INT_1 7
72+
#define SNOC_INT_2 8
73+
#define SLV_KPSS_AHB 9
74+
#define SLV_WCSS 10
75+
#define SLV_SNOC_BIMC_1 11
76+
#define SLV_IMEM 12
77+
#define SLV_SNOC_PCNOC 13
78+
#define SLV_QDSS_STM 14
79+
#define SLV_CATS_1 15
80+
#define SLV_LPASS 16
81+
82+
/* SNOC-MM fabric */
83+
#define MAS_JPEG 0
84+
#define MAS_MDP 1
85+
#define MAS_VENUS 2
86+
#define MAS_VFE0 3
87+
#define MAS_VFE1 4
88+
#define MAS_CPP 5
89+
#define SLV_SNOC_BIMC_0 6
90+
#define SLV_SNOC_BIMC_2 7
91+
#define SLV_CATS_0 8
92+
93+
#endif /* __DT_BINDINGS_INTERCONNECT_QCOM_MSM8953_H */

0 commit comments

Comments
 (0)