MediaTek Infrastructure System Configuration Controller

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

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

Maintainers (maintainers): "Matthias Brugger <matthias.bgg@gmail.com>"

The Mediatek infracfg controller provides various clocks and reset outputs to the system. The clock values can be found in <dt-bindings/clock/mt*-clk.h> and <dt-bindings/clock/mediatek,mt*-infracfg.h>, and reset values in <dt-bindings/reset/mt*-reset.h>, <dt-bindings/reset/mt*-resets.h> and <dt-bindings/reset/mediatek,mt*-infracfg.h>.

Properties and child nodes (properties) #

compatible — required here #

Exactly one of these rules must match (oneOf) #

Rule 1

Array item rules (items)

Item 1

Allowed values (enum): "mediatek,mt2701-infracfg", "mediatek,mt2712-infracfg", "mediatek,mt6735-infracfg", "mediatek,mt6765-infracfg", "mediatek,mt6795-infracfg", "mediatek,mt6779-infracfg_ao", "mediatek,mt6797-infracfg", "mediatek,mt7622-infracfg", "mediatek,mt7629-infracfg", "mediatek,mt7981-infracfg", "mediatek,mt7986-infracfg", "mediatek,mt7988-infracfg", "mediatek,mt8135-infracfg", "mediatek,mt8167-infracfg", "mediatek,mt8173-infracfg", "mediatek,mt8183-infracfg", "mediatek,mt8516-infracfg"

Item 2

Exact value (const): "syscon"

Rule 2

Array item rules (items)

Item 1

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

Item 2

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

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 — not listed as required here #

Exact value (const): 1

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

Condition (if) #

Properties and child nodes (properties) #

compatible — not listed as required here #

Rule for matching array elements (contains)

Allowed values (enum): "mediatek,mt2701-infracfg", "mediatek,mt2712-infracfg", "mediatek,mt6795-infracfg", "mediatek,mt7622-infracfg", "mediatek,mt7986-infracfg", "mediatek,mt8135-infracfg", "mediatek,mt8173-infracfg", "mediatek,mt8183-infracfg"

When the condition matches (then) #

Required in this object (required): "#reset-cells"

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

false

Not allowed by this rule.

Examples (examples) #

infracfg: clock-controller@10001000 {
    compatible = "mediatek,mt8173-infracfg", "syscon";
    reg = <0x10001000 0x1000>;
    #clock-cells = <1>;
    #reset-cells = <1>;
};

Source notes #

Annotations retained from the schema source

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

Edit this page