0001 # SPDX-License-Identifier: GPL-2.0
0002 %YAML 1.2
0003 ---
0004 $id: http://devicetree.org/schemas/clock/fixed-factor-clock.yaml#
0005 $schema: http://devicetree.org/meta-schemas/core.yaml#
0006
0007 title: Binding for simple fixed factor rate clock sources
0008
0009 maintainers:
0010 - Michael Turquette <mturquette@baylibre.com>
0011 - Stephen Boyd <sboyd@kernel.org>
0012
0013 properties:
0014 compatible:
0015 enum:
0016 - fixed-factor-clock
0017
0018 "#clock-cells":
0019 const: 0
0020
0021 clocks:
0022 maxItems: 1
0023
0024 clock-div:
0025 description: Fixed divider
0026 $ref: /schemas/types.yaml#/definitions/uint32
0027 minimum: 1
0028
0029 clock-mult:
0030 description: Fixed multiplier
0031 $ref: /schemas/types.yaml#/definitions/uint32
0032
0033 clock-output-names:
0034 maxItems: 1
0035
0036 required:
0037 - compatible
0038 - clocks
0039 - "#clock-cells"
0040 - clock-div
0041 - clock-mult
0042
0043 additionalProperties: false
0044
0045 examples:
0046 - |
0047 clock {
0048 compatible = "fixed-factor-clock";
0049 clocks = <&parentclk>;
0050 #clock-cells = <0>;
0051 clock-div = <2>;
0052 clock-mult = <1>;
0053 };
0054 ...