Qualcomm Global Clock & Reset Controller on IPQ5332 and IPQ5424
Schema identifier ($id): "http://devicetree.org/schemas/clock/qcom,ipq5332-gcc.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Bjorn Andersson <andersson@kernel.org>"
Qualcomm global clock control module provides the clocks, resets and power domains on IPQ5332 and IPQ5424.
See also:
include/dt-bindings/clock/qcom,gcc-ipq5332.h
include/dt-bindings/clock/qcom,gcc-ipq5424.h
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "qcom,ipq5332-gcc", "qcom,ipq5424-gcc"
clocks — required here #
Minimum number of items (minItems): 5
Array item rules (items) #
Item 1
Board XO clock source
Item 2
Sleep clock source
Item 3
PCIE 2lane PHY pipe clock source
Item 4
PCIE 2lane x1 PHY pipe clock source (For second lane)
Item 5
USB PCIE wrapper pipe clock source
Item 6
PCIE 2-lane PHY2 pipe clock source
Item 7
PCIE 2-lane PHY3 pipe clock source
#power-domain-cells — not listed as required here #
false — Not permitted by this property rule.
#interconnect-cells — not listed as required here #
Exact value (const): 1
Required in this object (required): "compatible", "clocks"
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):qcom,gcc.yaml#
Rule 2 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)Exact value (
const):"qcom,ipq5332-gcc"When the condition matches (
then) #Properties and child nodes (
properties)
clocks— not listed as required hereMaximum number of items (
maxItems):5
Rule 3 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)Exact value (
const):"qcom,ipq5424-gcc"When the condition matches (
then) #Properties and child nodes (
properties)
clocks— not listed as required hereMinimum number of items (
minItems):7Maximum number of items (
maxItems):7
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
clock-controller@1800000 {
compatible = "qcom,ipq5332-gcc";
reg = <0x01800000 0x80000>;
clocks = <&xo_board>,
<&sleep_clk>,
<&pcie_2lane_phy_pipe_clk>,
<&pcie_2lane_phy_pipe_clk_x1>,
<&usb_pcie_wrapper_pipe_clk>;
#clock-cells = <1>;
#reset-cells = <1>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)