Qualcomm Global Clock & Reset Controller on Milos

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

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

Maintainers (maintainers): "Luca Weiss <luca.weiss@fairphone.com>"

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

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

Properties and child nodes (properties) #

compatible — required here #

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

clocks — required here #

Array item rules (items) #

Item 1

Board XO source

Item 2

Sleep clock source

Item 3

PCIE 0 Pipe clock source

Item 4

PCIE 1 Pipe clock source

Item 5

UFS Phy Rx symbol 0 clock source

Item 6

UFS Phy Rx symbol 1 clock source

Item 7

UFS Phy Tx symbol 0 clock source

Item 8

USB3 Phy wrapper pipe clock source

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

All of these rules must match (allOf) #

Rule 1 #

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

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/qcom,rpmh.h>
clock-controller@100000 {
    compatible = "qcom,milos-gcc";
    reg = <0x00100000 0x1f4200>;
    clocks = <&rpmhcc RPMH_CXO_CLK>,
             <&sleep_clk>,
             <&pcie0_phy>,
             <&pcie1_phy>,
             <&ufs_mem_phy 0>,
             <&ufs_mem_phy 1>,
             <&ufs_mem_phy 2>,
             <&usb_1_qmpphy>;
    #clock-cells = <1>;
    #reset-cells = <1>;
    #power-domain-cells = <1>;
};

Source notes #

Annotations retained from the schema source

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

Edit this page