xref: /freebsd/sys/contrib/device-tree/Bindings/clock/qcom,sm8550-tcsr.yaml (revision fe75646a0234a261c0013bf1840fdac4acaf0cec)
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,sm8550-tcsr.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Qualcomm TCSR Clock Controller on SM8550
8
9maintainers:
10  - Bjorn Andersson <andersson@kernel.org>
11
12description: |
13  Qualcomm TCSR clock control module provides the clocks, resets and
14  power domains on SM8550
15
16  See also:: include/dt-bindings/clock/qcom,sm8550-tcsr.h
17
18properties:
19  compatible:
20    items:
21      - const: qcom,sm8550-tcsr
22      - const: syscon
23
24  clocks:
25    items:
26      - description: TCXO pad clock
27
28  reg:
29    maxItems: 1
30
31  '#clock-cells':
32    const: 1
33
34  '#reset-cells':
35    const: 1
36
37required:
38  - compatible
39  - clocks
40
41additionalProperties: false
42
43examples:
44  - |
45    #include <dt-bindings/clock/qcom,rpmh.h>
46
47    clock-controller@1fc0000 {
48      compatible = "qcom,sm8550-tcsr", "syscon";
49      reg = <0x1fc0000 0x30000>;
50      clocks = <&rpmhcc RPMH_CXO_CLK>;
51      #clock-cells = <1>;
52      #reset-cells = <1>;
53    };
54
55...
56