xref: /freebsd/sys/contrib/device-tree/Bindings/interconnect/qcom,msm8974.yaml (revision a90b9d0159070121c221b966469c3e36d912bf82)
1# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/interconnect/qcom,msm8974.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Qualcomm MSM8974 Network-On-Chip Interconnect
8
9maintainers:
10  - Brian Masney <masneyb@onstation.org>
11
12description: |
13  The Qualcomm MSM8974 interconnect providers support setting system
14  bandwidth requirements between various network-on-chip fabrics.
15
16properties:
17  reg:
18    maxItems: 1
19
20  compatible:
21    enum:
22      - qcom,msm8974-bimc
23      - qcom,msm8974-cnoc
24      - qcom,msm8974-mmssnoc
25      - qcom,msm8974-ocmemnoc
26      - qcom,msm8974-pnoc
27      - qcom,msm8974-snoc
28
29  '#interconnect-cells':
30    const: 1
31
32  clock-names:
33    items:
34      - const: bus
35      - const: bus_a
36
37  clocks:
38    items:
39      - description: Bus Clock
40      - description: Bus A Clock
41
42required:
43  - compatible
44  - reg
45  - '#interconnect-cells'
46  - clock-names
47  - clocks
48
49additionalProperties: false
50
51examples:
52  - |
53      #include <dt-bindings/clock/qcom,rpmcc.h>
54
55      bimc: interconnect@fc380000 {
56              reg = <0xfc380000 0x6a000>;
57              compatible = "qcom,msm8974-bimc";
58              #interconnect-cells = <1>;
59              clock-names = "bus", "bus_a";
60              clocks = <&rpmcc RPM_SMD_BIMC_CLK>,
61                       <&rpmcc RPM_SMD_BIMC_A_CLK>;
62      };
63