Allwinner A20 GMAC TX Clock

Schema identifier ($id): "http://devicetree.org/schemas/clock/allwinner,sun7i-a20-gmac-clk.yaml#"

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

Maintainers (maintainers): "Chen-Yu Tsai <wens@csie.org>", "Maxime Ripard <mripard@kernel.org>"

Properties and child nodes (properties) #

#clock-cells — required here #

Exact value (const): 0

compatible — required here #

Exact value (const): "allwinner,sun7i-a20-gmac-clk"

reg — required here #

Maximum number of items (maxItems): 1

clocks — required here #

Maximum number of items (maxItems): 2

The parent clocks shall be fixed rate dummy clocks at 25 MHz and 125 MHz, respectively.

clock-output-names — required here #

Maximum number of items (maxItems): 1

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

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

false

Not allowed by this rule.

Examples (examples) #

clk@1c20164 {
    #clock-cells = <0>;
    compatible = "allwinner,sun7i-a20-gmac-clk";
    reg = <0x01c20164 0x4>;
    clocks = <&mii_phy_tx_clk>, <&gmac_int_tx_clk>;
    clock-output-names = "gmac_tx";
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: GPL-2.0

Edit this page