1*5def4c47SEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2*5def4c47SEmmanuel Vadot%YAML 1.2 3*5def4c47SEmmanuel Vadot--- 4*5def4c47SEmmanuel Vadot$id: http://devicetree.org/schemas/clock/qcom,gcc-sc8180x.yaml# 5*5def4c47SEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml# 6*5def4c47SEmmanuel Vadot 7*5def4c47SEmmanuel Vadottitle: Qualcomm Global Clock & Reset Controller Binding for SC8180x 8*5def4c47SEmmanuel Vadot 9*5def4c47SEmmanuel Vadotmaintainers: 10*5def4c47SEmmanuel Vadot - Bjorn Andersson <bjorn.andersson@linaro.org> 11*5def4c47SEmmanuel Vadot 12*5def4c47SEmmanuel Vadotdescription: | 13*5def4c47SEmmanuel Vadot Qualcomm global clock control module which supports the clocks, resets and 14*5def4c47SEmmanuel Vadot power domains on SC8180x. 15*5def4c47SEmmanuel Vadot 16*5def4c47SEmmanuel Vadot See also: 17*5def4c47SEmmanuel Vadot - dt-bindings/clock/qcom,gcc-sc8180x.h 18*5def4c47SEmmanuel Vadot 19*5def4c47SEmmanuel Vadotproperties: 20*5def4c47SEmmanuel Vadot compatible: 21*5def4c47SEmmanuel Vadot const: qcom,gcc-sc8180x 22*5def4c47SEmmanuel Vadot 23*5def4c47SEmmanuel Vadot clocks: 24*5def4c47SEmmanuel Vadot items: 25*5def4c47SEmmanuel Vadot - description: Board XO source 26*5def4c47SEmmanuel Vadot - description: Board active XO source 27*5def4c47SEmmanuel Vadot - description: Sleep clock source 28*5def4c47SEmmanuel Vadot 29*5def4c47SEmmanuel Vadot clock-names: 30*5def4c47SEmmanuel Vadot items: 31*5def4c47SEmmanuel Vadot - const: bi_tcxo 32*5def4c47SEmmanuel Vadot - const: bi_tcxo_ao 33*5def4c47SEmmanuel Vadot - const: sleep_clk 34*5def4c47SEmmanuel Vadot 35*5def4c47SEmmanuel Vadot '#clock-cells': 36*5def4c47SEmmanuel Vadot const: 1 37*5def4c47SEmmanuel Vadot 38*5def4c47SEmmanuel Vadot '#reset-cells': 39*5def4c47SEmmanuel Vadot const: 1 40*5def4c47SEmmanuel Vadot 41*5def4c47SEmmanuel Vadot '#power-domain-cells': 42*5def4c47SEmmanuel Vadot const: 1 43*5def4c47SEmmanuel Vadot 44*5def4c47SEmmanuel Vadot reg: 45*5def4c47SEmmanuel Vadot maxItems: 1 46*5def4c47SEmmanuel Vadot 47*5def4c47SEmmanuel Vadot protected-clocks: 48*5def4c47SEmmanuel Vadot description: 49*5def4c47SEmmanuel Vadot Protected clock specifier list as per common clock binding. 50*5def4c47SEmmanuel Vadot 51*5def4c47SEmmanuel Vadotrequired: 52*5def4c47SEmmanuel Vadot - compatible 53*5def4c47SEmmanuel Vadot - clocks 54*5def4c47SEmmanuel Vadot - clock-names 55*5def4c47SEmmanuel Vadot - reg 56*5def4c47SEmmanuel Vadot - '#clock-cells' 57*5def4c47SEmmanuel Vadot - '#reset-cells' 58*5def4c47SEmmanuel Vadot - '#power-domain-cells' 59*5def4c47SEmmanuel Vadot 60*5def4c47SEmmanuel VadotadditionalProperties: false 61*5def4c47SEmmanuel Vadot 62*5def4c47SEmmanuel Vadotexamples: 63*5def4c47SEmmanuel Vadot - | 64*5def4c47SEmmanuel Vadot #include <dt-bindings/clock/qcom,rpmh.h> 65*5def4c47SEmmanuel Vadot clock-controller@100000 { 66*5def4c47SEmmanuel Vadot compatible = "qcom,gcc-sc8180x"; 67*5def4c47SEmmanuel Vadot reg = <0x00100000 0x1f0000>; 68*5def4c47SEmmanuel Vadot clocks = <&rpmhcc RPMH_CXO_CLK>, 69*5def4c47SEmmanuel Vadot <&rpmhcc RPMH_CXO_CLK_A>, 70*5def4c47SEmmanuel Vadot <&sleep_clk>; 71*5def4c47SEmmanuel Vadot clock-names = "bi_tcxo", "bi_tcxo_ao", "sleep_clk"; 72*5def4c47SEmmanuel Vadot #clock-cells = <1>; 73*5def4c47SEmmanuel Vadot #reset-cells = <1>; 74*5def4c47SEmmanuel Vadot #power-domain-cells = <1>; 75*5def4c47SEmmanuel Vadot }; 76*5def4c47SEmmanuel Vadot... 77