SiFive FU740 Power Reset Clock Interrupt Controller (PRCI)

Schema identifier ($id): "http://devicetree.org/schemas/clock/sifive/fu740-prci.yaml#"

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

Maintainers (maintainers): "Zong Li <zong.li@sifive.com>", "Paul Walmsley <paul.walmsley@sifive.com>"

On the FU740 family of SoCs, most system-wide clock and reset integration is via the PRCI IP block. The clock consumer should specify the desired clock via the clock ID macros defined in include/dt-bindings/clock/sifive-fu740-prci.h. These macros begin with PRCI_CLK_. The hfclk and rtcclk nodes are required, and represent physical crystals or resonators located on the PCB. These nodes should be present underneath /, rather than /soc.

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "sifive,fu740-c000-prci"

reg — required here #

Maximum number of items (maxItems): 1

clocks — required here #

Array item rules (items) #

Item 1

high frequency clock.

Item 2

RTL clock.

clock-names — not listed as required here #

Array item rules (items) #

Item 1

Exact value (const): "hfclk"

Item 2

Exact value (const): "rtcclk"

#clock-cells — required here #

Exact value (const): 1

#reset-cells — not listed as required here #

Exact value (const): 1

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

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

false

Not allowed by this rule.

Examples (examples) #

prci: clock-controller@10000000 {
  compatible = "sifive,fu740-c000-prci";
  reg = <0x10000000 0x1000>;
  clocks = <&hfclk>, <&rtcclk>;
  #clock-cells = <1>;
  #reset-cells = <1>;
};

Source notes #

Annotations retained from the schema source

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

Line 2: Copyright (C) 2020 SiFive, Inc.

Edit this page