Path: blob/master/Documentation/devicetree/bindings/clock/adi,axi-clkgen.yaml
26308 views
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)1%YAML 1.22---3$id: http://devicetree.org/schemas/clock/adi,axi-clkgen.yaml#4$schema: http://devicetree.org/meta-schemas/core.yaml#56title: Analog Devices AXI clkgen pcore clock generator78maintainers:9- Lars-Peter Clausen <lars@metafoo.de>10- Michael Hennerich <michael.hennerich@analog.com>1112description: |13The axi_clkgen IP core is a software programmable clock generator,14that can be synthesized on various FPGA platforms.1516Link: https://wiki.analog.com/resources/fpga/docs/axi_clkgen1718properties:19compatible:20enum:21- adi,axi-clkgen-2.00.a22- adi,zynqmp-axi-clkgen-2.00.a2324clocks:25description:26Specifies the reference clock(s) from which the output frequency is27derived. This must either reference one clock if only the first clock28input is connected or two if both clock inputs are connected. The last29clock is the AXI bus clock that needs to be enabled so we can access the30core registers.31minItems: 232maxItems: 33334clock-names:35oneOf:36- items:37- const: clkin138- const: s_axi_aclk39- items:40- const: clkin141- const: clkin242- const: s_axi_aclk4344'#clock-cells':45const: 04647reg:48maxItems: 14950required:51- compatible52- reg53- clocks54- clock-names55- '#clock-cells'5657additionalProperties: false5859examples:60- |61clock-controller@ff000000 {62compatible = "adi,axi-clkgen-2.00.a";63#clock-cells = <0>;64reg = <0xff000000 0x1000>;65clocks = <&osc 1>, <&clkc 15>;66clock-names = "clkin1", "s_axi_aclk";67};686970