xref: /freebsd/sys/contrib/device-tree/Bindings/clock/adi,axi-clkgen.yaml (revision 8bab661a3316d8bd9b9fbd11a3b4371b91507bd2)
15def4c47SEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
25def4c47SEmmanuel Vadot%YAML 1.2
35def4c47SEmmanuel Vadot---
45def4c47SEmmanuel Vadot$id: http://devicetree.org/schemas/clock/adi,axi-clkgen.yaml#
55def4c47SEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
65def4c47SEmmanuel Vadot
7*8bab661aSEmmanuel Vadottitle: Analog Devices AXI clkgen pcore clock generator
85def4c47SEmmanuel Vadot
95def4c47SEmmanuel Vadotmaintainers:
105def4c47SEmmanuel Vadot  - Lars-Peter Clausen <lars@metafoo.de>
115def4c47SEmmanuel Vadot  - Michael Hennerich <michael.hennerich@analog.com>
125def4c47SEmmanuel Vadot
135def4c47SEmmanuel Vadotdescription: |
145def4c47SEmmanuel Vadot  The axi_clkgen IP core is a software programmable clock generator,
155def4c47SEmmanuel Vadot  that can be synthesized on various FPGA platforms.
165def4c47SEmmanuel Vadot
175def4c47SEmmanuel Vadot  Link: https://wiki.analog.com/resources/fpga/docs/axi_clkgen
185def4c47SEmmanuel Vadot
195def4c47SEmmanuel Vadotproperties:
205def4c47SEmmanuel Vadot  compatible:
215def4c47SEmmanuel Vadot    enum:
225def4c47SEmmanuel Vadot      - adi,axi-clkgen-2.00.a
235def4c47SEmmanuel Vadot      - adi,zynqmp-axi-clkgen-2.00.a
245def4c47SEmmanuel Vadot
255def4c47SEmmanuel Vadot  clocks:
265def4c47SEmmanuel Vadot    description:
275def4c47SEmmanuel Vadot      Specifies the reference clock(s) from which the output frequency is
285def4c47SEmmanuel Vadot      derived. This must either reference one clock if only the first clock
295def4c47SEmmanuel Vadot      input is connected or two if both clock inputs are connected.
305def4c47SEmmanuel Vadot    minItems: 1
315def4c47SEmmanuel Vadot    maxItems: 2
325def4c47SEmmanuel Vadot
335def4c47SEmmanuel Vadot  '#clock-cells':
345def4c47SEmmanuel Vadot    const: 0
355def4c47SEmmanuel Vadot
365def4c47SEmmanuel Vadot  reg:
375def4c47SEmmanuel Vadot    maxItems: 1
385def4c47SEmmanuel Vadot
395def4c47SEmmanuel Vadotrequired:
405def4c47SEmmanuel Vadot  - compatible
415def4c47SEmmanuel Vadot  - reg
425def4c47SEmmanuel Vadot  - clocks
435def4c47SEmmanuel Vadot  - '#clock-cells'
445def4c47SEmmanuel Vadot
455def4c47SEmmanuel VadotadditionalProperties: false
465def4c47SEmmanuel Vadot
475def4c47SEmmanuel Vadotexamples:
485def4c47SEmmanuel Vadot  - |
495def4c47SEmmanuel Vadot    clock-controller@ff000000 {
505def4c47SEmmanuel Vadot      compatible = "adi,axi-clkgen-2.00.a";
515def4c47SEmmanuel Vadot      #clock-cells = <0>;
525def4c47SEmmanuel Vadot      reg = <0xff000000 0x1000>;
535def4c47SEmmanuel Vadot      clocks = <&osc 1>;
545def4c47SEmmanuel Vadot    };
55