xref: /freebsd-src/sys/contrib/device-tree/Bindings/clock/qcom,sm4450-gcc.yaml (revision 0e8011faf58b743cc652e3b2ad0f7671227610df)
184943d6fSEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
284943d6fSEmmanuel Vadot%YAML 1.2
384943d6fSEmmanuel Vadot---
484943d6fSEmmanuel Vadot$id: http://devicetree.org/schemas/clock/qcom,sm4450-gcc.yaml#
584943d6fSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
684943d6fSEmmanuel Vadot
784943d6fSEmmanuel Vadottitle: Qualcomm Global Clock & Reset Controller on SM4450
884943d6fSEmmanuel Vadot
984943d6fSEmmanuel Vadotmaintainers:
1084943d6fSEmmanuel Vadot  - Ajit Pandey <quic_ajipan@quicinc.com>
1184943d6fSEmmanuel Vadot  - Taniya Das <quic_tdas@quicinc.com>
1284943d6fSEmmanuel Vadot
1384943d6fSEmmanuel Vadotdescription: |
1484943d6fSEmmanuel Vadot  Qualcomm global clock control module provides the clocks, resets and power
1584943d6fSEmmanuel Vadot  domains on SM4450
1684943d6fSEmmanuel Vadot
1784943d6fSEmmanuel Vadot  See also:: include/dt-bindings/clock/qcom,sm4450-gcc.h
1884943d6fSEmmanuel Vadot
1984943d6fSEmmanuel Vadotproperties:
2084943d6fSEmmanuel Vadot  compatible:
2184943d6fSEmmanuel Vadot    const: qcom,sm4450-gcc
2284943d6fSEmmanuel Vadot
2384943d6fSEmmanuel Vadot  clocks:
2484943d6fSEmmanuel Vadot    items:
2584943d6fSEmmanuel Vadot      - description: Board XO source
2684943d6fSEmmanuel Vadot      - description: Sleep clock source
2784943d6fSEmmanuel Vadot      - description: UFS Phy Rx symbol 0 clock source
2884943d6fSEmmanuel Vadot      - description: UFS Phy Rx symbol 1 clock source
2984943d6fSEmmanuel Vadot      - description: UFS Phy Tx symbol 0 clock source
3084943d6fSEmmanuel Vadot      - description: USB3 Phy wrapper pipe clock source
3184943d6fSEmmanuel Vadot
3284943d6fSEmmanuel Vadotrequired:
3384943d6fSEmmanuel Vadot  - compatible
3484943d6fSEmmanuel Vadot  - clocks
35*0e8011faSEmmanuel Vadot  - '#power-domain-cells'
3684943d6fSEmmanuel Vadot
3784943d6fSEmmanuel VadotallOf:
3884943d6fSEmmanuel Vadot  - $ref: qcom,gcc.yaml#
3984943d6fSEmmanuel Vadot
4084943d6fSEmmanuel VadotunevaluatedProperties: false
4184943d6fSEmmanuel Vadot
4284943d6fSEmmanuel Vadotexamples:
4384943d6fSEmmanuel Vadot  - |
4484943d6fSEmmanuel Vadot    #include <dt-bindings/clock/qcom,rpmh.h>
4584943d6fSEmmanuel Vadot    clock-controller@100000 {
4684943d6fSEmmanuel Vadot      compatible = "qcom,sm4450-gcc";
4784943d6fSEmmanuel Vadot      reg = <0x00100000 0x001f4200>;
4884943d6fSEmmanuel Vadot      clocks = <&rpmhcc RPMH_CXO_CLK>, <&sleep_clk>,
4984943d6fSEmmanuel Vadot               <&ufs_mem_phy 0>, <&ufs_mem_phy 1>,
5084943d6fSEmmanuel Vadot               <&ufs_mem_phy 2>, <&usb_1_qmpphy>;
5184943d6fSEmmanuel Vadot      #clock-cells = <1>;
5284943d6fSEmmanuel Vadot      #reset-cells = <1>;
5384943d6fSEmmanuel Vadot      #power-domain-cells = <1>;
5484943d6fSEmmanuel Vadot    };
5584943d6fSEmmanuel Vadot
5684943d6fSEmmanuel Vadot...
57