xref: /freebsd/sys/contrib/device-tree/Bindings/clock/marvell,armada-3700-tbg-clock.yaml (revision 833e5d42ab135b0238e61c5b3c19b8619677cbfa)
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/clock/marvell,armada-3700-tbg-clock.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Marvell Armada 3700 Time Base Generator Clock
8
9maintainers:
10  - Andrew Lunn <andrew@lunn.ch>
11  - Gregory Clement <gregory.clement@bootlin.com>
12
13description: >
14  Marvell Armada 37xx SoCs provide Time Base Generator clocks which are used as
15  parent clocks for the peripheral clocks.
16
17  The TBG clock consumer should specify the desired clock by having the clock ID
18  in its "clocks" phandle cell.
19
20  The following is a list of provided IDs and clock names on Armada 3700:
21
22    0 = TBG A P
23    1 = TBG B P
24    2 = TBG A S
25    3 = TBG B S
26
27properties:
28  compatible:
29    const: marvell,armada-3700-tbg-clock
30
31  reg:
32    maxItems: 1
33
34  clocks:
35    maxItems: 1
36
37  '#clock-cells':
38    const: 1
39
40required:
41  - compatible
42  - reg
43  - '#clock-cells'
44
45additionalProperties: false
46
47examples:
48  - |
49    clock-controller@13200 {
50        compatible = "marvell,armada-3700-tbg-clock";
51        reg = <0x13200 0x1000>;
52        clocks = <&xtalclk>;
53        #clock-cells = <1>;
54    };
55