MediaTek Clock controller syscon's

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

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

Maintainers (maintainers): "Matthias Brugger <matthias.bgg@gmail.com>", "AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>"

The MediaTek clock controller syscon's provide various clocks to the system.

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-bdpsys", "mediatek,mt2701-imgsys", "mediatek,mt2701-vdecsys", "mediatek,mt2712-bdpsys", "mediatek,mt2712-imgsys", "mediatek,mt2712-jpgdecsys", "mediatek,mt2712-mcucfg", "mediatek,mt2712-mfgcfg", "mediatek,mt2712-vdecsys", "mediatek,mt2712-vencsys", "mediatek,mt6735-imgsys", "mediatek,mt6735-mfgcfg", "mediatek,mt6735-vdecsys", "mediatek,mt6735-vencsys", "mediatek,mt6765-camsys", "mediatek,mt6765-imgsys", "mediatek,mt6765-mipi0a", "mediatek,mt6765-vcodecsys", "mediatek,mt6779-camsys", "mediatek,mt6779-imgsys", "mediatek,mt6779-ipesys", "mediatek,mt6779-mfgcfg", "mediatek,mt6779-vdecsys", "mediatek,mt6779-vencsys", "mediatek,mt6797-imgsys", "mediatek,mt6797-vdecsys", "mediatek,mt6797-vencsys", "mediatek,mt8167-imgsys", "mediatek,mt8167-mfgcfg", "mediatek,mt8167-vdecsys", "mediatek,mt8173-imgsys", "mediatek,mt8173-vdecsys", "mediatek,mt8173-vencltsys", "mediatek,mt8173-vencsys", "mediatek,mt8183-camsys", "mediatek,mt8183-imgsys", "mediatek,mt8183-ipu_conn", "mediatek,mt8183-ipu_adl", "mediatek,mt8183-ipu_core0", "mediatek,mt8183-ipu_core1", "mediatek,mt8183-mcucfg", "mediatek,mt8183-mfgcfg", "mediatek,mt8183-vdecsys", "mediatek,mt8183-vencsys"

Item 2

Exact value (const): "syscon"

Rule 2

Array item rules (items)

Item 1

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

Item 2

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

Item 3

Exact value (const): "syscon"

Rule 3

Array item rules (items)

Item 1

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

Item 2

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

Item 3

Exact value (const): "syscon"

Rule 4

Array item rules (items)

Item 1

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

Item 2

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

Item 3

Exact value (const): "syscon"

power-domains — not listed as required here #

Maximum number of items (maxItems): 1

reg — not listed as required here #

Maximum number of items (maxItems): 1

#clock-cells — required here #

Exact value (const): 1

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

Condition (if) #

Properties and child nodes (properties) #

compatible — not listed as required here #

Rule for matching array elements (contains)

Exact value (const): "mediatek,mt8183-mfgcfg"

When the condition matches (then) #

Properties and child nodes (properties) #

power-domains — not listed as required here #

true — No constraints added by this property rule.

When the condition does not match (else) #

Properties and child nodes (properties) #

power-domains — not listed as required here #

false — Not permitted by this property rule.

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

false

Not allowed by this rule.

Examples (examples) #

clock-controller@11220000 {
    compatible = "mediatek,mt2701-bdpsys", "syscon";
    reg = <0x11220000 0x2000>;
    #clock-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