xref: /linux/Documentation/devicetree/bindings/clock/renesas,r8a78000-cpg.yaml (revision 502d45774af09f1c681c754c4b7cdfb5d7f72fd9)
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/clock/renesas,r8a78000-cpg.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Renesas R-Car X5H Clock Pulse Generator
8
9maintainers:
10  - Geert Uytterhoeven <geert+renesas@glider.be>
11
12description:
13  The R-Car X5H Clock Pulse Generator (CLK CONTROL) consists of oscillators,
14  PLL circuits, clock dividers and clock control circuits.  It provides various
15  clocks for other modules.
16
17properties:
18  compatible:
19    const: renesas,r8a78000-cpg
20
21  reg:
22    maxItems: 1
23
24  clocks:
25    maxItems: 2
26
27  clock-names:
28    items:
29      - const: extal
30      - const: extalr
31
32  '#clock-cells':
33    description:
34      The single clock specifier cell must be the clock number, as defined in
35      <dt-bindings/clock/renesas,r8a78000-cpg.h>.
36    const: 1
37
38required:
39  - compatible
40  - reg
41  - clocks
42  - clock-names
43  - '#clock-cells'
44
45additionalProperties: false
46
47examples:
48  - |
49    clock-controller@c1320000 {
50            compatible = "renesas,r8a78000-cpg";
51            reg = <0xc1320000 0x10000>;
52            clocks = <&extal_clk>, <&extalr_clk>;
53            clock-names = "extal", "extalr";
54            #clock-cells = <1>;
55    };
56