Mediatek ethsys controller

Schema identifier ($id): "http://devicetree.org/schemas/clock/mediatek,ethsys.yaml#"

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

The available clocks are defined in dt-bindings/clock/mt*-clk.h.

Maintainers (maintainers): "James Liao <jamesjj.liao@mediatek.com>"

Properties and child nodes (properties) #

compatible — not listed as required here #

Exactly one of these rules must match (oneOf) #

Rule 1

Array item rules (items)

Item 1

Allowed values (enum): "mediatek,mt2701-ethsys", "mediatek,mt7622-ethsys", "mediatek,mt7629-ethsys", "mediatek,mt7981-ethsys", "mediatek,mt7986-ethsys", "mediatek,mt7988-ethsys"

Item 2

Exact value (const): "syscon"

Rule 2

Array item rules (items)

Item 1

Exact value (const): "mediatek,mt7623-ethsys"

Item 2

Exact value (const): "mediatek,mt2701-ethsys"

Item 3

Exact value (const): "syscon"

reg — required here #

Maximum number of items (maxItems): 1

#clock-cells — required here #

Exact value (const): 1

#reset-cells — required here #

Exact value (const): 1

Required in this object (required): "reg", "#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@1b000000 {
    compatible = "mediatek,mt2701-ethsys", "syscon";
    reg = <0x1b000000 0x1000>;
    #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