1# SPDX-License-Identifier: GPL-2.0
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/clock/fixed-factor-clock.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Binding for simple fixed factor rate clock sources
8
9maintainers:
10  - Michael Turquette <mturquette@baylibre.com>
11  - Stephen Boyd <sboyd@kernel.org>
12
13properties:
14  compatible:
15    enum:
16      - allwinner,sun4i-a10-pll3-2x-clk
17      - fixed-factor-clock
18
19  "#clock-cells":
20    const: 0
21
22  clocks:
23    maxItems: 1
24
25  clock-div:
26    description: Fixed divider
27    $ref: /schemas/types.yaml#/definitions/uint32
28    minimum: 1
29
30  clock-mult:
31    description: Fixed multiplier
32    $ref: /schemas/types.yaml#/definitions/uint32
33
34  clock-output-names:
35    maxItems: 1
36
37required:
38  - compatible
39  - clocks
40  - "#clock-cells"
41  - clock-div
42  - clock-mult
43
44additionalProperties: false
45
46examples:
47  - |
48    clock {
49      compatible = "fixed-factor-clock";
50      clocks = <&parentclk>;
51      #clock-cells = <0>;
52      clock-div = <2>;
53      clock-mult = <1>;
54    };
55...
56