Merge tag 'ntb-5.11' of git://github.com/jonmason/ntb
[linux-2.6-microblaze.git] / Documentation / devicetree / bindings / clock / canaan,k210-clk.yaml
1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2 %YAML 1.2
3 ---
4 $id: http://devicetree.org/schemas/clock/canaan,k210-clk.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
6
7 title: Canaan Kendryte K210 Clock Device Tree Bindings
8
9 maintainers:
10   - Damien Le Moal <damien.lemoal@wdc.com>
11
12 description: |
13   Canaan Kendryte K210 SoC clocks driver bindings. The clock
14   controller node must be defined as a child node of the K210
15   system controller node.
16
17   See also:
18   - dt-bindings/clock/k210-clk.h
19
20 properties:
21   compatible:
22     const: canaan,k210-clk
23
24   clocks:
25     description:
26       Phandle of the SoC 26MHz fixed-rate oscillator clock.
27
28   '#clock-cells':
29     const: 1
30
31 required:
32   - compatible
33   - '#clock-cells'
34   - clocks
35
36 additionalProperties: false
37
38 examples:
39   - |
40     #include <dt-bindings/clock/k210-clk.h>
41     clocks {
42       in0: oscillator {
43         compatible = "fixed-clock";
44         #clock-cells = <0>;
45         clock-frequency = <26000000>;
46       };
47     };
48
49     /* ... */
50     sysclk: clock-controller {
51       #clock-cells = <1>;
52       compatible = "canaan,k210-clk";
53       clocks = <&in0>;
54     };