Amlogic A1 Peripherals Clock Control Unit
Schema identifier ($id): "http://devicetree.org/schemas/clock/amlogic,a1-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>", "Jian Hu <jian.hu@jian.hu.com>", "Dmitry Rokosov <ddrokosov@sberdevices.ru>"
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "amlogic,a1-peripherals-clkc"
#clock-cells — required here #
Exact value (const): 1
reg — required here #
Maximum number of items (maxItems): 1
clocks — required here #
Array item rules (items) #
Item 1
input fixed pll div2
Item 2
input fixed pll div3
Item 3
input fixed pll div5
Item 4
input fixed pll div7
Item 5
input hifi pll
Item 6
input oscillator (usually at 24MHz)
Item 7
input sys pll
Minimum number of items (minItems): 6
clock-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"fclk_div2"
Item 2
Exact value (
const):"fclk_div3"
Item 3
Exact value (
const):"fclk_div5"
Item 4
Exact value (
const):"fclk_div7"
Item 5
Exact value (
const):"hifi_pll"
Item 6
Exact value (
const):"xtal"
Item 7
Exact value (
const):"sys_pll"
Minimum number of items (minItems): 6
Required in this object (required): "compatible", "#clock-cells", "reg", "clocks", "clock-names"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/clock/amlogic,a1-pll-clkc.h>
apb {
#address-cells = <2>;
#size-cells = <2>;
clock-controller@800 {
compatible = "amlogic,a1-peripherals-clkc";
reg = <0 0x800 0 0x104>;
#clock-cells = <1>;
clocks = <&clkc_pll CLKID_FCLK_DIV2>,
<&clkc_pll CLKID_FCLK_DIV3>,
<&clkc_pll CLKID_FCLK_DIV5>,
<&clkc_pll CLKID_FCLK_DIV7>,
<&clkc_pll CLKID_HIFI_PLL>,
<&xtal>,
<&clkc_pll CLKID_SYS_PLL>;
clock-names = "fclk_div2", "fclk_div3",
"fclk_div5", "fclk_div7",
"hifi_pll", "xtal", "sys_pll";
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
Line 34: sys_pll is optional
Line 45: sys_pll is optional