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