xref: /linux/Documentation/devicetree/bindings/clock/xlnx,versal-clk.yaml (revision 352546805a44871b68affea09a2fbd5a48e452d0)
1*35254680SRajan Vaja# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
2*35254680SRajan Vaja%YAML 1.2
3*35254680SRajan Vaja---
4*35254680SRajan Vaja$id: http://devicetree.org/schemas/bindings/clock/xlnx,versal-clk.yaml#
5*35254680SRajan Vaja$schema: http://devicetree.org/meta-schemas/core.yaml#
6*35254680SRajan Vaja
7*35254680SRajan Vajatitle: Xilinx Versal clock controller
8*35254680SRajan Vaja
9*35254680SRajan Vajamaintainers:
10*35254680SRajan Vaja  - Michal Simek <michal.simek@xilinx.com>
11*35254680SRajan Vaja  - Jolly Shah <jolly.shah@xilinx.com>
12*35254680SRajan Vaja  - Rajan Vaja <rajan.vaja@xilinx.com>
13*35254680SRajan Vaja
14*35254680SRajan Vajadescription: |
15*35254680SRajan Vaja  The clock controller is a hardware block of Xilinx versal clock tree. It
16*35254680SRajan Vaja  reads required input clock frequencies from the devicetree and acts as clock
17*35254680SRajan Vaja  provider for all clock consumers of PS clocks.
18*35254680SRajan Vaja
19*35254680SRajan Vajaselect: false
20*35254680SRajan Vaja
21*35254680SRajan Vajaproperties:
22*35254680SRajan Vaja  compatible:
23*35254680SRajan Vaja    const: xlnx,versal-clk
24*35254680SRajan Vaja
25*35254680SRajan Vaja  "#clock-cells":
26*35254680SRajan Vaja    const: 1
27*35254680SRajan Vaja
28*35254680SRajan Vaja  clocks:
29*35254680SRajan Vaja    description: List of clock specifiers which are external input
30*35254680SRajan Vaja      clocks to the given clock controller.
31*35254680SRajan Vaja    items:
32*35254680SRajan Vaja      - description: reference clock
33*35254680SRajan Vaja      - description: alternate reference clock
34*35254680SRajan Vaja      - description: alternate reference clock for programmable logic
35*35254680SRajan Vaja
36*35254680SRajan Vaja  clock-names:
37*35254680SRajan Vaja    items:
38*35254680SRajan Vaja      - const: ref
39*35254680SRajan Vaja      - const: alt_ref
40*35254680SRajan Vaja      - const: pl_alt_ref
41*35254680SRajan Vaja
42*35254680SRajan Vajarequired:
43*35254680SRajan Vaja  - compatible
44*35254680SRajan Vaja  - "#clock-cells"
45*35254680SRajan Vaja  - clocks
46*35254680SRajan Vaja  - clock-names
47*35254680SRajan Vaja
48*35254680SRajan VajaadditionalProperties: false
49*35254680SRajan Vaja
50*35254680SRajan Vajaexamples:
51*35254680SRajan Vaja  - |
52*35254680SRajan Vaja    firmware {
53*35254680SRajan Vaja      zynqmp_firmware: zynqmp-firmware {
54*35254680SRajan Vaja        compatible = "xlnx,zynqmp-firmware";
55*35254680SRajan Vaja        method = "smc";
56*35254680SRajan Vaja        versal_clk: clock-controller {
57*35254680SRajan Vaja          #clock-cells = <1>;
58*35254680SRajan Vaja          compatible = "xlnx,versal-clk";
59*35254680SRajan Vaja          clocks = <&ref>, <&alt_ref>, <&pl_alt_ref>;
60*35254680SRajan Vaja          clock-names = "ref", "alt_ref", "pl_alt_ref";
61*35254680SRajan Vaja        };
62*35254680SRajan Vaja      };
63*35254680SRajan Vaja    };
64*35254680SRajan Vaja...
65