Amlogic C3 series Peripheral Clock Controller
Schema identifier ($id): "http://devicetree.org/schemas/clock/amlogic,c3-peripherals-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>", "Xianwei Zhao <xianwei.zhao@amlogic.com>", "Chuan Liu <chuan.liu@amlogic.com>"
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "amlogic,c3-peripherals-clkc"
reg — required here #
Maximum number of items (maxItems): 1
clocks — required here #
Minimum number of items (minItems): 16
Array item rules (items) #
Item 1
input oscillator (usually at 24MHz)
Item 2
input oscillators multiplexer
Item 3
input fix pll
Item 4
input fclk div 2
Item 5
input fclk div 2p5
Item 6
input fclk div 3
Item 7
input fclk div 4
Item 8
input fclk div 5
Item 9
input fclk div 7
Item 10
input gp0 pll
Item 11
input gp1 pll
Item 12
input hifi pll
Item 13
input sys clk
Item 14
input axi clk
Item 15
input sys pll div 16
Item 16
input cpu clk div 16
Item 17
input pad clock for rtc clk (optional)
clock-names — required here #
Minimum number of items (minItems): 16
Array item rules (items) #
Item 1
Exact value (
const):"xtal_24m"
Item 2
Exact value (
const):"oscin"
Item 3
Exact value (
const):"fix"
Item 4
Exact value (
const):"fdiv2"
Item 5
Exact value (
const):"fdiv2p5"
Item 6
Exact value (
const):"fdiv3"
Item 7
Exact value (
const):"fdiv4"
Item 8
Exact value (
const):"fdiv5"
Item 9
Exact value (
const):"fdiv7"
Item 10
Exact value (
const):"gp0"
Item 11
Exact value (
const):"gp1"
Item 12
Exact value (
const):"hifi"
Item 13
Exact value (
const):"sysclk"
Item 14
Exact value (
const):"axiclk"
Item 15
Exact value (
const):"sysplldiv16"
Item 16
Exact value (
const):"cpudiv16"
Item 17
Exact value (
const):"pad_osc"
#clock-cells — required here #
Exact value (const): 1
Required in this object (required): "compatible", "reg", "clocks", "clock-names", "#clock-cells"
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@0 {
compatible = "amlogic,c3-peripherals-clkc";
reg = <0x0 0x0 0x0 0x49c>;
#clock-cells = <1>;
clocks = <&xtal_24m>,
<&scmi_clk 8>,
<&scmi_clk 12>,
<&clkc_pll 3>,
<&clkc_pll 5>,
<&clkc_pll 7>,
<&clkc_pll 9>,
<&clkc_pll 11>,
<&clkc_pll 13>,
<&clkc_pll 15>,
<&scmi_clk 13>,
<&clkc_pll 17>,
<&scmi_clk 9>,
<&scmi_clk 10>,
<&scmi_clk 14>,
<&scmi_clk 15>;
clock-names = "xtal_24m",
"oscin",
"fix",
"fdiv2",
"fdiv2p5",
"fdiv3",
"fdiv4",
"fdiv5",
"fdiv7",
"gp0",
"gp1",
"hifi",
"sysclk",
"axiclk",
"sysplldiv16",
"cpudiv16";
};
};
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) 2022-2023 Amlogic, Inc. All rights reserved