xref: /linux/Documentation/devicetree/bindings/clock/marvell,ap80x-clock.yaml (revision d30c1683aaecb93d2ab95685dc4300a33d3cea7a)
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,ap80x-clock.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Marvell Armada AP80x System Controller Clocks
8
9maintainers:
10  - Gregory Clement <gregory.clement@bootlin.com>
11  - Miquel Raynal <miquel.raynal@bootlin.com>
12
13description: >
14  The AP806/AP807 is one of the two core HW blocks of the Marvell Armada
15  7K/8K/931x SoCs. It contains system controllers, which provide several
16  registers giving access to numerous features: clocks, pin-muxing and many
17  other SoC configuration items.
18
19properties:
20  compatible:
21    enum:
22      - marvell,ap806-clock
23      - marvell,ap806-cpu-clock
24      - marvell,ap807-clock
25      - marvell,ap807-cpu-clock
26
27  reg:
28    maxItems: 1
29
30  "#clock-cells":
31    const: 1
32
33  clocks:
34    items:
35      - description: cluster 0 parent clock phandle
36      - description: cluster 1 parent clock phandle
37
38required:
39  - compatible
40  - "#clock-cells"
41
42additionalProperties: false
43
44allOf:
45  - if:
46      properties:
47        compatible:
48          contains:
49            enum:
50              - marvell,ap806-cpu-clock
51              - marvell,ap807-cpu-clock
52    then:
53      required:
54        - clocks
55