Marvell Armada 3700 Time Base Generator Clock

Schema identifier ($id): "http://devicetree.org/schemas/clock/marvell,armada-3700-tbg-clock.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Andrew Lunn <andrew@lunn.ch>", "Gregory Clement <gregory.clement@bootlin.com>"

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 and child nodes (properties) #

compatible — required here #

Exact value (const): "marvell,armada-3700-tbg-clock"

reg — required here #

Maximum number of items (maxItems): 1

clocks — not listed as required here #

Maximum number of items (maxItems): 1

#clock-cells — required here #

Exact value (const): 1

Required in this object (required): "compatible", "reg", "#clock-cells"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

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

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Edit this page