StarFive JH7100 Clock Generator

Schema identifier ($id): "http://devicetree.org/schemas/clock/starfive,jh7100-clkgen.yaml#"

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

Maintainers (maintainers): "Geert Uytterhoeven <geert@linux-m68k.org>", "Emil Renner Berthing <kernel@esmil.dk>"

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "starfive,jh7100-clkgen"

reg — required here #

Maximum number of items (maxItems): 1

clocks — required here #

Array item rules (items) #

Item 1

Main clock source (25 MHz)

Item 2

Application-specific clock source (12-27 MHz)

Item 3

RMII reference clock (50 MHz)

Item 4

RGMII RX clock (125 MHz)

clock-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "osc_sys"

Item 2

Exact value (const): "osc_aud"

Item 3

Exact value (const): "gmac_rmii_ref"

Item 4

Exact value (const): "gmac_gr_mii_rxclk"

#clock-cells — required here #

Exact value (const): 1

See <dt-bindings/clock/starfive-jh7100.h> for valid indices.

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

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

false

Not allowed by this rule.

Examples (examples) #

clock-controller@11800000 {
        compatible = "starfive,jh7100-clkgen";
        reg = <0x11800000 0x10000>;
        clocks = <&osc_sys>, <&osc_aud>, <&gmac_rmii_ref>, <&gmac_gr_mii_rxclk>;
        clock-names = "osc_sys", "osc_aud", "gmac_rmii_ref", "gmac_gr_mii_rxclk";
        #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