1*fac71e4eSEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2*fac71e4eSEmmanuel Vadot%YAML 1.2 3*fac71e4eSEmmanuel Vadot--- 4*fac71e4eSEmmanuel Vadot$id: http://devicetree.org/schemas/clock/qcom,sm7150-gcc.yaml# 5*fac71e4eSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml# 6*fac71e4eSEmmanuel Vadot 7*fac71e4eSEmmanuel Vadottitle: Qualcomm Global Clock & Reset Controller on SM7150 8*fac71e4eSEmmanuel Vadot 9*fac71e4eSEmmanuel Vadotmaintainers: 10*fac71e4eSEmmanuel Vadot - Bjorn Andersson <andersson@kernel.org> 11*fac71e4eSEmmanuel Vadot - Danila Tikhonov <danila@jiaxyga.com> 12*fac71e4eSEmmanuel Vadot - David Wronek <davidwronek@gmail.com> 13*fac71e4eSEmmanuel Vadot 14*fac71e4eSEmmanuel Vadotdescription: | 15*fac71e4eSEmmanuel Vadot Qualcomm global clock control module provides the clocks, resets and power 16*fac71e4eSEmmanuel Vadot domains on SM7150 17*fac71e4eSEmmanuel Vadot 18*fac71e4eSEmmanuel Vadot See also:: include/dt-bindings/clock/qcom,sm7150-gcc.h 19*fac71e4eSEmmanuel Vadot 20*fac71e4eSEmmanuel Vadotproperties: 21*fac71e4eSEmmanuel Vadot compatible: 22*fac71e4eSEmmanuel Vadot const: qcom,sm7150-gcc 23*fac71e4eSEmmanuel Vadot 24*fac71e4eSEmmanuel Vadot clocks: 25*fac71e4eSEmmanuel Vadot items: 26*fac71e4eSEmmanuel Vadot - description: Board XO source 27*fac71e4eSEmmanuel Vadot - description: Board XO Active-Only source 28*fac71e4eSEmmanuel Vadot - description: Sleep clock source 29*fac71e4eSEmmanuel Vadot 30*fac71e4eSEmmanuel Vadotrequired: 31*fac71e4eSEmmanuel Vadot - compatible 32*fac71e4eSEmmanuel Vadot - clocks 33*fac71e4eSEmmanuel Vadot 34*fac71e4eSEmmanuel VadotallOf: 35*fac71e4eSEmmanuel Vadot - $ref: qcom,gcc.yaml# 36*fac71e4eSEmmanuel Vadot 37*fac71e4eSEmmanuel VadotunevaluatedProperties: false 38*fac71e4eSEmmanuel Vadot 39*fac71e4eSEmmanuel Vadotexamples: 40*fac71e4eSEmmanuel Vadot - | 41*fac71e4eSEmmanuel Vadot #include <dt-bindings/clock/qcom,rpmh.h> 42*fac71e4eSEmmanuel Vadot clock-controller@100000 { 43*fac71e4eSEmmanuel Vadot compatible = "qcom,sm7150-gcc"; 44*fac71e4eSEmmanuel Vadot reg = <0x00100000 0x001f0000>; 45*fac71e4eSEmmanuel Vadot clocks = <&rpmhcc RPMH_CXO_CLK>, 46*fac71e4eSEmmanuel Vadot <&rpmhcc RPMH_CXO_CLK_A>, 47*fac71e4eSEmmanuel Vadot <&sleep_clk>; 48*fac71e4eSEmmanuel Vadot #clock-cells = <1>; 49*fac71e4eSEmmanuel Vadot #reset-cells = <1>; 50*fac71e4eSEmmanuel Vadot #power-domain-cells = <1>; 51*fac71e4eSEmmanuel Vadot }; 52*fac71e4eSEmmanuel Vadot... 53