1# SPDX-License-Identifier: GPL-2.0-only 2%YAML 1.2 3--- 4$id: http://devicetree.org/schemas/clock/qcom,gcc-sc7180.yaml# 5$schema: http://devicetree.org/meta-schemas/core.yaml# 6 7title: Qualcomm Global Clock & Reset Controller on SC7180 8 9maintainers: 10 - Stephen Boyd <sboyd@kernel.org> 11 - Taniya Das <quic_tdas@quicinc.com> 12 13description: | 14 Qualcomm global clock control module provides the clocks, resets and power 15 domains on SC7180. 16 17 See also:: include/dt-bindings/clock/qcom,gcc-sc7180.h 18 19properties: 20 compatible: 21 const: qcom,gcc-sc7180 22 23 clocks: 24 items: 25 - description: Board XO source 26 - description: Board active XO source 27 - description: Sleep clock source 28 29 clock-names: 30 items: 31 - const: bi_tcxo 32 - const: bi_tcxo_ao 33 - const: sleep_clk 34 35 power-domains: 36 items: 37 - description: CX domain 38 39required: 40 - compatible 41 - clocks 42 - clock-names 43 - '#power-domain-cells' 44 45allOf: 46 - $ref: qcom,gcc.yaml# 47 48unevaluatedProperties: false 49 50examples: 51 - | 52 #include <dt-bindings/clock/qcom,rpmh.h> 53 #include <dt-bindings/power/qcom-rpmpd.h> 54 55 clock-controller@100000 { 56 compatible = "qcom,gcc-sc7180"; 57 reg = <0x00100000 0x1f0000>; 58 clocks = <&rpmhcc RPMH_CXO_CLK>, 59 <&rpmhcc RPMH_CXO_CLK_A>, 60 <&sleep_clk>; 61 clock-names = "bi_tcxo", "bi_tcxo_ao", "sleep_clk"; 62 power-domains = <&rpmhpd SC7180_CX>; 63 #clock-cells = <1>; 64 #reset-cells = <1>; 65 #power-domain-cells = <1>; 66 }; 67... 68