xref: /freebsd/sys/contrib/device-tree/Bindings/clock/qcom,sc7280-lpasscc.yaml (revision 8bab661a3316d8bd9b9fbd11a3b4371b91507bd2)
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,sc7280-lpasscc.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Qualcomm LPASS Core Clock Controller on SC7280
8
9maintainers:
10  - Taniya Das <tdas@codeaurora.org>
11
12description: |
13  Qualcomm LPASS core clock control module provides the clocks and power
14  domains on SC7280.
15
16  See also:: include/dt-bindings/clock/qcom,lpass-sc7280.h
17
18properties:
19  compatible:
20    enum:
21      - qcom,sc7280-lpasscc
22
23  clocks:
24    items:
25      - description: gcc_cfg_noc_lpass_clk from GCC
26
27  clock-names:
28    items:
29      - const: iface
30
31  '#clock-cells':
32    const: 1
33
34  reg:
35    items:
36      - description: LPASS qdsp6ss register
37      - description: LPASS top-cc register
38
39  reg-names:
40    items:
41      - const: qdsp6ss
42      - const: top_cc
43
44required:
45  - compatible
46  - reg
47  - clocks
48  - clock-names
49  - '#clock-cells'
50
51additionalProperties: false
52
53examples:
54  - |
55    #include <dt-bindings/clock/qcom,gcc-sc7280.h>
56    #include <dt-bindings/clock/qcom,lpass-sc7280.h>
57    clock-controller@3000000 {
58      compatible = "qcom,sc7280-lpasscc";
59      reg = <0x03000000 0x40>, <0x03c04000 0x4>;
60      reg-names = "qdsp6ss", "top_cc";
61      clocks = <&gcc GCC_CFG_NOC_LPASS_CLK>;
62      clock-names = "iface";
63      #clock-cells = <1>;
64    };
65...
66