MediaTek Peripheral Configuration Controller
Schema identifier ($id): "http://devicetree.org/schemas/clock/mediatek,pericfg.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Bartosz Golaszewski <bgolaszewski@baylibre.com>"
The Mediatek pericfg controller provides various clocks and reset outputs 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-pericfg","mediatek,mt2712-pericfg","mediatek,mt6735-pericfg","mediatek,mt6765-pericfg","mediatek,mt6795-pericfg","mediatek,mt7622-pericfg","mediatek,mt7629-pericfg","mediatek,mt8135-pericfg","mediatek,mt8173-pericfg","mediatek,mt8183-pericfg","mediatek,mt8186-pericfg","mediatek,mt8188-pericfg","mediatek,mt8195-pericfg","mediatek,mt8516-pericfg"Item 2
Exact value (
const):"syscon"
Rule 2
Array item rules (
items)Item 1
Exact value (
const):"mediatek,mt7623-pericfg"Item 2
Exact value (
const):"mediatek,mt2701-pericfg"Item 3
Exact value (
const):"syscon"
reg — required here #
Maximum number of items (maxItems): 1
#clock-cells — not listed as required here #
Exact value (const): 1
#reset-cells — not listed as required here #
Exact value (const): 1
Required in this object (required): "compatible", "reg"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
pericfg@10003000 {
compatible = "mediatek,mt8173-pericfg", "syscon";
reg = <0x10003000 0x1000>;
#clock-cells = <1>;
#reset-cells = <1>;
};
pericfg@10003000 {
compatible = "mediatek,mt7623-pericfg", "mediatek,mt2701-pericfg", "syscon";
reg = <0x10003000 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)
Line 37: Special case for mt7623 for backward compatibility