xref: /freebsd/sys/contrib/device-tree/Bindings/clock/qcom,gcc-sc8280xp.yaml (revision cb7aa33ac6cd46a5434798e50363136e64f3ae98)
1d5b0e70fSEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2d5b0e70fSEmmanuel Vadot%YAML 1.2
3d5b0e70fSEmmanuel Vadot---
4d5b0e70fSEmmanuel Vadot$id: http://devicetree.org/schemas/clock/qcom,gcc-sc8280xp.yaml#
5d5b0e70fSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
6d5b0e70fSEmmanuel Vadot
78bab661aSEmmanuel Vadottitle: Qualcomm Global Clock & Reset Controller on SC8280xp
8d5b0e70fSEmmanuel Vadot
9d5b0e70fSEmmanuel Vadotmaintainers:
10d5b0e70fSEmmanuel Vadot  - Bjorn Andersson <bjorn.andersson@linaro.org>
11d5b0e70fSEmmanuel Vadot
12d5b0e70fSEmmanuel Vadotdescription: |
138bab661aSEmmanuel Vadot  Qualcomm global clock control module provides the clocks, resets and
14d5b0e70fSEmmanuel Vadot  power domains on SC8280xp.
15d5b0e70fSEmmanuel Vadot
168bab661aSEmmanuel Vadot  See also:: include/dt-bindings/clock/qcom,gcc-sc8280xp.h
17d5b0e70fSEmmanuel Vadot
18d5b0e70fSEmmanuel Vadotproperties:
19d5b0e70fSEmmanuel Vadot  compatible:
20d5b0e70fSEmmanuel Vadot    const: qcom,gcc-sc8280xp
21d5b0e70fSEmmanuel Vadot
22d5b0e70fSEmmanuel Vadot  clocks:
23d5b0e70fSEmmanuel Vadot    items:
24d5b0e70fSEmmanuel Vadot      - description: XO reference clock
25d5b0e70fSEmmanuel Vadot      - description: Sleep clock
26d5b0e70fSEmmanuel Vadot      - description: UFS memory first RX symbol clock
27d5b0e70fSEmmanuel Vadot      - description: UFS memory second RX symbol clock
28d5b0e70fSEmmanuel Vadot      - description: UFS memory first TX symbol clock
29d5b0e70fSEmmanuel Vadot      - description: UFS card first RX symbol clock
30d5b0e70fSEmmanuel Vadot      - description: UFS card second RX symbol clock
31d5b0e70fSEmmanuel Vadot      - description: UFS card first TX symbol clock
32d5b0e70fSEmmanuel Vadot      - description: Primary USB SuperSpeed pipe clock
33d5b0e70fSEmmanuel Vadot      - description: USB4 PHY pipegmux clock source
34d5b0e70fSEmmanuel Vadot      - description: USB4 PHY DP gmux clock source
357ef62cebSEmmanuel Vadot      - description: USB4 PHY sys pipegmux clock source
36d5b0e70fSEmmanuel Vadot      - description: USB4 PHY PCIe pipe clock
37d5b0e70fSEmmanuel Vadot      - description: USB4 PHY router max pipe clock
38d5b0e70fSEmmanuel Vadot      - description: Primary USB4 RX0 clock
39d5b0e70fSEmmanuel Vadot      - description: Primary USB4 RX1 clock
40d5b0e70fSEmmanuel Vadot      - description: Secondary USB SuperSpeed pipe clock
41d5b0e70fSEmmanuel Vadot      - description: Second USB4 PHY pipegmux clock source
42d5b0e70fSEmmanuel Vadot      - description: Second USB4 PHY DP gmux clock source
43d5b0e70fSEmmanuel Vadot      - description: Second USB4 PHY sys pipegmux clock source
44d5b0e70fSEmmanuel Vadot      - description: Second USB4 PHY PCIe pipe clock
45d5b0e70fSEmmanuel Vadot      - description: Second USB4 PHY router max pipe clock
46d5b0e70fSEmmanuel Vadot      - description: Secondary USB4 RX0 clock
47d5b0e70fSEmmanuel Vadot      - description: Secondary USB4 RX1 clock
487ef62cebSEmmanuel Vadot      - description: Multiport USB first SuperSpeed pipe clock
49d5b0e70fSEmmanuel Vadot      - description: Multiport USB second SuperSpeed pipe clock
50d5b0e70fSEmmanuel Vadot      - description: PCIe 2a pipe clock
51d5b0e70fSEmmanuel Vadot      - description: PCIe 2b pipe clock
52d5b0e70fSEmmanuel Vadot      - description: PCIe 3a pipe clock
53d5b0e70fSEmmanuel Vadot      - description: PCIe 3b pipe clock
54d5b0e70fSEmmanuel Vadot      - description: PCIe 4 pipe clock
55d5b0e70fSEmmanuel Vadot      - description: First EMAC controller reference clock
56d5b0e70fSEmmanuel Vadot      - description: Second EMAC controller reference clock
57d5b0e70fSEmmanuel Vadot
58*cb7aa33aSEmmanuel Vadot  power-domains:
59*cb7aa33aSEmmanuel Vadot    items:
60*cb7aa33aSEmmanuel Vadot      - description: CX domain
61*cb7aa33aSEmmanuel Vadot
62d5b0e70fSEmmanuel Vadot  protected-clocks:
63d5b0e70fSEmmanuel Vadot    maxItems: 389
64d5b0e70fSEmmanuel Vadot
65d5b0e70fSEmmanuel Vadotrequired:
66d5b0e70fSEmmanuel Vadot  - compatible
67d5b0e70fSEmmanuel Vadot  - clocks
68d5b0e70fSEmmanuel Vadot
697ef62cebSEmmanuel VadotallOf:
707ef62cebSEmmanuel Vadot  - $ref: qcom,gcc.yaml#
717ef62cebSEmmanuel Vadot
727ef62cebSEmmanuel VadotunevaluatedProperties: false
73d5b0e70fSEmmanuel Vadot
74d5b0e70fSEmmanuel Vadotexamples:
75d5b0e70fSEmmanuel Vadot  - |
76d5b0e70fSEmmanuel Vadot    #include <dt-bindings/clock/qcom,rpmh.h>
77*cb7aa33aSEmmanuel Vadot    #include <dt-bindings/power/qcom-rpmpd.h>
78*cb7aa33aSEmmanuel Vadot
79d5b0e70fSEmmanuel Vadot    clock-controller@100000 {
80d5b0e70fSEmmanuel Vadot      compatible = "qcom,gcc-sc8280xp";
81d5b0e70fSEmmanuel Vadot      reg = <0x00100000 0x1f0000>;
82d5b0e70fSEmmanuel Vadot      clocks = <&rpmhcc RPMH_CXO_CLK>,
83d5b0e70fSEmmanuel Vadot               <&sleep_clk>,
84d5b0e70fSEmmanuel Vadot               <&ufs_phy_rx_symbol_0_clk>,
85d5b0e70fSEmmanuel Vadot               <&ufs_phy_rx_symbol_1_clk>,
86d5b0e70fSEmmanuel Vadot               <&ufs_phy_tx_symbol_0_clk>,
87d5b0e70fSEmmanuel Vadot               <&ufs_card_rx_symbol_0_clk>,
88d5b0e70fSEmmanuel Vadot               <&ufs_card_rx_symbol_1_clk>,
89d5b0e70fSEmmanuel Vadot               <&ufs_card_tx_symbol_0_clk>,
90d5b0e70fSEmmanuel Vadot               <&usb_0_ssphy>,
91d5b0e70fSEmmanuel Vadot               <&gcc_usb4_phy_pipegmux_clk_src>,
92d5b0e70fSEmmanuel Vadot               <&gcc_usb4_phy_dp_gmux_clk_src>,
93d5b0e70fSEmmanuel Vadot               <&gcc_usb4_phy_sys_pipegmux_clk_src>,
94d5b0e70fSEmmanuel Vadot               <&usb4_phy_gcc_usb4_pcie_pipe_clk>,
95d5b0e70fSEmmanuel Vadot               <&usb4_phy_gcc_usb4rtr_max_pipe_clk>,
96d5b0e70fSEmmanuel Vadot               <&qusb4phy_gcc_usb4_rx0_clk>,
97d5b0e70fSEmmanuel Vadot               <&qusb4phy_gcc_usb4_rx1_clk>,
98d5b0e70fSEmmanuel Vadot               <&usb_1_ssphy>,
99d5b0e70fSEmmanuel Vadot               <&gcc_usb4_1_phy_pipegmux_clk_src>,
100d5b0e70fSEmmanuel Vadot               <&gcc_usb4_1_phy_dp_gmux_clk_src>,
101d5b0e70fSEmmanuel Vadot               <&gcc_usb4_1_phy_sys_pipegmux_clk_src>,
102d5b0e70fSEmmanuel Vadot               <&usb4_1_phy_gcc_usb4_pcie_pipe_clk>,
103d5b0e70fSEmmanuel Vadot               <&usb4_1_phy_gcc_usb4rtr_max_pipe_clk>,
104d5b0e70fSEmmanuel Vadot               <&qusb4phy_1_gcc_usb4_rx0_clk>,
105d5b0e70fSEmmanuel Vadot               <&qusb4phy_1_gcc_usb4_rx1_clk>,
106d5b0e70fSEmmanuel Vadot               <&usb_2_ssphy>,
107d5b0e70fSEmmanuel Vadot               <&usb_3_ssphy>,
108d5b0e70fSEmmanuel Vadot               <&pcie2a_lane>,
109d5b0e70fSEmmanuel Vadot               <&pcie2b_lane>,
110d5b0e70fSEmmanuel Vadot               <&pcie3a_lane>,
111d5b0e70fSEmmanuel Vadot               <&pcie3b_lane>,
112d5b0e70fSEmmanuel Vadot               <&pcie4_lane>,
113d5b0e70fSEmmanuel Vadot               <&rxc0_ref_clk>,
114d5b0e70fSEmmanuel Vadot               <&rxc1_ref_clk>;
115*cb7aa33aSEmmanuel Vadot      power-domains = <&rpmhpd SC8280XP_CX>;
116d5b0e70fSEmmanuel Vadot
117d5b0e70fSEmmanuel Vadot      #clock-cells = <1>;
118d5b0e70fSEmmanuel Vadot      #reset-cells = <1>;
119d5b0e70fSEmmanuel Vadot      #power-domain-cells = <1>;
120d5b0e70fSEmmanuel Vadot    };
121d5b0e70fSEmmanuel Vadot...
122