Tom Rini | 53633a8 | 2024-02-29 12:33:36 -0500 | [diff] [blame] | 1 | # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause |
| 2 | %YAML 1.2 |
| 3 | --- |
| 4 | $id: http://devicetree.org/schemas/clock/qcom,gcc-apq8084.yaml# |
| 5 | $schema: http://devicetree.org/meta-schemas/core.yaml# |
| 6 | |
| 7 | title: Qualcomm Global Clock & Reset Controller on APQ8084 |
| 8 | |
| 9 | maintainers: |
| 10 | - Stephen Boyd <sboyd@kernel.org> |
| 11 | - Taniya Das <quic_tdas@quicinc.com> |
| 12 | |
| 13 | description: | |
| 14 | Qualcomm global clock control module provides the clocks, resets and power |
| 15 | domains on APQ8084. |
| 16 | |
| 17 | See also:: |
| 18 | include/dt-bindings/clock/qcom,gcc-apq8084.h |
| 19 | include/dt-bindings/reset/qcom,gcc-apq8084.h |
| 20 | |
| 21 | allOf: |
| 22 | - $ref: qcom,gcc.yaml# |
| 23 | |
| 24 | properties: |
| 25 | compatible: |
| 26 | const: qcom,gcc-apq8084 |
| 27 | |
| 28 | clocks: |
| 29 | items: |
| 30 | - description: XO source |
| 31 | - description: Sleep clock source |
| 32 | - description: UFS RX symbol 0 clock |
| 33 | - description: UFS RX symbol 1 clock |
| 34 | - description: UFS TX symbol 0 clock |
| 35 | - description: UFS TX symbol 1 clock |
| 36 | - description: SATA ASIC0 clock |
| 37 | - description: SATA RX clock |
| 38 | - description: PCIe PIPE clock |
| 39 | |
| 40 | clock-names: |
| 41 | items: |
| 42 | - const: xo |
| 43 | - const: sleep_clk |
| 44 | - const: ufs_rx_symbol_0_clk_src |
| 45 | - const: ufs_rx_symbol_1_clk_src |
| 46 | - const: ufs_tx_symbol_0_clk_src |
| 47 | - const: ufs_tx_symbol_1_clk_src |
| 48 | - const: sata_asic0_clk |
| 49 | - const: sata_rx_clk |
| 50 | - const: pcie_pipe |
| 51 | |
| 52 | required: |
| 53 | - compatible |
| 54 | |
| 55 | unevaluatedProperties: false |
| 56 | |
| 57 | examples: |
| 58 | - | |
| 59 | /* UFS PHY on APQ8084 is not supported (yet), so these bindings just serve an example */ |
| 60 | clock-controller@fc400000 { |
| 61 | compatible = "qcom,gcc-apq8084"; |
| 62 | reg = <0xfc400000 0x4000>; |
| 63 | #clock-cells = <1>; |
| 64 | #reset-cells = <1>; |
| 65 | #power-domain-cells = <1>; |
| 66 | |
| 67 | clocks = <&xo_board>, |
| 68 | <&sleep_clk>, |
| 69 | <&ufsphy 0>, |
| 70 | <&ufsphy 1>, |
| 71 | <&ufsphy 2>, |
| 72 | <&ufsphy 3>, |
| 73 | <&sata 0>, |
| 74 | <&sata 1>, |
| 75 | <&pcie_phy>; |
| 76 | clock-names = "xo", |
| 77 | "sleep_clk", |
| 78 | "ufs_rx_symbol_0_clk_src", |
| 79 | "ufs_rx_symbol_1_clk_src", |
| 80 | "ufs_tx_symbol_0_clk_src", |
| 81 | "ufs_tx_symbol_1_clk_src", |
| 82 | "sata_asic0_clk", |
| 83 | "sata_rx_clk", |
| 84 | "pcie_pipe"; |
| 85 | }; |
| 86 | ... |