0001 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
0002 # Copyright (C) 2020 SiFive, Inc.
0003 %YAML 1.2
0004 ---
0005 $id: http://devicetree.org/schemas/clock/sifive/fu740-prci.yaml#
0006 $schema: http://devicetree.org/meta-schemas/core.yaml#
0007
0008 title: SiFive FU740 Power Reset Clock Interrupt Controller (PRCI)
0009
0010 maintainers:
0011 - Zong Li <zong.li@sifive.com>
0012 - Paul Walmsley <paul.walmsley@sifive.com>
0013
0014 description:
0015 On the FU740 family of SoCs, most system-wide clock and reset integration
0016 is via the PRCI IP block.
0017 The clock consumer should specify the desired clock via the clock ID
0018 macros defined in include/dt-bindings/clock/sifive-fu740-prci.h.
0019 These macros begin with PRCI_CLK_.
0020
0021 The hfclk and rtcclk nodes are required, and represent physical
0022 crystals or resonators located on the PCB. These nodes should be present
0023 underneath /, rather than /soc.
0024
0025 properties:
0026 compatible:
0027 const: sifive,fu740-c000-prci
0028
0029 reg:
0030 maxItems: 1
0031
0032 clocks:
0033 items:
0034 - description: high frequency clock.
0035 - description: RTL clock.
0036
0037 clock-names:
0038 items:
0039 - const: hfclk
0040 - const: rtcclk
0041
0042 "#clock-cells":
0043 const: 1
0044
0045 "#reset-cells":
0046 const: 1
0047
0048 required:
0049 - compatible
0050 - reg
0051 - clocks
0052 - "#clock-cells"
0053
0054 additionalProperties: false
0055
0056 examples:
0057 - |
0058 prci: clock-controller@10000000 {
0059 compatible = "sifive,fu740-c000-prci";
0060 reg = <0x10000000 0x1000>;
0061 clocks = <&hfclk>, <&rtcclk>;
0062 #clock-cells = <1>;
0063 #reset-cells = <1>;
0064 };