Microchip PolarFire SoC Fabric Clock Conditioning Circuitry

Schema identifier ($id): "http://devicetree.org/schemas/clock/microchip,mpfs-ccc.yaml#"

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

Maintainers (maintainers): "Conor Dooley <conor.dooley@microchip.com>"

Microchip PolarFire SoC has 4 Clock Conditioning Circuitry blocks. Each of these blocks contains two PLLs and 2 DLLs & are located in the four corners of the FPGA. For more information see "PolarFire SoC FPGA Clocking Resources" at: https://onlinedocs.microchip.com/pr/GUID-8F0CC4C0-0317-4262-89CA-CE7773ED1931-en-US-1/index.html

Properties and child nodes (properties) #

compatible — required here #

Exactly one of these rules must match (oneOf) #

Rule 1

Array item rules (items)

Item 1

Exact value (const): "microchip,pic64gx-ccc"

Item 2

Exact value (const): "microchip,mpfs-ccc"

Rule 2

Exact value (const): "microchip,mpfs-ccc"

reg — required here #

Array item rules (items) #

Item 1

PLL0's control registers

Item 2

PLL1's control registers

Item 3

DLL0's control registers

Item 4

DLL1's control registers

clocks — required here #

The CCC PLL's have two input clocks. It is required that even if the input clocks are identical that both are provided.

Minimum number of items (minItems): 2

Array item rules (items) #

Item 1

PLL0's refclk0

Item 2

PLL0's refclk1

Item 3

PLL1's refclk0

Item 4

PLL1's refclk1

Item 5

DLL0's refclk

Item 6

DLL1's refclk

clock-names — required here #

Minimum number of items (minItems): 2

Array item rules (items) #

Item 1

Exact value (const): "pll0_ref0"

Item 2

Exact value (const): "pll0_ref1"

Item 3

Exact value (const): "pll1_ref0"

Item 4

Exact value (const): "pll1_ref1"

Item 5

Exact value (const): "dll0_ref"

Item 6

Exact value (const): "dll1_ref"

#clock-cells — required here #

Exact value (const): 1

The clock consumer should specify the desired clock by having the clock ID in its "clocks" phandle cell. See include/dt-bindings/clock/microchip,mpfs-clock.h for the full list of PolarFire clock IDs.

Required in this object (required): "compatible", "reg", "clocks", "clock-names", "#clock-cells"

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

false

Not allowed by this rule.

Examples (examples) #

clock-controller@38100000 {
    compatible = "microchip,mpfs-ccc";
    reg = <0x38010000 0x1000>, <0x38020000 0x1000>,
          <0x39010000 0x1000>, <0x39020000 0x1000>;
    #clock-cells = <1>;
    clocks = <&refclk_ccc>, <&refclk_ccc>, <&refclk_ccc>, <&refclk_ccc>,
              <&refclk_ccc>, <&refclk_ccc>;
    clock-names = "pll0_ref0", "pll0_ref1", "pll1_ref0", "pll1_ref1",
                  "dll0_ref", "dll1_ref";
};

Source notes #

Annotations retained from the schema source

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

Edit this page