1*5f62a964SEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2*5f62a964SEmmanuel Vadot%YAML 1.2 3*5f62a964SEmmanuel Vadot--- 4*5f62a964SEmmanuel Vadot$id: http://devicetree.org/schemas/clock/qcom,sar2130p-gcc.yaml# 5*5f62a964SEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml# 6*5f62a964SEmmanuel Vadot 7*5f62a964SEmmanuel Vadottitle: Qualcomm Global Clock & Reset Controller on sar2130p 8*5f62a964SEmmanuel Vadot 9*5f62a964SEmmanuel Vadotmaintainers: 10*5f62a964SEmmanuel Vadot - Dmitry Baryshkov <dmitry.baryshkov@linaro.org> 11*5f62a964SEmmanuel Vadot 12*5f62a964SEmmanuel Vadotdescription: | 13*5f62a964SEmmanuel Vadot Qualcomm global clock control module provides the clocks, resets and 14*5f62a964SEmmanuel Vadot power domains on sar2130p. 15*5f62a964SEmmanuel Vadot 16*5f62a964SEmmanuel Vadot See also: include/dt-bindings/clock/qcom,sar2130p-gcc.h 17*5f62a964SEmmanuel Vadot 18*5f62a964SEmmanuel Vadotproperties: 19*5f62a964SEmmanuel Vadot compatible: 20*5f62a964SEmmanuel Vadot const: qcom,sar2130p-gcc 21*5f62a964SEmmanuel Vadot 22*5f62a964SEmmanuel Vadot clocks: 23*5f62a964SEmmanuel Vadot items: 24*5f62a964SEmmanuel Vadot - description: XO reference clock 25*5f62a964SEmmanuel Vadot - description: Sleep clock 26*5f62a964SEmmanuel Vadot - description: PCIe 0 pipe clock 27*5f62a964SEmmanuel Vadot - description: PCIe 1 pipe clock 28*5f62a964SEmmanuel Vadot - description: Primary USB3 PHY wrapper pipe clock 29*5f62a964SEmmanuel Vadot 30*5f62a964SEmmanuel Vadot protected-clocks: 31*5f62a964SEmmanuel Vadot maxItems: 240 32*5f62a964SEmmanuel Vadot 33*5f62a964SEmmanuel Vadot power-domains: 34*5f62a964SEmmanuel Vadot maxItems: 1 35*5f62a964SEmmanuel Vadot 36*5f62a964SEmmanuel Vadotrequired: 37*5f62a964SEmmanuel Vadot - compatible 38*5f62a964SEmmanuel Vadot - clocks 39*5f62a964SEmmanuel Vadot - '#power-domain-cells' 40*5f62a964SEmmanuel Vadot 41*5f62a964SEmmanuel VadotallOf: 42*5f62a964SEmmanuel Vadot - $ref: qcom,gcc.yaml# 43*5f62a964SEmmanuel Vadot 44*5f62a964SEmmanuel VadotunevaluatedProperties: false 45*5f62a964SEmmanuel Vadot 46*5f62a964SEmmanuel Vadotexamples: 47*5f62a964SEmmanuel Vadot - | 48*5f62a964SEmmanuel Vadot #include <dt-bindings/clock/qcom,rpmh.h> 49*5f62a964SEmmanuel Vadot #include <dt-bindings/power/qcom,rpmhpd.h> 50*5f62a964SEmmanuel Vadot 51*5f62a964SEmmanuel Vadot gcc: clock-controller@100000 { 52*5f62a964SEmmanuel Vadot compatible = "qcom,sar2130p-gcc"; 53*5f62a964SEmmanuel Vadot reg = <0x100000 0x1f4200>; 54*5f62a964SEmmanuel Vadot clocks = <&rpmhcc RPMH_CXO_CLK>, 55*5f62a964SEmmanuel Vadot <&sleep_clk>, 56*5f62a964SEmmanuel Vadot <&pcie_0_pipe_clk>, 57*5f62a964SEmmanuel Vadot <&pcie_1_pipe_clk>, 58*5f62a964SEmmanuel Vadot <&usb_0_ssphy>; 59*5f62a964SEmmanuel Vadot power-domains = <&rpmhpd RPMHPD_CX>; 60*5f62a964SEmmanuel Vadot 61*5f62a964SEmmanuel Vadot #clock-cells = <1>; 62*5f62a964SEmmanuel Vadot #reset-cells = <1>; 63*5f62a964SEmmanuel Vadot #power-domain-cells = <1>; 64*5f62a964SEmmanuel Vadot }; 65*5f62a964SEmmanuel Vadot... 66