Documentation / devicetree / bindings / clock / marvell,armada-3700-tbg-clock.yaml


Based on kernel version 6.17. Page generated on 2025-10-03 10:03 EST.

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 50 51 52 53 54
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/clock/marvell,armada-3700-tbg-clock.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Marvell Armada 3700 Time Base Generator Clock

maintainers:
  - Andrew Lunn <andrew@lunn.ch>
  - Gregory Clement <gregory.clement@bootlin.com>

description: >
  Marvell Armada 37xx SoCs provide Time Base Generator clocks which are used as
  parent clocks for the peripheral clocks.
 
  The TBG clock consumer should specify the desired clock by having the clock ID
  in its "clocks" phandle cell.
 
  The following is a list of provided IDs and clock names on Armada 3700:
 
    0 = TBG A P
    1 = TBG B P
    2 = TBG A S
    3 = TBG B S

properties:
  compatible:
    const: marvell,armada-3700-tbg-clock

  reg:
    maxItems: 1

  clocks:
    maxItems: 1
 
  '#clock-cells':
    const: 1

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

additionalProperties: false

examples:
  - |
    clock-controller@13200 {
        compatible = "marvell,armada-3700-tbg-clock";
        reg = <0x13200 0x1000>;
        clocks = <&xtalclk>;
        #clock-cells = <1>;
    };