summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/clock/qcom,shikra-gcc.yaml
blob: da6eebfa84c22c1b287c194992c04a54ca0aabf9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/clock/qcom,shikra-gcc.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Global Clock & Reset Controller on Qualcomm Shikra SoC

maintainers:
  - Imran Shaik <imran.shaik@oss.qualcomm.com>
  - Taniya Das <taniya.das@oss.qualcomm.com>

description: |
  Global clock control module provides the clocks, resets and power
  domains on Qualcomm Shikra SoC platform.

  See also: include/dt-bindings/clock/qcom,shikra-gcc.h

properties:
  compatible:
    const: qcom,shikra-gcc

  clocks:
    items:
      - description: Board XO source
      - description: Sleep clock source
      - description: EMAC0 sgmiiphy mac rclk source
      - description: EMAC0 sgmiiphy mac tclk source
      - description: EMAC1 sgmiiphy mac rclk source
      - description: EMAC1 sgmiiphy mac tclk source
      - description: PCIE Pipe clock source
      - description: USB3 phy wrapper pipe clock source

  power-domains:
    items:
      - description: CX domain

required:
  - compatible
  - clocks
  - power-domains
  - '#power-domain-cells'

allOf:
  - $ref: qcom,gcc.yaml#

unevaluatedProperties: false

examples:
  - |
    #include <dt-bindings/clock/qcom,rpmcc.h>
    #include <dt-bindings/power/qcom-rpmpd.h>
    clock-controller@1400000 {
        compatible = "qcom,shikra-gcc";
        reg = <0x01400000 0x1f0000>;
        clocks = <&rpmcc RPM_SMD_XO_CLK_SRC>,
                 <&sleep_clk>,
                 <&emac0_sgmiiphy_rclk>,
                 <&emac0_sgmiiphy_tclk>,
                 <&emac1_sgmiiphy_rclk>,
                 <&emac1_sgmiiphy_tclk>,
                 <&pcie_pipe_clk>,
                 <&usb3_phy_wrapper_gcc_usb30_pipe_clk>;
        power-domains = <&rpmpd RPMPD_VDDCX>;
        #clock-cells = <1>;
        #power-domain-cells = <1>;
        #reset-cells = <1>;
    };

...