Amlogic T7 PLL Clock Control Controller
Schema identifier ($id): "http://devicetree.org/schemas/clock/amlogic,t7-pll-clkc.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Neil Armstrong <neil.armstrong@linaro.org>", "Jerome Brunet <jbrunet@baylibre.com>", "Jian Hu <jian.hu@amlogic.com>", "Xianwei Zhao <xianwei.zhao@amlogic.com>"
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "amlogic,t7-gp0-pll", "amlogic,t7-gp1-pll", "amlogic,t7-hifi-pll", "amlogic,t7-pcie-pll", "amlogic,t7-mpll", "amlogic,t7-hdmi-pll", "amlogic,t7-mclk-pll"
reg — required here #
Maximum number of items (maxItems): 1
#clock-cells — required here #
Exact value (const): 1
clocks — required here #
Array item rules (items) #
Item 1
mclk pll input oscillator gate
Item 2
oscillator input clock source for mclk_sel_0
Item 3
fixed input clock source for mclk_sel_0
Minimum number of items (minItems): 1
clock-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"in0"
Item 2
Exact value (
const):"in1"
Item 3
Exact value (
const):"in2"
Minimum number of items (minItems): 1
Required in this object (required): "compatible", "#clock-cells", "reg", "clocks", "clock-names"
All of these rules must match (allOf) #
Rule 1 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)Exact value (
const):"amlogic,t7-mclk-pll"When the condition matches (
then) #Properties and child nodes (
properties)
clocks— not listed as required hereMinimum number of items (
minItems):3
clock-names— not listed as required hereMinimum number of items (
minItems):3
Rule 2 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)Allowed values (
enum):"amlogic,t7-gp0-pll","amlogic,t7-gp1--pll","amlogic,t7-hifi-pll","amlogic,t7-pcie-pll","amlogic,t7-mpll","amlogic,t7-hdmi-pll"When the condition matches (
then) #Properties and child nodes (
properties)
clocks— not listed as required hereMaximum number of items (
maxItems):1
clock-names— not listed as required hereMaximum number of items (
maxItems):1
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
apb {
#address-cells = <2>;
#size-cells = <2>;
clock-controller@8080 {
compatible = "amlogic,t7-gp0-pll";
reg = <0 0x8080 0 0x20>;
clocks = <&scmi_clk 2>;
clock-names = "in0";
#clock-cells = <1>;
};
clock-controller@8300 {
compatible = "amlogic,t7-mclk-pll";
reg = <0 0x8300 0 0x18>;
clocks = <&scmi_clk 2>,
<&xtal>,
<&scmi_clk 31>;
clock-names = "in0", "in1", "in2";
#clock-cells = <1>;
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Line 2: Copyright (C) 2024-2025 Amlogic, Inc. All rights reserved