Xilinx clocking wizard

Schema identifier ($id): "http://devicetree.org/schemas/clock/xlnx,clocking-wizard.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Shubhrajyoti Datta <shubhrajyoti.datta@amd.com>"

The clocking wizard is a soft ip clocking block of Xilinx versal. It reads required input clock frequencies from the devicetree and acts as clock clock output.

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "xlnx,clocking-wizard", "xlnx,clocking-wizard-v5.2", "xlnx,clocking-wizard-v6.0", "xlnx,versal-clk-wizard"

reg — required here #

Maximum number of items (maxItems): 1

#clock-cells — required here #

Exact value (const): 1

clocks — required here #

Array item rules (items) #

Item 1

clock input

Item 2

axi clock

clock-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "clk_in1"

Item 2

Exact value (const): "s_axi_aclk"

xlnx,static-config — not listed as required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/flag

Indicate whether the core has been configured without support for dynamic runtime reconfguration of the clocking primitive MMCM/PLL.

xlnx,speed-grade — required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

Allowed values (enum): 1, 2, 3

Speed grade of the device. Higher the speed grade faster is the FPGA device.

xlnx,nr-outputs — required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

Minimum value (minimum): 1

Maximum value (maximum): 8

Number of outputs.

Required in this object (required): "compatible", "reg", "#clock-cells", "clocks", "clock-names", "xlnx,speed-grade", "xlnx,nr-outputs"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

clock-controller@b0000000  {
    compatible = "xlnx,clocking-wizard";
    reg = <0xb0000000 0x10000>;
    #clock-cells = <1>;
    xlnx,static-config;
    xlnx,speed-grade = <1>;
    xlnx,nr-outputs = <6>;
    clock-names = "clk_in1", "s_axi_aclk";
    clocks = <&clkc 15>, <&clkc 15>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Edit this page