1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/clock/ti/ti,clksel.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Binding for TI clksel clock
8
9maintainers:
10  - Tony Lindgren <tony@atomide.com>
11
12description: |
13  The TI CLKSEL clocks consist of consist of input clock mux bits, and in some
14  cases also has divider, multiplier and gate bits.
15
16properties:
17  compatible:
18    const: ti,clksel
19
20  reg:
21    maxItems: 1
22    description: The CLKSEL register range
23
24  '#address-cells':
25    enum: [ 0, 1, 2 ]
26
27  '#size-cells':
28    enum: [ 0, 1, 2 ]
29
30  ranges: true
31
32  "#clock-cells":
33    const: 2
34    description: The CLKSEL register and bit offset
35
36required:
37  - compatible
38  - reg
39  - "#clock-cells"
40
41additionalProperties:
42  type: object
43
44examples:
45  - |
46    clksel_gfx_fclk: clock@52c {
47      compatible = "ti,clksel";
48      reg = <0x25c 0x4>;
49      #clock-cells = <2>;
50    };
51...
52