MediaTek Top Clock Generator Controller
Schema identifier ($id): "http://devicetree.org/schemas/clock/mediatek,topckgen.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Michael Turquette <mturquette@baylibre.com>", "Stephen Boyd <sboyd@kernel.org>"
The Mediatek topckgen controller provides various clocks to the system. The clock values can be found in <dt-bindings/clock/mt*-clk.h> and <dt-bindings/clock/mediatek,mt*-topckgen.h>.
Properties and child nodes (properties) #
compatible — required here #
Exactly one of these rules must match (oneOf) #
Rule 1
Allowed values (
enum):"mediatek,mt6797-topckgen","mediatek,mt7622-topckgen","mediatek,mt8135-topckgen","mediatek,mt8173-topckgen","mediatek,mt8516-topckgen"
Rule 2
Array item rules (
items)Item 1
Exact value (
const):"mediatek,mt7623-topckgen"Item 2
Exact value (
const):"mediatek,mt2701-topckgen"Item 3
Exact value (
const):"syscon"
Rule 3
Array item rules (
items)Item 1
Allowed values (
enum):"mediatek,mt2701-topckgen","mediatek,mt2712-topckgen","mediatek,mt6735-topckgen","mediatek,mt6765-topckgen","mediatek,mt6779-topckgen","mediatek,mt6795-topckgen","mediatek,mt7629-topckgen","mediatek,mt7981-topckgen","mediatek,mt7986-topckgen","mediatek,mt7988-mcusys","mediatek,mt7988-topckgen","mediatek,mt8167-topckgen","mediatek,mt8183-topckgen"Item 2
Exact value (
const):"syscon"
reg — required here #
Maximum number of items (maxItems): 1
#clock-cells — required here #
Exact value (const): 1
Required in this object (required): "compatible", "reg", "#clock-cells"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
topckgen: clock-controller@10000000 {
compatible = "mediatek,mt8173-topckgen";
reg = <0x10000000 0x1000>;
#clock-cells = <1>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)