Qualcomm Global Clock & Reset Controller on SC8280xp

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

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

Maintainers (maintainers): "Bjorn Andersson <bjorn.andersson@linaro.org>"

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

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

Properties and child nodes (properties) #

compatible — required here #

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

clocks — required here #

Array item rules (items) #

Item 1

XO reference clock

Item 2

Sleep clock

Item 3

UFS memory first RX symbol clock

Item 4

UFS memory second RX symbol clock

Item 5

UFS memory first TX symbol clock

Item 6

UFS card first RX symbol clock

Item 7

UFS card second RX symbol clock

Item 8

UFS card first TX symbol clock

Item 9

Primary USB SuperSpeed pipe clock

Item 10

USB4 PHY pipegmux clock source

Item 11

USB4 PHY DP gmux clock source

Item 12

USB4 PHY sys pipegmux clock source

Item 13

USB4 PHY PCIe pipe clock

Item 14

USB4 PHY router max pipe clock

Item 15

Primary USB4 RX0 clock

Item 16

Primary USB4 RX1 clock

Item 17

Secondary USB SuperSpeed pipe clock

Item 18

Second USB4 PHY pipegmux clock source

Item 19

Second USB4 PHY DP gmux clock source

Item 20

Second USB4 PHY sys pipegmux clock source

Item 21

Second USB4 PHY PCIe pipe clock

Item 22

Second USB4 PHY router max pipe clock

Item 23

Secondary USB4 RX0 clock

Item 24

Secondary USB4 RX1 clock

Item 25

Multiport USB first SuperSpeed pipe clock

Item 26

Multiport USB second SuperSpeed pipe clock

Item 27

PCIe 2a pipe clock

Item 28

PCIe 2b pipe clock

Item 29

PCIe 3a pipe clock

Item 30

PCIe 3b pipe clock

Item 31

PCIe 4 pipe clock

Item 32

First EMAC controller reference clock

Item 33

Second EMAC controller reference clock

power-domains — not listed as required here #

Array item rules (items) #

Item 1

CX domain

protected-clocks — not listed as required here #

Maximum number of items (maxItems): 389

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>
#include <dt-bindings/power/qcom-rpmpd.h>

clock-controller@100000 {
  compatible = "qcom,gcc-sc8280xp";
  reg = <0x00100000 0x1f0000>;
  clocks = <&rpmhcc RPMH_CXO_CLK>,
           <&sleep_clk>,
           <&ufs_phy_rx_symbol_0_clk>,
           <&ufs_phy_rx_symbol_1_clk>,
           <&ufs_phy_tx_symbol_0_clk>,
           <&ufs_card_rx_symbol_0_clk>,
           <&ufs_card_rx_symbol_1_clk>,
           <&ufs_card_tx_symbol_0_clk>,
           <&usb_0_ssphy>,
           <&gcc_usb4_phy_pipegmux_clk_src>,
           <&gcc_usb4_phy_dp_gmux_clk_src>,
           <&gcc_usb4_phy_sys_pipegmux_clk_src>,
           <&usb4_phy_gcc_usb4_pcie_pipe_clk>,
           <&usb4_phy_gcc_usb4rtr_max_pipe_clk>,
           <&qusb4phy_gcc_usb4_rx0_clk>,
           <&qusb4phy_gcc_usb4_rx1_clk>,
           <&usb_1_ssphy>,
           <&gcc_usb4_1_phy_pipegmux_clk_src>,
           <&gcc_usb4_1_phy_dp_gmux_clk_src>,
           <&gcc_usb4_1_phy_sys_pipegmux_clk_src>,
           <&usb4_1_phy_gcc_usb4_pcie_pipe_clk>,
           <&usb4_1_phy_gcc_usb4rtr_max_pipe_clk>,
           <&qusb4phy_1_gcc_usb4_rx0_clk>,
           <&qusb4phy_1_gcc_usb4_rx1_clk>,
           <&usb_2_ssphy>,
           <&usb_3_ssphy>,
           <&pcie2a_lane>,
           <&pcie2b_lane>,
           <&pcie3a_lane>,
           <&pcie3b_lane>,
           <&pcie4_lane>,
           <&rxc0_ref_clk>,
           <&rxc1_ref_clk>;
  power-domains = <&rpmhpd SC8280XP_CX>;

  #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