1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/clock/qcom,sc7180-mss.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Qualcomm Modem Clock Controller Binding for SC7180
8
9maintainers:
10  - Taniya Das <tdas@codeaurora.org>
11
12description: |
13  Qualcomm modem clock control module which supports the clocks on SC7180.
14
15  See also:
16  - dt-bindings/clock/qcom,mss-sc7180.h
17
18properties:
19  compatible:
20    const: qcom,sc7180-mss
21
22  clocks:
23    items:
24      - description: gcc_mss_mfab_axi clock from GCC
25      - description: gcc_mss_nav_axi clock from GCC
26      - description: gcc_mss_cfg_ahb clock from GCC
27
28  clock-names:
29    items:
30      - const: gcc_mss_mfab_axis
31      - const: gcc_mss_nav_axi
32      - const: cfg_ahb
33
34  '#clock-cells':
35    const: 1
36
37  reg:
38    maxItems: 1
39
40required:
41  - compatible
42  - reg
43  - clocks
44  - '#clock-cells'
45
46additionalProperties: false
47
48examples:
49  - |
50    #include <dt-bindings/clock/qcom,gcc-sc7180.h>
51    clock-controller@41a8000 {
52      compatible = "qcom,sc7180-mss";
53      reg = <0 0x041a8000 0 0x8000>;
54      clocks = <&gcc GCC_MSS_MFAB_AXIS_CLK>,
55               <&gcc GCC_MSS_NAV_AXI_CLK>,
56               <&gcc GCC_MSS_CFG_AHB_CLK>;
57      clock-names = "gcc_mss_mfab_axis",
58                    "gcc_mss_nav_axi",
59                    "cfg_ahb";
60      #clock-cells = <1>;
61    };
62...
63