brintos

brintos / linux-shallow public Read only

0
0
Text · 1.5 KiB · b4784ec Raw
67 lines · yaml
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)2%YAML 1.23---4$id: http://devicetree.org/schemas/clock/qcom,gcc-sc8180x.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: Qualcomm Global Clock & Reset Controller on SC8180x8 9maintainers:10  - Bjorn Andersson <bjorn.andersson@linaro.org>11 12description: |13  Qualcomm global clock control module provides the clocks, resets and power14  domains on SC8180x.15 16  See also:: include/dt-bindings/clock/qcom,gcc-sc8180x.h17 18properties:19  compatible:20    const: qcom,gcc-sc8180x21 22  clocks:23    items:24      - description: Board XO source25      - description: Board active XO source26      - description: Sleep clock source27 28  clock-names:29    items:30      - const: bi_tcxo31      - const: bi_tcxo_ao32      - const: sleep_clk33 34  power-domains:35    items:36      - description: CX domain37 38required:39  - compatible40  - clocks41  - clock-names42  - power-domains43  - '#power-domain-cells'44 45allOf:46  - $ref: qcom,gcc.yaml#47 48unevaluatedProperties: false49 50examples:51  - |52    #include <dt-bindings/clock/qcom,rpmh.h>53    #include <dt-bindings/power/qcom-rpmpd.h>54    clock-controller@100000 {55      compatible = "qcom,gcc-sc8180x";56      reg = <0x00100000 0x1f0000>;57      clocks = <&rpmhcc RPMH_CXO_CLK>,58               <&rpmhcc RPMH_CXO_CLK_A>,59               <&sleep_clk>;60      clock-names = "bi_tcxo", "bi_tcxo_ao", "sleep_clk";61      power-domains = <&rpmhpd SC8180X_CX>;62      #clock-cells = <1>;63      #reset-cells = <1>;64      #power-domain-cells = <1>;65    };66...67