summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/clock/renesas,versaclock7.yaml
blob: b339f1f9f072cee4353b2733131584fdf6059d1a (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
56
57
58
59
60
61
62
63
64
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/clock/renesas,versaclock7.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Renesas Versaclock7 Programmable Clock

maintainers:
  - Alex Helms <alexander.helms.jy@renesas.com>

description: |
  Renesas Versaclock7 is a family of configurable clock generator and
  jitter attenuator ICs with fractional and integer dividers.

properties:
  '#clock-cells':
    const: 1

  compatible:
    enum:
      - renesas,rc21008a

  reg:
    maxItems: 1

  clocks:
    items:
      - description: External crystal or oscillator

  clock-names:
    items:
      - const: xin

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

additionalProperties: false

examples:
  - |
    vc7_xin: clock {
        compatible = "fixed-clock";
        #clock-cells = <0>;
        clock-frequency = <49152000>;
    };

    i2c@0 {
        reg = <0x0 0x100>;
        #address-cells = <1>;
        #size-cells = <0>;

        vc7: clock-controller@9 {
            compatible = "renesas,rc21008a";
            reg = <0x9>;
            #clock-cells = <1>;
            clocks = <&vc7_xin>;
            clock-names = "xin";
        };
    };