xref: /freebsd/sys/contrib/device-tree/Bindings/clock/renesas,versaclock7.yaml (revision 7ef62cebc2f965b0f640263e179276928885e33d)
1*7ef62cebSEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2*7ef62cebSEmmanuel Vadot%YAML 1.2
3*7ef62cebSEmmanuel Vadot---
4*7ef62cebSEmmanuel Vadot$id: http://devicetree.org/schemas/clock/renesas,versaclock7.yaml#
5*7ef62cebSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
6*7ef62cebSEmmanuel Vadot
7*7ef62cebSEmmanuel Vadottitle: Renesas Versaclock7 Programmable Clock Device Tree Bindings
8*7ef62cebSEmmanuel Vadot
9*7ef62cebSEmmanuel Vadotmaintainers:
10*7ef62cebSEmmanuel Vadot  - Alex Helms <alexander.helms.jy@renesas.com>
11*7ef62cebSEmmanuel Vadot
12*7ef62cebSEmmanuel Vadotdescription: |
13*7ef62cebSEmmanuel Vadot  Renesas Versaclock7 is a family of configurable clock generator and
14*7ef62cebSEmmanuel Vadot  jitter attenuator ICs with fractional and integer dividers.
15*7ef62cebSEmmanuel Vadot
16*7ef62cebSEmmanuel Vadotproperties:
17*7ef62cebSEmmanuel Vadot  '#clock-cells':
18*7ef62cebSEmmanuel Vadot    const: 1
19*7ef62cebSEmmanuel Vadot
20*7ef62cebSEmmanuel Vadot  compatible:
21*7ef62cebSEmmanuel Vadot    enum:
22*7ef62cebSEmmanuel Vadot      - renesas,rc21008a
23*7ef62cebSEmmanuel Vadot
24*7ef62cebSEmmanuel Vadot  reg:
25*7ef62cebSEmmanuel Vadot    maxItems: 1
26*7ef62cebSEmmanuel Vadot
27*7ef62cebSEmmanuel Vadot  clocks:
28*7ef62cebSEmmanuel Vadot    items:
29*7ef62cebSEmmanuel Vadot      - description: External crystal or oscillator
30*7ef62cebSEmmanuel Vadot
31*7ef62cebSEmmanuel Vadot  clock-names:
32*7ef62cebSEmmanuel Vadot    items:
33*7ef62cebSEmmanuel Vadot      - const: xin
34*7ef62cebSEmmanuel Vadot
35*7ef62cebSEmmanuel Vadotrequired:
36*7ef62cebSEmmanuel Vadot  - '#clock-cells'
37*7ef62cebSEmmanuel Vadot  - compatible
38*7ef62cebSEmmanuel Vadot  - reg
39*7ef62cebSEmmanuel Vadot  - clocks
40*7ef62cebSEmmanuel Vadot  - clock-names
41*7ef62cebSEmmanuel Vadot
42*7ef62cebSEmmanuel VadotadditionalProperties: false
43*7ef62cebSEmmanuel Vadot
44*7ef62cebSEmmanuel Vadotexamples:
45*7ef62cebSEmmanuel Vadot  - |
46*7ef62cebSEmmanuel Vadot    vc7_xin: clock {
47*7ef62cebSEmmanuel Vadot        compatible = "fixed-clock";
48*7ef62cebSEmmanuel Vadot        #clock-cells = <0>;
49*7ef62cebSEmmanuel Vadot        clock-frequency = <49152000>;
50*7ef62cebSEmmanuel Vadot    };
51*7ef62cebSEmmanuel Vadot
52*7ef62cebSEmmanuel Vadot    i2c@0 {
53*7ef62cebSEmmanuel Vadot        reg = <0x0 0x100>;
54*7ef62cebSEmmanuel Vadot        #address-cells = <1>;
55*7ef62cebSEmmanuel Vadot        #size-cells = <0>;
56*7ef62cebSEmmanuel Vadot
57*7ef62cebSEmmanuel Vadot        vc7: clock-controller@9 {
58*7ef62cebSEmmanuel Vadot            compatible = "renesas,rc21008a";
59*7ef62cebSEmmanuel Vadot            reg = <0x9>;
60*7ef62cebSEmmanuel Vadot            #clock-cells = <1>;
61*7ef62cebSEmmanuel Vadot            clocks = <&vc7_xin>;
62*7ef62cebSEmmanuel Vadot            clock-names = "xin";
63*7ef62cebSEmmanuel Vadot        };
64*7ef62cebSEmmanuel Vadot    };
65