xref: /linux/Documentation/devicetree/bindings/clock/tenstorrent,atlantis-prcm-rcpu.yaml (revision 0fc8f6200d2313278fbf4539bbab74677c685531)
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/clock/tenstorrent,atlantis-prcm-rcpu.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Tenstorrent Atlantis PRCM (Power, Reset, Clock Management) Module
8
9maintainers:
10  - Anirudh Srinivasan <asrinivasan@oss.tenstorrent.com>
11
12description:
13  Multifunctional register block found in Tenstorrent Atlantis SoC whose main
14  function is to control clocks and resets. This block is instantiated multiple
15  times in the SoC, each block controls clock and resets for a different
16  subsystem. RCPU prcm serves low speed IO interfaces.
17
18properties:
19  compatible:
20    enum:
21      - tenstorrent,atlantis-prcm-rcpu
22
23  reg:
24    maxItems: 1
25
26  clocks:
27    maxItems: 1
28
29  "#clock-cells":
30    const: 1
31    description:
32      See <dt-bindings/clock/tenstorrent,atlantis-prcm-rcpu.h> for valid indices.
33
34  "#reset-cells":
35    const: 1
36
37required:
38  - compatible
39  - reg
40  - clocks
41  - "#clock-cells"
42  - "#reset-cells"
43
44additionalProperties: false
45
46examples:
47  - |
48    clock-controller@a8000000 {
49      compatible = "tenstorrent,atlantis-prcm-rcpu";
50      reg = <0xa8000000 0x10000>;
51      clocks = <&osc_24m>;
52      #clock-cells = <1>;
53      #reset-cells = <1>;
54    };
55