StarFive JH7110 System Clock and Reset Generator

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

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

Maintainers (maintainers): "Emil Renner Berthing <kernel@esmil.dk>"

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "starfive,jh7110-syscrg"

reg — required here #

Maximum number of items (maxItems): 1

clocks — required here #

Exactly one of these rules must match (oneOf) #

Rule 1

Array item rules (items)

Item 1

Main Oscillator (24 MHz)

Item 2

GMAC1 RMII reference or GMAC1 RGMII RX

Item 3

External I2S TX bit clock

Item 4

External I2S TX left/right channel clock

Item 5

External I2S RX bit clock

Item 6

External I2S RX left/right channel clock

Item 7

External TDM clock

Item 8

External audio master clock

Item 9

PLL0

Item 10

PLL1

Item 11

PLL2

Rule 2

Array item rules (items)

Item 1

Main Oscillator (24 MHz)

Item 2

GMAC1 RMII reference

Item 3

GMAC1 RGMII RX

Item 4

External I2S TX bit clock

Item 5

External I2S TX left/right channel clock

Item 6

External I2S RX bit clock

Item 7

External I2S RX left/right channel clock

Item 8

External TDM clock

Item 9

External audio master clock

Item 10

PLL0

Item 11

PLL1

Item 12

PLL2

clock-names — required here #

Exactly one of these rules must match (oneOf) #

Rule 1

Array item rules (items)

Item 1

Exact value (const): "osc"

Item 2

Allowed values (enum): "gmac1_rmii_refin", "gmac1_rgmii_rxin"

Item 3

Exact value (const): "i2stx_bclk_ext"

Item 4

Exact value (const): "i2stx_lrck_ext"

Item 5

Exact value (const): "i2srx_bclk_ext"

Item 6

Exact value (const): "i2srx_lrck_ext"

Item 7

Exact value (const): "tdm_ext"

Item 8

Exact value (const): "mclk_ext"

Item 9

Exact value (const): "pll0_out"

Item 10

Exact value (const): "pll1_out"

Item 11

Exact value (const): "pll2_out"

Rule 2

Array item rules (items)

Item 1

Exact value (const): "osc"

Item 2

Exact value (const): "gmac1_rmii_refin"

Item 3

Exact value (const): "gmac1_rgmii_rxin"

Item 4

Exact value (const): "i2stx_bclk_ext"

Item 5

Exact value (const): "i2stx_lrck_ext"

Item 6

Exact value (const): "i2srx_bclk_ext"

Item 7

Exact value (const): "i2srx_lrck_ext"

Item 8

Exact value (const): "tdm_ext"

Item 9

Exact value (const): "mclk_ext"

Item 10

Exact value (const): "pll0_out"

Item 11

Exact value (const): "pll1_out"

Item 12

Exact value (const): "pll2_out"

#clock-cells — required here #

Exact value (const): 1

See <dt-bindings/clock/starfive,jh7110-crg.h> for valid indices.

#reset-cells — required here #

Exact value (const): 1

See <dt-bindings/reset/starfive,jh7110-crg.h> for valid indices.

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

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

false

Not allowed by this rule.

Examples (examples) #

clock-controller@13020000 {
    compatible = "starfive,jh7110-syscrg";
    reg = <0x13020000 0x10000>;
    clocks = <&osc>, <&gmac1_rmii_refin>,
             <&gmac1_rgmii_rxin>,
             <&i2stx_bclk_ext>, <&i2stx_lrck_ext>,
             <&i2srx_bclk_ext>, <&i2srx_lrck_ext>,
             <&tdm_ext>, <&mclk_ext>,
             <&pllclk 0>, <&pllclk 1>, <&pllclk 2>;
    clock-names = "osc", "gmac1_rmii_refin",
                  "gmac1_rgmii_rxin",
                  "i2stx_bclk_ext", "i2stx_lrck_ext",
                  "i2srx_bclk_ext", "i2srx_lrck_ext",
                  "tdm_ext", "mclk_ext",
                  "pll0_out", "pll1_out", "pll2_out";
    #clock-cells = <1>;
    #reset-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