StarFive JH7110 Video-Output Clock and Reset Generator

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

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

Maintainers (maintainers): "Xingyu Wu <xingyu.wu@starfivetech.com>"

Properties and child nodes (properties) #

compatible — required here #

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

reg — required here #

Maximum number of items (maxItems): 1

clocks — required here #

Array item rules (items) #

Item 1

Vout Top core

Item 2

Vout Top Ahb

Item 3

Vout Top Axi

Item 4

Vout Top HDMI MCLK

Item 5

I2STX0 BCLK

Item 6

external HDMI pixel

clock-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "vout_src"

Item 2

Exact value (const): "vout_top_ahb"

Item 3

Exact value (const): "vout_top_axi"

Item 4

Exact value (const): "vout_top_hdmitx0_mclk"

Item 5

Exact value (const): "i2stx0_bclk"

Item 6

Exact value (const): "hdmitx0_pixelclk"

resets — required here #

Maximum number of items (maxItems): 1

Vout Top core

#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.

power-domains — required here #

Maximum number of items (maxItems): 1

Vout domain power

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

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

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/starfive,jh7110-crg.h>
#include <dt-bindings/power/starfive,jh7110-pmu.h>
#include <dt-bindings/reset/starfive,jh7110-crg.h>

voutcrg: clock-controller@295C0000 {
    compatible = "starfive,jh7110-voutcrg";
    reg = <0x295C0000 0x10000>;
    clocks = <&syscrg JH7110_SYSCLK_VOUT_SRC>,
             <&syscrg JH7110_SYSCLK_VOUT_TOP_AHB>,
             <&syscrg JH7110_SYSCLK_VOUT_TOP_AXI>,
             <&syscrg JH7110_SYSCLK_VOUT_TOP_HDMITX0_MCLK>,
             <&syscrg JH7110_SYSCLK_I2STX0_BCLK>,
             <&hdmitx0_pixelclk>;
    clock-names = "vout_src", "vout_top_ahb",
                  "vout_top_axi", "vout_top_hdmitx0_mclk",
                  "i2stx0_bclk", "hdmitx0_pixelclk";
    resets = <&syscrg JH7110_SYSRST_VOUT_TOP_SRC>;
    #clock-cells = <1>;
    #reset-cells = <1>;
    power-domains = <&pwrc JH7110_PD_VOUT>;
};

Source notes #

Annotations retained from the schema source

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

Edit this page