Qualcomm Global Clock & Reset Controller on APQ8084

Schema identifier ($id): "http://devicetree.org/schemas/clock/qcom,gcc-apq8084.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Stephen Boyd <sboyd@kernel.org>", "Taniya Das <quic_tdas@quicinc.com>"

Qualcomm global clock control module provides the clocks, resets and power domains on APQ8084.

See also::
  include/dt-bindings/clock/qcom,gcc-apq8084.h
  include/dt-bindings/reset/qcom,gcc-apq8084.h

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): qcom,gcc.yaml#

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "qcom,gcc-apq8084"

clocks — not listed as required here #

Array item rules (items) #

Item 1

XO source

Item 2

Sleep clock source

Item 3

UFS RX symbol 0 clock

Item 4

UFS RX symbol 1 clock

Item 5

UFS TX symbol 0 clock

Item 6

UFS TX symbol 1 clock

Item 7

SATA ASIC0 clock

Item 8

SATA RX clock

Item 9

PCIe PIPE clock

clock-names — not listed as required here #

Array item rules (items) #

Item 1

Exact value (const): "xo"

Item 2

Exact value (const): "sleep_clk"

Item 3

Exact value (const): "ufs_rx_symbol_0_clk_src"

Item 4

Exact value (const): "ufs_rx_symbol_1_clk_src"

Item 5

Exact value (const): "ufs_tx_symbol_0_clk_src"

Item 6

Exact value (const): "ufs_tx_symbol_1_clk_src"

Item 7

Exact value (const): "sata_asic0_clk"

Item 8

Exact value (const): "sata_rx_clk"

Item 9

Exact value (const): "pcie_pipe"

Required in this object (required): "compatible", "#power-domain-cells"

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

/* UFS PHY on APQ8084 is not supported (yet), so these bindings just serve an example */
clock-controller@fc400000 {
    compatible = "qcom,gcc-apq8084";
    reg = <0xfc400000 0x4000>;
    #clock-cells = <1>;
    #reset-cells = <1>;
    #power-domain-cells = <1>;

    clocks = <&xo_board>,
             <&sleep_clk>,
             <&ufsphy 0>,
             <&ufsphy 1>,
             <&ufsphy 2>,
             <&ufsphy 3>,
             <&sata 0>,
             <&sata 1>,
             <&pcie_phy>;
    clock-names = "xo",
                  "sleep_clk",
                  "ufs_rx_symbol_0_clk_src",
                  "ufs_rx_symbol_1_clk_src",
                  "ufs_tx_symbol_0_clk_src",
                  "ufs_tx_symbol_1_clk_src",
                  "sata_asic0_clk",
                  "sata_rx_clk",
                  "pcie_pipe";
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause

Edit this page