summaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/clock/renesas,r8a78000-cpg.yaml
blob: 4e23bba334382346f0bcd6c2f34855b1f1c2465a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/clock/renesas,r8a78000-cpg.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Renesas R-Car X5H Clock Pulse Generator

maintainers:
  - Geert Uytterhoeven <geert+renesas@glider.be>

description:
  The R-Car X5H Clock Pulse Generator (CLK CONTROL) consists of oscillators,
  PLL circuits, clock dividers and clock control circuits.  It provides various
  clocks for other modules.

properties:
  compatible:
    const: renesas,r8a78000-cpg

  reg:
    maxItems: 1

  clocks:
    maxItems: 2

  clock-names:
    items:
      - const: extal
      - const: extalr

  '#clock-cells':
    description:
      The single clock specifier cell must be the clock number, as defined in
      <dt-bindings/clock/renesas,r8a78000-cpg.h>.
    const: 1

required:
  - compatible
  - reg
  - clocks
  - clock-names
  - '#clock-cells'

additionalProperties: false

examples:
  - |
    clock-controller@c1320000 {
            compatible = "renesas,r8a78000-cpg";
            reg = <0xc1320000 0x10000>;
            clocks = <&extal_clk>, <&extalr_clk>;
            clock-names = "extal", "extalr";
            #clock-cells = <1>;
    };