blob: d10bb002906e9f55f1f1dedc570f5e835181a504 [file] [log] [blame]
Tom Rini53633a82024-02-29 12:33:36 -05001# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/clock/qcom,sm8450-gpucc.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Qualcomm Graphics Clock & Reset Controller on SM8450
8
9maintainers:
Tom Rini6b642ac2024-10-01 12:20:28 -060010 - Konrad Dybcio <konradybcio@kernel.org>
Tom Rini53633a82024-02-29 12:33:36 -050011
12description: |
13 Qualcomm graphics clock control module provides the clocks, resets and power
14 domains on Qualcomm SoCs.
15
16 See also::
17 include/dt-bindings/clock/qcom,sm8450-gpucc.h
18 include/dt-bindings/clock/qcom,sm8550-gpucc.h
19 include/dt-bindings/reset/qcom,sm8450-gpucc.h
Tom Rini93743d22024-04-01 09:08:13 -040020 include/dt-bindings/reset/qcom,sm8650-gpucc.h
Tom Rini6bb92fc2024-05-20 09:54:58 -060021 include/dt-bindings/reset/qcom,x1e80100-gpucc.h
Tom Rini53633a82024-02-29 12:33:36 -050022
23properties:
24 compatible:
25 enum:
26 - qcom,sm8450-gpucc
27 - qcom,sm8550-gpucc
Tom Rini93743d22024-04-01 09:08:13 -040028 - qcom,sm8650-gpucc
Tom Rini6bb92fc2024-05-20 09:54:58 -060029 - qcom,x1e80100-gpucc
Tom Rini53633a82024-02-29 12:33:36 -050030
31 clocks:
32 items:
33 - description: Board XO source
34 - description: GPLL0 main branch source
35 - description: GPLL0 div branch source
36
Tom Rini53633a82024-02-29 12:33:36 -050037required:
38 - compatible
Tom Rini53633a82024-02-29 12:33:36 -050039 - clocks
Tom Rini53633a82024-02-29 12:33:36 -050040 - '#power-domain-cells'
41
Tom Rini6b642ac2024-10-01 12:20:28 -060042allOf:
43 - $ref: qcom,gcc.yaml#
44
45unevaluatedProperties: false
Tom Rini53633a82024-02-29 12:33:36 -050046
47examples:
48 - |
49 #include <dt-bindings/clock/qcom,gcc-sm8450.h>
50 #include <dt-bindings/clock/qcom,rpmh.h>
51
52 soc {
53 #address-cells = <2>;
54 #size-cells = <2>;
55
56 clock-controller@3d90000 {
57 compatible = "qcom,sm8450-gpucc";
58 reg = <0 0x03d90000 0 0xa000>;
59 clocks = <&rpmhcc RPMH_CXO_CLK>,
60 <&gcc GCC_GPU_GPLL0_CLK_SRC>,
61 <&gcc GCC_GPU_GPLL0_DIV_CLK_SRC>;
62 #clock-cells = <1>;
63 #reset-cells = <1>;
64 #power-domain-cells = <1>;
65 };
66 };
67...