Marvell Berlin Clock Controller

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

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

Maintainers (maintainers): "Jisheng Zhang <jszhang@kernel.org>"

Clock related registers are spread among the chip control registers. Berlin clock node should be a sub-node of the chip controller node. Marvell Berlin2 (BG2, BG2CD, BG2Q) SoCs share the same IP for PLLs and clocks, with some minor differences in features and register layout.

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "marvell,berlin2-clk", "marvell,berlin2q-clk"

#clock-cells — required here #

Exact value (const): 1

clocks — required here #

Maximum number of items (maxItems): 1

clock-names — required here #

Array item rules (items) #

Item 1

Allowed values (enum): "refclk", "video_ext0"

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

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

false

Not allowed by this rule.

Examples (examples) #

clock-controller {
    compatible = "marvell,berlin2q-clk";
    #clock-cells = <1>;
    clocks = <&refclk>;
    clock-names = "refclk";
};

Source notes #

Annotations retained from the schema source

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

Edit this page