xref: /linux/Documentation/devicetree/bindings/interconnect/qcom,msm8953.yaml (revision 3a39d672e7f48b8d6b91a09afa4b55352773b4b5)
1791ed23fSVladimir Lypak# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
2791ed23fSVladimir Lypak%YAML 1.2
3791ed23fSVladimir Lypak---
4791ed23fSVladimir Lypak$id: http://devicetree.org/schemas/interconnect/qcom,msm8953.yaml#
5791ed23fSVladimir Lypak$schema: http://devicetree.org/meta-schemas/core.yaml#
6791ed23fSVladimir Lypak
7791ed23fSVladimir Lypaktitle: Qualcomm MSM8953 Network-On-Chip interconnect
8791ed23fSVladimir Lypak
9791ed23fSVladimir Lypakmaintainers:
10791ed23fSVladimir Lypak  - Barnabas Czeman <barnabas.czeman@mainlining.org>
11791ed23fSVladimir Lypak
12791ed23fSVladimir Lypakdescription: |
13791ed23fSVladimir Lypak  The Qualcomm MSM8953 interconnect providers support adjusting the
14791ed23fSVladimir Lypak  bandwidth requirements between the various NoC fabrics.
15791ed23fSVladimir Lypak
16*69704bbbSAdam Skladowski  See also: include/dt-bindings/interconnect/qcom,msm8953.h
17791ed23fSVladimir Lypak
18791ed23fSVladimir Lypakproperties:
19791ed23fSVladimir Lypak  compatible:
20791ed23fSVladimir Lypak    enum:
21791ed23fSVladimir Lypak      - qcom,msm8953-bimc
22791ed23fSVladimir Lypak      - qcom,msm8953-pcnoc
23791ed23fSVladimir Lypak      - qcom,msm8953-snoc
24791ed23fSVladimir Lypak
25791ed23fSVladimir Lypak  reg:
26791ed23fSVladimir Lypak    maxItems: 1
27791ed23fSVladimir Lypak
28791ed23fSVladimir Lypak  clocks:
29791ed23fSVladimir Lypak    maxItems: 1
30791ed23fSVladimir Lypak
31791ed23fSVladimir Lypak  clock-names:
32791ed23fSVladimir Lypak    maxItems: 1
33791ed23fSVladimir Lypak
34791ed23fSVladimir Lypak  '#interconnect-cells':
35791ed23fSVladimir Lypak    const: 2
36791ed23fSVladimir Lypak
37791ed23fSVladimir LypakpatternProperties:
38791ed23fSVladimir Lypak  '^interconnect-[a-z0-9\-]+$':
39791ed23fSVladimir Lypak    type: object
40791ed23fSVladimir Lypak    $ref: qcom,rpm-common.yaml#
41791ed23fSVladimir Lypak    unevaluatedProperties: false
42791ed23fSVladimir Lypak    description:
43791ed23fSVladimir Lypak      The interconnect providers do not have a separate QoS register space,
44791ed23fSVladimir Lypak      but share parent's space.
45791ed23fSVladimir Lypak
46791ed23fSVladimir Lypak    properties:
47791ed23fSVladimir Lypak      compatible:
48791ed23fSVladimir Lypak        const: qcom,msm8953-snoc-mm
49791ed23fSVladimir Lypak
50791ed23fSVladimir Lypak    required:
51791ed23fSVladimir Lypak      - compatible
52791ed23fSVladimir Lypak      - '#interconnect-cells'
53791ed23fSVladimir Lypak
54791ed23fSVladimir Lypakrequired:
55791ed23fSVladimir Lypak  - compatible
56791ed23fSVladimir Lypak  - reg
57791ed23fSVladimir Lypak  - '#interconnect-cells'
58791ed23fSVladimir Lypak
59791ed23fSVladimir LypakallOf:
60791ed23fSVladimir Lypak  - $ref: qcom,rpm-common.yaml#
61791ed23fSVladimir Lypak  - if:
62791ed23fSVladimir Lypak      properties:
63791ed23fSVladimir Lypak        compatible:
64791ed23fSVladimir Lypak          const: qcom,msm8953-pcnoc
65791ed23fSVladimir Lypak
66791ed23fSVladimir Lypak    then:
67791ed23fSVladimir Lypak      properties:
68791ed23fSVladimir Lypak        clocks:
69791ed23fSVladimir Lypak          items:
70791ed23fSVladimir Lypak            - description: PCNOC USB3 AXI Clock.
71791ed23fSVladimir Lypak
72791ed23fSVladimir Lypak        clock-names:
73791ed23fSVladimir Lypak          const: pcnoc_usb3_axi
74791ed23fSVladimir Lypak
75791ed23fSVladimir Lypak      required:
76791ed23fSVladimir Lypak        - clocks
77791ed23fSVladimir Lypak        - clock-names
78791ed23fSVladimir Lypak    else:
79791ed23fSVladimir Lypak      properties:
80791ed23fSVladimir Lypak        clocks: false
81791ed23fSVladimir Lypak        clock-names: false
82791ed23fSVladimir Lypak
83791ed23fSVladimir LypakadditionalProperties: false
84791ed23fSVladimir Lypak
85791ed23fSVladimir Lypakexamples:
86791ed23fSVladimir Lypak  - |
87791ed23fSVladimir Lypak      #include <dt-bindings/clock/qcom,gcc-msm8953.h>
88791ed23fSVladimir Lypak
89791ed23fSVladimir Lypak      snoc: interconnect@580000 {
90791ed23fSVladimir Lypak          compatible = "qcom,msm8953-snoc";
91791ed23fSVladimir Lypak          reg = <0x580000 0x16080>;
92791ed23fSVladimir Lypak
93791ed23fSVladimir Lypak          #interconnect-cells = <2>;
94791ed23fSVladimir Lypak
95791ed23fSVladimir Lypak          snoc_mm: interconnect-snoc {
96791ed23fSVladimir Lypak              compatible = "qcom,msm8953-snoc-mm";
97791ed23fSVladimir Lypak
98791ed23fSVladimir Lypak              #interconnect-cells = <2>;
99791ed23fSVladimir Lypak          };
100791ed23fSVladimir Lypak      };
101