1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/clock/loongson,ls1x-clk.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Loongson-1 Clock Controller
8
9maintainers:
10  - Keguang Zhang <keguang.zhang@gmail.com>
11
12properties:
13  compatible:
14    enum:
15      - loongson,ls1b-clk
16      - loongson,ls1c-clk
17
18  reg:
19    maxItems: 1
20
21  clocks:
22    maxItems: 1
23
24  "#clock-cells":
25    const: 1
26
27required:
28  - compatible
29  - reg
30  - clocks
31  - "#clock-cells"
32
33additionalProperties: false
34
35examples:
36  - |
37    clkc: clock-controller@1fe78030 {
38        compatible = "loongson,ls1b-clk";
39        reg = <0x1fe78030 0x8>;
40
41        clocks = <&xtal>;
42        #clock-cells = <1>;
43    };
44
45...
46