Canaan Kendryte K210 Clock
Schema identifier ($id): "http://devicetree.org/schemas/clock/canaan,k210-clk.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Damien Le Moal <dlemoal@kernel.org>"
Canaan Kendryte K210 SoC clocks driver bindings. The clock controller node must be defined as a child node of the K210 system controller node.
See also: - dt-bindings/clock/k210-clk.h
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "canaan,k210-clk"
clocks — required here #
Maximum number of items (maxItems): 1
Phandle of the SoC 26MHz fixed-rate oscillator clock.
#clock-cells — required here #
Exact value (const): 1
Required in this object (required): "compatible", "#clock-cells", "clocks"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/clock/k210-clk.h>
clocks {
in0: oscillator {
compatible = "fixed-clock";
#clock-cells = <0>;
clock-frequency = <26000000>;
};
};
/* ... */
sysclk: clock-controller {
#clock-cells = <1>;
compatible = "canaan,k210-clk";
clocks = <&in0>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)