1*72a0ca20SVinod Koul# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2*72a0ca20SVinod Koul%YAML 1.2 3*72a0ca20SVinod Koul--- 4*72a0ca20SVinod Koul$id: http://devicetree.org/schemas/clock/qcom,gcc-sm8450.yaml# 5*72a0ca20SVinod Koul$schema: http://devicetree.org/meta-schemas/core.yaml# 6*72a0ca20SVinod Koul 7*72a0ca20SVinod Koultitle: Qualcomm Global Clock & Reset Controller Binding for SM8450 8*72a0ca20SVinod Koul 9*72a0ca20SVinod Koulmaintainers: 10*72a0ca20SVinod Koul - Vinod Koul <vkoul@kernel.org> 11*72a0ca20SVinod Koul 12*72a0ca20SVinod Kouldescription: | 13*72a0ca20SVinod Koul Qualcomm global clock control module which supports the clocks, resets and 14*72a0ca20SVinod Koul power domains on SM8450 15*72a0ca20SVinod Koul 16*72a0ca20SVinod Koul See also: 17*72a0ca20SVinod Koul - dt-bindings/clock/qcom,gcc-sm8450.h 18*72a0ca20SVinod Koul 19*72a0ca20SVinod Koulproperties: 20*72a0ca20SVinod Koul compatible: 21*72a0ca20SVinod Koul const: qcom,gcc-sm8450 22*72a0ca20SVinod Koul 23*72a0ca20SVinod Koul clocks: 24*72a0ca20SVinod Koul items: 25*72a0ca20SVinod Koul - description: Board XO source 26*72a0ca20SVinod Koul - description: Sleep clock source 27*72a0ca20SVinod Koul - description: PCIE 0 Pipe clock source (Optional clock) 28*72a0ca20SVinod Koul - description: PCIE 1 Pipe clock source (Optional clock) 29*72a0ca20SVinod Koul - description: PCIE 1 Phy Auxillary clock source (Optional clock) 30*72a0ca20SVinod Koul - description: UFS Phy Rx symbol 0 clock source (Optional clock) 31*72a0ca20SVinod Koul - description: UFS Phy Rx symbol 1 clock source (Optional clock) 32*72a0ca20SVinod Koul - description: UFS Phy Tx symbol 0 clock source (Optional clock) 33*72a0ca20SVinod Koul - description: USB3 Phy wrapper pipe clock source (Optional clock) 34*72a0ca20SVinod Koul minItems: 2 35*72a0ca20SVinod Koul 36*72a0ca20SVinod Koul clock-names: 37*72a0ca20SVinod Koul items: 38*72a0ca20SVinod Koul - const: bi_tcxo 39*72a0ca20SVinod Koul - const: sleep_clk 40*72a0ca20SVinod Koul - const: pcie_0_pipe_clk # Optional clock 41*72a0ca20SVinod Koul - const: pcie_1_pipe_clk # Optional clock 42*72a0ca20SVinod Koul - const: pcie_1_phy_aux_clk # Optional clock 43*72a0ca20SVinod Koul - const: ufs_phy_rx_symbol_0_clk # Optional clock 44*72a0ca20SVinod Koul - const: ufs_phy_rx_symbol_1_clk # Optional clock 45*72a0ca20SVinod Koul - const: ufs_phy_tx_symbol_0_clk # Optional clock 46*72a0ca20SVinod Koul - const: usb3_phy_wrapper_gcc_usb30_pipe_clk # Optional clock 47*72a0ca20SVinod Koul minItems: 2 48*72a0ca20SVinod Koul 49*72a0ca20SVinod Koul '#clock-cells': 50*72a0ca20SVinod Koul const: 1 51*72a0ca20SVinod Koul 52*72a0ca20SVinod Koul '#reset-cells': 53*72a0ca20SVinod Koul const: 1 54*72a0ca20SVinod Koul 55*72a0ca20SVinod Koul '#power-domain-cells': 56*72a0ca20SVinod Koul const: 1 57*72a0ca20SVinod Koul 58*72a0ca20SVinod Koul reg: 59*72a0ca20SVinod Koul maxItems: 1 60*72a0ca20SVinod Koul 61*72a0ca20SVinod Koulrequired: 62*72a0ca20SVinod Koul - compatible 63*72a0ca20SVinod Koul - reg 64*72a0ca20SVinod Koul - clocks 65*72a0ca20SVinod Koul - clock-names 66*72a0ca20SVinod Koul - '#clock-cells' 67*72a0ca20SVinod Koul - '#reset-cells' 68*72a0ca20SVinod Koul - '#power-domain-cells' 69*72a0ca20SVinod Koul 70*72a0ca20SVinod KouladditionalProperties: false 71*72a0ca20SVinod Koul 72*72a0ca20SVinod Koulexamples: 73*72a0ca20SVinod Koul - | 74*72a0ca20SVinod Koul #include <dt-bindings/clock/qcom,rpmh.h> 75*72a0ca20SVinod Koul clock-controller@100000 { 76*72a0ca20SVinod Koul compatible = "qcom,gcc-sm8450"; 77*72a0ca20SVinod Koul reg = <0x00100000 0x001f4200>; 78*72a0ca20SVinod Koul clocks = <&rpmhcc RPMH_CXO_CLK>, <&sleep_clk>; 79*72a0ca20SVinod Koul clock-names = "bi_tcxo", "sleep_clk"; 80*72a0ca20SVinod Koul #clock-cells = <1>; 81*72a0ca20SVinod Koul #reset-cells = <1>; 82*72a0ca20SVinod Koul #power-domain-cells = <1>; 83*72a0ca20SVinod Koul }; 84*72a0ca20SVinod Koul 85*72a0ca20SVinod Koul... 86