Loongson-1 Clock Controller
Schema identifier ($id): "http://devicetree.org/schemas/clock/loongson,ls1x-clk.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Keguang Zhang <keguang.zhang@gmail.com>"
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "loongson,ls1b-clk", "loongson,ls1c-clk"
reg — required here #
Maximum number of items (maxItems): 1
clocks — required here #
Maximum number of items (maxItems): 1
#clock-cells — required here #
Exact value (const): 1
Required in this object (required): "compatible", "reg", "clocks", "#clock-cells"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
clkc: clock-controller@1fe78030 {
compatible = "loongson,ls1b-clk";
reg = <0x1fe78030 0x8>;
clocks = <&xtal>;
#clock-cells = <1>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)