xref: /linux/Documentation/devicetree/bindings/clock/qcom,gcc-sm8450.yaml (revision 0f71ae945730f27c7a96a09eae6808a722806027)
172a0ca20SVinod Koul# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
272a0ca20SVinod Koul%YAML 1.2
372a0ca20SVinod Koul---
472a0ca20SVinod Koul$id: http://devicetree.org/schemas/clock/qcom,gcc-sm8450.yaml#
572a0ca20SVinod Koul$schema: http://devicetree.org/meta-schemas/core.yaml#
672a0ca20SVinod Koul
772a0ca20SVinod Koultitle: Qualcomm Global Clock & Reset Controller Binding for SM8450
872a0ca20SVinod Koul
972a0ca20SVinod Koulmaintainers:
1072a0ca20SVinod Koul  - Vinod Koul <vkoul@kernel.org>
1172a0ca20SVinod Koul
1272a0ca20SVinod Kouldescription: |
1372a0ca20SVinod Koul  Qualcomm global clock control module which supports the clocks, resets and
1472a0ca20SVinod Koul  power domains on SM8450
1572a0ca20SVinod Koul
1672a0ca20SVinod Koul  See also:
1772a0ca20SVinod Koul  - dt-bindings/clock/qcom,gcc-sm8450.h
1872a0ca20SVinod Koul
1972a0ca20SVinod Koulproperties:
2072a0ca20SVinod Koul  compatible:
2172a0ca20SVinod Koul    const: qcom,gcc-sm8450
2272a0ca20SVinod Koul
2372a0ca20SVinod Koul  clocks:
2472a0ca20SVinod Koul    items:
2572a0ca20SVinod Koul      - description: Board XO source
2672a0ca20SVinod Koul      - description: Sleep clock source
2772a0ca20SVinod Koul      - description: PCIE 0 Pipe clock source (Optional clock)
2872a0ca20SVinod Koul      - description: PCIE 1 Pipe clock source (Optional clock)
2972a0ca20SVinod Koul      - description: PCIE 1 Phy Auxillary clock source (Optional clock)
3072a0ca20SVinod Koul      - description: UFS Phy Rx symbol 0 clock source (Optional clock)
3172a0ca20SVinod Koul      - description: UFS Phy Rx symbol 1 clock source (Optional clock)
3272a0ca20SVinod Koul      - description: UFS Phy Tx symbol 0 clock source (Optional clock)
3372a0ca20SVinod Koul      - description: USB3 Phy wrapper pipe clock source (Optional clock)
3472a0ca20SVinod Koul    minItems: 2
3572a0ca20SVinod Koul
3672a0ca20SVinod Koul  clock-names:
3772a0ca20SVinod Koul    items:
3872a0ca20SVinod Koul      - const: bi_tcxo
3972a0ca20SVinod Koul      - const: sleep_clk
4072a0ca20SVinod Koul      - const: pcie_0_pipe_clk # Optional clock
4172a0ca20SVinod Koul      - const: pcie_1_pipe_clk # Optional clock
4272a0ca20SVinod Koul      - const: pcie_1_phy_aux_clk # Optional clock
4372a0ca20SVinod Koul      - const: ufs_phy_rx_symbol_0_clk # Optional clock
4472a0ca20SVinod Koul      - const: ufs_phy_rx_symbol_1_clk # Optional clock
4572a0ca20SVinod Koul      - const: ufs_phy_tx_symbol_0_clk # Optional clock
4672a0ca20SVinod Koul      - const: usb3_phy_wrapper_gcc_usb30_pipe_clk # Optional clock
4772a0ca20SVinod Koul    minItems: 2
4872a0ca20SVinod Koul
4972a0ca20SVinod Koulrequired:
5072a0ca20SVinod Koul  - compatible
5172a0ca20SVinod Koul  - clocks
5272a0ca20SVinod Koul  - clock-names
5372a0ca20SVinod Koul
54*0f71ae94SDmitry BaryshkovallOf:
55*0f71ae94SDmitry Baryshkov  - $ref: qcom,gcc.yaml#
56*0f71ae94SDmitry Baryshkov
57*0f71ae94SDmitry BaryshkovunevaluatedProperties: false
5872a0ca20SVinod Koul
5972a0ca20SVinod Koulexamples:
6072a0ca20SVinod Koul  - |
6172a0ca20SVinod Koul    #include <dt-bindings/clock/qcom,rpmh.h>
6272a0ca20SVinod Koul    clock-controller@100000 {
6372a0ca20SVinod Koul      compatible = "qcom,gcc-sm8450";
6472a0ca20SVinod Koul      reg = <0x00100000 0x001f4200>;
6572a0ca20SVinod Koul      clocks = <&rpmhcc RPMH_CXO_CLK>, <&sleep_clk>;
6672a0ca20SVinod Koul      clock-names = "bi_tcxo", "sleep_clk";
6772a0ca20SVinod Koul      #clock-cells = <1>;
6872a0ca20SVinod Koul      #reset-cells = <1>;
6972a0ca20SVinod Koul      #power-domain-cells = <1>;
7072a0ca20SVinod Koul    };
7172a0ca20SVinod Koul
7272a0ca20SVinod Koul...
73