xref: /freebsd/sys/contrib/device-tree/Bindings/clock/qcom,sc7180-mss.yaml (revision fac71e4e09885bb2afa3d984a0c239a52e1a7418)
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 on SC7180
8
9maintainers:
10  - Taniya Das <tdas@codeaurora.org>
11
12description: |
13  Qualcomm modem clock control module provides the clocks on SC7180.
14
15  See also:: include/dt-bindings/clock/qcom,mss-sc7180.h
16
17properties:
18  compatible:
19    const: qcom,sc7180-mss
20
21  clocks:
22    items:
23      - description: gcc_mss_mfab_axi clock from GCC
24      - description: gcc_mss_nav_axi clock from GCC
25      - description: gcc_mss_cfg_ahb clock from GCC
26
27  clock-names:
28    items:
29      - const: gcc_mss_mfab_axis
30      - const: gcc_mss_nav_axi
31      - const: cfg_ahb
32
33  '#clock-cells':
34    const: 1
35
36  reg:
37    maxItems: 1
38
39required:
40  - compatible
41  - reg
42  - clocks
43  - '#clock-cells'
44
45additionalProperties: false
46
47examples:
48  - |
49    #include <dt-bindings/clock/qcom,gcc-sc7180.h>
50    clock-controller@41a8000 {
51      compatible = "qcom,sc7180-mss";
52      reg = <0x041a8000 0x8000>;
53      clocks = <&gcc GCC_MSS_MFAB_AXIS_CLK>,
54               <&gcc GCC_MSS_NAV_AXI_CLK>,
55               <&gcc GCC_MSS_CFG_AHB_CLK>;
56      clock-names = "gcc_mss_mfab_axis",
57                    "gcc_mss_nav_axi",
58                    "cfg_ahb";
59      #clock-cells = <1>;
60    };
61...
62