1c66ec88fSEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2c66ec88fSEmmanuel Vadot%YAML 1.2 3c66ec88fSEmmanuel Vadot--- 4c66ec88fSEmmanuel Vadot$id: http://devicetree.org/schemas/clock/qcom,gcc-sm8250.yaml# 5c66ec88fSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml# 6c66ec88fSEmmanuel Vadot 78bab661aSEmmanuel Vadottitle: Qualcomm Global Clock & Reset Controller on SM8250 8c66ec88fSEmmanuel Vadot 9c66ec88fSEmmanuel Vadotmaintainers: 10c66ec88fSEmmanuel Vadot - Stephen Boyd <sboyd@kernel.org> 11aa1a8ff2SEmmanuel Vadot - Taniya Das <quic_tdas@quicinc.com> 12c66ec88fSEmmanuel Vadot 13c66ec88fSEmmanuel Vadotdescription: | 148bab661aSEmmanuel Vadot Qualcomm global clock control module provides the clocks, resets and power 158bab661aSEmmanuel Vadot domains on SM8250. 16c66ec88fSEmmanuel Vadot 178bab661aSEmmanuel Vadot See also:: include/dt-bindings/clock/qcom,gcc-sm8250.h 18c66ec88fSEmmanuel Vadot 19c66ec88fSEmmanuel Vadotproperties: 20c66ec88fSEmmanuel Vadot compatible: 21c66ec88fSEmmanuel Vadot const: qcom,gcc-sm8250 22c66ec88fSEmmanuel Vadot 23c66ec88fSEmmanuel Vadot clocks: 24c66ec88fSEmmanuel Vadot items: 25c66ec88fSEmmanuel Vadot - description: Board XO source 26f126890aSEmmanuel Vadot - description: Board active XO source 27c66ec88fSEmmanuel Vadot - description: Sleep clock source 28c66ec88fSEmmanuel Vadot 29c66ec88fSEmmanuel Vadot clock-names: 30c66ec88fSEmmanuel Vadot items: 31c66ec88fSEmmanuel Vadot - const: bi_tcxo 32f126890aSEmmanuel Vadot - const: bi_tcxo_ao 33c66ec88fSEmmanuel Vadot - const: sleep_clk 34c66ec88fSEmmanuel Vadot 35c66ec88fSEmmanuel Vadotrequired: 36c66ec88fSEmmanuel Vadot - compatible 37c66ec88fSEmmanuel Vadot - clocks 38c66ec88fSEmmanuel Vadot - clock-names 39*0e8011faSEmmanuel Vadot - '#power-domain-cells' 40c66ec88fSEmmanuel Vadot 417ef62cebSEmmanuel VadotallOf: 427ef62cebSEmmanuel Vadot - $ref: qcom,gcc.yaml# 437ef62cebSEmmanuel Vadot 447ef62cebSEmmanuel VadotunevaluatedProperties: false 456be33864SEmmanuel Vadot 46c66ec88fSEmmanuel Vadotexamples: 47c66ec88fSEmmanuel Vadot - | 48c66ec88fSEmmanuel Vadot #include <dt-bindings/clock/qcom,rpmh.h> 49c66ec88fSEmmanuel Vadot clock-controller@100000 { 50c66ec88fSEmmanuel Vadot compatible = "qcom,gcc-sm8250"; 51c66ec88fSEmmanuel Vadot reg = <0x00100000 0x1f0000>; 52c66ec88fSEmmanuel Vadot clocks = <&rpmhcc RPMH_CXO_CLK>, 53f126890aSEmmanuel Vadot <&rpmhcc RPMH_CXO_CLK_A>, 54c66ec88fSEmmanuel Vadot <&sleep_clk>; 55f126890aSEmmanuel Vadot clock-names = "bi_tcxo", "bi_tcxo_ao", "sleep_clk"; 56c66ec88fSEmmanuel Vadot #clock-cells = <1>; 57c66ec88fSEmmanuel Vadot #reset-cells = <1>; 58c66ec88fSEmmanuel Vadot #power-domain-cells = <1>; 59c66ec88fSEmmanuel Vadot }; 60c66ec88fSEmmanuel Vadot... 61