| 1 |
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) |
| 2 |
%YAML 1.2 |
| 3 |
--- |
| 4 |
$id: http://devicetree.org/schemas/clock/alphascale,asm9260-clock-controller.yaml# |
| 5 |
$schema: http://devicetree.org/meta-schemas/core.yaml# |
| 6 |
|
| 7 |
title: Alphascale Clock Controller |
| 8 |
|
| 9 |
maintainers: |
| 10 |
- Oleksij Rempel <[email protected]> |
| 11 |
|
| 12 |
description: | |
| 13 |
The ACC (Alphascale Clock Controller) is responsible for choosing proper |
| 14 |
clock source, setting dividers and clock gates. |
| 15 |
|
| 16 |
Simple one-cell clock specifier format is used, where the only cell is used |
| 17 |
as an index of the clock inside the provider. |
| 18 |
It is encouraged to use dt-binding for clock index definitions. SoC specific |
| 19 |
dt-binding should be included to the device tree descriptor. For example |
| 20 |
Alphascale ASM9260: |
| 21 |
|
| 22 |
#include <dt-bindings/clock/alphascale,asm9260.h> |
| 23 |
|
| 24 |
This binding contains two types of clock providers: |
| 25 |
|
| 26 |
_AHB_ - AHB gate; |
| 27 |
_SYS_ - adjustable clock source. Not all peripheral have _SYS_ clock provider. |
| 28 |
|
| 29 |
All clock specific details can be found in the SoC documentation. |
| 30 |
|
| 31 |
properties: |
| 32 |
compatible: |
| 33 |
const: alphascale,asm9260-clock-controller |
| 34 |
|
| 35 |
reg: |
| 36 |
maxItems: 1 |
| 37 |
|
| 38 |
'#clock-cells': |
| 39 |
const: 1 |
| 40 |
|
| 41 |
clocks: |
| 42 |
maxItems: 1 |
| 43 |
|
| 44 |
required: |
| 45 |
- compatible |
| 46 |
- reg |
| 47 |
- '#clock-cells' |
| 48 |
|
| 49 |
additionalProperties: false |