| 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 |
|
| 7 |
title: Marvell Armada 3700 Time Base Generator Clock |
| 8 |
|
| 9 |
maintainers: |
| 10 |
- Andrew Lunn <[email protected]> |
| 11 |
- Gregory Clement <[email protected]> |
| 12 |
|
| 13 |
description: > |
| 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 |
|
| 27 |
properties: |
| 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 |
|
| 40 |
required: |
| 41 |
- compatible |
| 42 |
- reg |
| 43 |
- '#clock-cells' |
| 44 |
|
| 45 |
additionalProperties: false |
| 46 |
|
| 47 |
examples: |
| 48 |
- | |
| 49 |
clock-controller@13200 { |
| 50 |
compatible = "marvell,armada-3700-tbg-clock"; |
| 51 |
reg = <0x13200 0x1000>; |
| 52 |
clocks = <&xtalclk>; |
| 53 |
#clock-cells = <1>; |
| 54 |
}; |