162306a36Sopenharmony_ci# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
262306a36Sopenharmony_ci%YAML 1.2
362306a36Sopenharmony_ci---
462306a36Sopenharmony_ci$id: http://devicetree.org/schemas/clock/qcom,gcc-sc8280xp.yaml#
562306a36Sopenharmony_ci$schema: http://devicetree.org/meta-schemas/core.yaml#
662306a36Sopenharmony_ci
762306a36Sopenharmony_cititle: Qualcomm Global Clock & Reset Controller on SC8280xp
862306a36Sopenharmony_ci
962306a36Sopenharmony_cimaintainers:
1062306a36Sopenharmony_ci  - Bjorn Andersson <bjorn.andersson@linaro.org>
1162306a36Sopenharmony_ci
1262306a36Sopenharmony_cidescription: |
1362306a36Sopenharmony_ci  Qualcomm global clock control module provides the clocks, resets and
1462306a36Sopenharmony_ci  power domains on SC8280xp.
1562306a36Sopenharmony_ci
1662306a36Sopenharmony_ci  See also:: include/dt-bindings/clock/qcom,gcc-sc8280xp.h
1762306a36Sopenharmony_ci
1862306a36Sopenharmony_ciproperties:
1962306a36Sopenharmony_ci  compatible:
2062306a36Sopenharmony_ci    const: qcom,gcc-sc8280xp
2162306a36Sopenharmony_ci
2262306a36Sopenharmony_ci  clocks:
2362306a36Sopenharmony_ci    items:
2462306a36Sopenharmony_ci      - description: XO reference clock
2562306a36Sopenharmony_ci      - description: Sleep clock
2662306a36Sopenharmony_ci      - description: UFS memory first RX symbol clock
2762306a36Sopenharmony_ci      - description: UFS memory second RX symbol clock
2862306a36Sopenharmony_ci      - description: UFS memory first TX symbol clock
2962306a36Sopenharmony_ci      - description: UFS card first RX symbol clock
3062306a36Sopenharmony_ci      - description: UFS card second RX symbol clock
3162306a36Sopenharmony_ci      - description: UFS card first TX symbol clock
3262306a36Sopenharmony_ci      - description: Primary USB SuperSpeed pipe clock
3362306a36Sopenharmony_ci      - description: USB4 PHY pipegmux clock source
3462306a36Sopenharmony_ci      - description: USB4 PHY DP gmux clock source
3562306a36Sopenharmony_ci      - description: USB4 PHY sys pipegmux clock source
3662306a36Sopenharmony_ci      - description: USB4 PHY PCIe pipe clock
3762306a36Sopenharmony_ci      - description: USB4 PHY router max pipe clock
3862306a36Sopenharmony_ci      - description: Primary USB4 RX0 clock
3962306a36Sopenharmony_ci      - description: Primary USB4 RX1 clock
4062306a36Sopenharmony_ci      - description: Secondary USB SuperSpeed pipe clock
4162306a36Sopenharmony_ci      - description: Second USB4 PHY pipegmux clock source
4262306a36Sopenharmony_ci      - description: Second USB4 PHY DP gmux clock source
4362306a36Sopenharmony_ci      - description: Second USB4 PHY sys pipegmux clock source
4462306a36Sopenharmony_ci      - description: Second USB4 PHY PCIe pipe clock
4562306a36Sopenharmony_ci      - description: Second USB4 PHY router max pipe clock
4662306a36Sopenharmony_ci      - description: Secondary USB4 RX0 clock
4762306a36Sopenharmony_ci      - description: Secondary USB4 RX1 clock
4862306a36Sopenharmony_ci      - description: Multiport USB first SuperSpeed pipe clock
4962306a36Sopenharmony_ci      - description: Multiport USB second SuperSpeed pipe clock
5062306a36Sopenharmony_ci      - description: PCIe 2a pipe clock
5162306a36Sopenharmony_ci      - description: PCIe 2b pipe clock
5262306a36Sopenharmony_ci      - description: PCIe 3a pipe clock
5362306a36Sopenharmony_ci      - description: PCIe 3b pipe clock
5462306a36Sopenharmony_ci      - description: PCIe 4 pipe clock
5562306a36Sopenharmony_ci      - description: First EMAC controller reference clock
5662306a36Sopenharmony_ci      - description: Second EMAC controller reference clock
5762306a36Sopenharmony_ci
5862306a36Sopenharmony_ci  power-domains:
5962306a36Sopenharmony_ci    items:
6062306a36Sopenharmony_ci      - description: CX domain
6162306a36Sopenharmony_ci
6262306a36Sopenharmony_ci  protected-clocks:
6362306a36Sopenharmony_ci    maxItems: 389
6462306a36Sopenharmony_ci
6562306a36Sopenharmony_cirequired:
6662306a36Sopenharmony_ci  - compatible
6762306a36Sopenharmony_ci  - clocks
6862306a36Sopenharmony_ci
6962306a36Sopenharmony_ciallOf:
7062306a36Sopenharmony_ci  - $ref: qcom,gcc.yaml#
7162306a36Sopenharmony_ci
7262306a36Sopenharmony_ciunevaluatedProperties: false
7362306a36Sopenharmony_ci
7462306a36Sopenharmony_ciexamples:
7562306a36Sopenharmony_ci  - |
7662306a36Sopenharmony_ci    #include <dt-bindings/clock/qcom,rpmh.h>
7762306a36Sopenharmony_ci    #include <dt-bindings/power/qcom-rpmpd.h>
7862306a36Sopenharmony_ci
7962306a36Sopenharmony_ci    clock-controller@100000 {
8062306a36Sopenharmony_ci      compatible = "qcom,gcc-sc8280xp";
8162306a36Sopenharmony_ci      reg = <0x00100000 0x1f0000>;
8262306a36Sopenharmony_ci      clocks = <&rpmhcc RPMH_CXO_CLK>,
8362306a36Sopenharmony_ci               <&sleep_clk>,
8462306a36Sopenharmony_ci               <&ufs_phy_rx_symbol_0_clk>,
8562306a36Sopenharmony_ci               <&ufs_phy_rx_symbol_1_clk>,
8662306a36Sopenharmony_ci               <&ufs_phy_tx_symbol_0_clk>,
8762306a36Sopenharmony_ci               <&ufs_card_rx_symbol_0_clk>,
8862306a36Sopenharmony_ci               <&ufs_card_rx_symbol_1_clk>,
8962306a36Sopenharmony_ci               <&ufs_card_tx_symbol_0_clk>,
9062306a36Sopenharmony_ci               <&usb_0_ssphy>,
9162306a36Sopenharmony_ci               <&gcc_usb4_phy_pipegmux_clk_src>,
9262306a36Sopenharmony_ci               <&gcc_usb4_phy_dp_gmux_clk_src>,
9362306a36Sopenharmony_ci               <&gcc_usb4_phy_sys_pipegmux_clk_src>,
9462306a36Sopenharmony_ci               <&usb4_phy_gcc_usb4_pcie_pipe_clk>,
9562306a36Sopenharmony_ci               <&usb4_phy_gcc_usb4rtr_max_pipe_clk>,
9662306a36Sopenharmony_ci               <&qusb4phy_gcc_usb4_rx0_clk>,
9762306a36Sopenharmony_ci               <&qusb4phy_gcc_usb4_rx1_clk>,
9862306a36Sopenharmony_ci               <&usb_1_ssphy>,
9962306a36Sopenharmony_ci               <&gcc_usb4_1_phy_pipegmux_clk_src>,
10062306a36Sopenharmony_ci               <&gcc_usb4_1_phy_dp_gmux_clk_src>,
10162306a36Sopenharmony_ci               <&gcc_usb4_1_phy_sys_pipegmux_clk_src>,
10262306a36Sopenharmony_ci               <&usb4_1_phy_gcc_usb4_pcie_pipe_clk>,
10362306a36Sopenharmony_ci               <&usb4_1_phy_gcc_usb4rtr_max_pipe_clk>,
10462306a36Sopenharmony_ci               <&qusb4phy_1_gcc_usb4_rx0_clk>,
10562306a36Sopenharmony_ci               <&qusb4phy_1_gcc_usb4_rx1_clk>,
10662306a36Sopenharmony_ci               <&usb_2_ssphy>,
10762306a36Sopenharmony_ci               <&usb_3_ssphy>,
10862306a36Sopenharmony_ci               <&pcie2a_lane>,
10962306a36Sopenharmony_ci               <&pcie2b_lane>,
11062306a36Sopenharmony_ci               <&pcie3a_lane>,
11162306a36Sopenharmony_ci               <&pcie3b_lane>,
11262306a36Sopenharmony_ci               <&pcie4_lane>,
11362306a36Sopenharmony_ci               <&rxc0_ref_clk>,
11462306a36Sopenharmony_ci               <&rxc1_ref_clk>;
11562306a36Sopenharmony_ci      power-domains = <&rpmhpd SC8280XP_CX>;
11662306a36Sopenharmony_ci
11762306a36Sopenharmony_ci      #clock-cells = <1>;
11862306a36Sopenharmony_ci      #reset-cells = <1>;
11962306a36Sopenharmony_ci      #power-domain-cells = <1>;
12062306a36Sopenharmony_ci    };
12162306a36Sopenharmony_ci...
122