aboutsummaryrefslogtreecommitdiff
path: root/sys/contrib/device-tree/Bindings/clock/alphascale,asm9260-clock-controller.yaml
blob: 1caad419ce9dc1f8bb5352a14d1105b882b1a068 (plain) (blame)
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
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/clock/alphascale,asm9260-clock-controller.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Alphascale Clock Controller

maintainers:
  - Oleksij Rempel <linux@rempel-privat.de>

description: |
  The ACC (Alphascale Clock Controller) is responsible for choosing proper
  clock source, setting dividers and clock gates.

  Simple one-cell clock specifier format is used, where the only cell is used
  as an index of the clock inside the provider.
  It is encouraged to use dt-binding for clock index definitions. SoC specific
  dt-binding should be included to the device tree descriptor. For example
  Alphascale ASM9260:

  #include <dt-bindings/clock/alphascale,asm9260.h>

  This binding contains two types of clock providers:

    _AHB_ - AHB gate;
    _SYS_ - adjustable clock source. Not all peripheral have _SYS_ clock provider.

  All clock specific details can be found in the SoC documentation.

properties:
  compatible:
    const: alphascale,asm9260-clock-controller

  reg:
    maxItems: 1

  '#clock-cells':
    const: 1

  clocks:
    maxItems: 1

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

additionalProperties: false