xref: /freebsd/sys/contrib/device-tree/Bindings/clock/qcom,x1e80100-gcc.yaml (revision 0e8011faf58b743cc652e3b2ad0f7671227610df)
18d13bc63SEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
28d13bc63SEmmanuel Vadot%YAML 1.2
38d13bc63SEmmanuel Vadot---
48d13bc63SEmmanuel Vadot$id: http://devicetree.org/schemas/clock/qcom,x1e80100-gcc.yaml#
58d13bc63SEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
68d13bc63SEmmanuel Vadot
78d13bc63SEmmanuel Vadottitle: Qualcomm Global Clock & Reset Controller on X1E80100
88d13bc63SEmmanuel Vadot
98d13bc63SEmmanuel Vadotmaintainers:
108d13bc63SEmmanuel Vadot  - Rajendra Nayak <quic_rjendra@quicinc.com>
118d13bc63SEmmanuel Vadot
128d13bc63SEmmanuel Vadotdescription: |
138d13bc63SEmmanuel Vadot  Qualcomm global clock control module provides the clocks, resets and power
148d13bc63SEmmanuel Vadot  domains on X1E80100
158d13bc63SEmmanuel Vadot
168d13bc63SEmmanuel Vadot  See also:: include/dt-bindings/clock/qcom,x1e80100-gcc.h
178d13bc63SEmmanuel Vadot
188d13bc63SEmmanuel Vadotproperties:
198d13bc63SEmmanuel Vadot  compatible:
208d13bc63SEmmanuel Vadot    const: qcom,x1e80100-gcc
218d13bc63SEmmanuel Vadot
228d13bc63SEmmanuel Vadot  clocks:
238d13bc63SEmmanuel Vadot    items:
248d13bc63SEmmanuel Vadot      - description: Board XO source
258d13bc63SEmmanuel Vadot      - description: Sleep clock source
268d13bc63SEmmanuel Vadot      - description: PCIe 3 pipe clock
278d13bc63SEmmanuel Vadot      - description: PCIe 4 pipe clock
288d13bc63SEmmanuel Vadot      - description: PCIe 5 pipe clock
298d13bc63SEmmanuel Vadot      - description: PCIe 6a pipe clock
308d13bc63SEmmanuel Vadot      - description: PCIe 6b pipe clock
318d13bc63SEmmanuel Vadot      - description: USB QMP Phy 0 clock source
328d13bc63SEmmanuel Vadot      - description: USB QMP Phy 1 clock source
338d13bc63SEmmanuel Vadot      - description: USB QMP Phy 2 clock source
348d13bc63SEmmanuel Vadot
358d13bc63SEmmanuel Vadot  power-domains:
368d13bc63SEmmanuel Vadot    description:
378d13bc63SEmmanuel Vadot      A phandle and PM domain specifier for the CX power domain.
388d13bc63SEmmanuel Vadot    maxItems: 1
398d13bc63SEmmanuel Vadot
408d13bc63SEmmanuel Vadotrequired:
418d13bc63SEmmanuel Vadot  - compatible
428d13bc63SEmmanuel Vadot  - clocks
438d13bc63SEmmanuel Vadot  - power-domains
44*0e8011faSEmmanuel Vadot  - '#power-domain-cells'
458d13bc63SEmmanuel Vadot
468d13bc63SEmmanuel VadotallOf:
478d13bc63SEmmanuel Vadot  - $ref: qcom,gcc.yaml#
488d13bc63SEmmanuel Vadot
498d13bc63SEmmanuel VadotunevaluatedProperties: false
508d13bc63SEmmanuel Vadot
518d13bc63SEmmanuel Vadotexamples:
528d13bc63SEmmanuel Vadot  - |
538d13bc63SEmmanuel Vadot    #include <dt-bindings/power/qcom,rpmhpd.h>
548d13bc63SEmmanuel Vadot    clock-controller@100000 {
558d13bc63SEmmanuel Vadot      compatible = "qcom,x1e80100-gcc";
568d13bc63SEmmanuel Vadot      reg = <0x00100000 0x200000>;
578d13bc63SEmmanuel Vadot      clocks = <&bi_tcxo_div2>,
588d13bc63SEmmanuel Vadot               <&sleep_clk>,
598d13bc63SEmmanuel Vadot               <&pcie3_phy>,
608d13bc63SEmmanuel Vadot               <&pcie4_phy>,
618d13bc63SEmmanuel Vadot               <&pcie5_phy>,
628d13bc63SEmmanuel Vadot               <&pcie6a_phy>,
638d13bc63SEmmanuel Vadot               <&pcie6b_phy>,
648d13bc63SEmmanuel Vadot               <&usb_1_ss0_qmpphy 0>,
658d13bc63SEmmanuel Vadot               <&usb_1_ss1_qmpphy 1>,
668d13bc63SEmmanuel Vadot               <&usb_1_ss2_qmpphy 2>;
678d13bc63SEmmanuel Vadot      power-domains = <&rpmhpd RPMHPD_CX>;
688d13bc63SEmmanuel Vadot      #clock-cells = <1>;
698d13bc63SEmmanuel Vadot      #reset-cells = <1>;
708d13bc63SEmmanuel Vadot      #power-domain-cells = <1>;
718d13bc63SEmmanuel Vadot    };
728d13bc63SEmmanuel Vadot
738d13bc63SEmmanuel Vadot...
74