1 # SPDX-License-Identifier: GPL-2.0 1 # SPDX-License-Identifier: GPL-2.0 2 %YAML 1.2 2 %YAML 1.2 3 --- 3 --- 4 $id: http://devicetree.org/schemas/clock/fixed 4 $id: http://devicetree.org/schemas/clock/fixed-factor-clock.yaml# 5 $schema: http://devicetree.org/meta-schemas/co 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 6 6 7 title: Simple fixed factor rate clock sources !! 7 title: Binding for simple fixed factor rate clock sources 8 8 9 maintainers: 9 maintainers: 10 - Michael Turquette <mturquette@baylibre.com> 10 - Michael Turquette <mturquette@baylibre.com> 11 - Stephen Boyd <sboyd@kernel.org> 11 - Stephen Boyd <sboyd@kernel.org> 12 12 13 properties: 13 properties: 14 $nodename: << 15 anyOf: << 16 - description: << 17 If the frequency is fixed, the prefe << 18 <freq> being the output frequency. << 19 pattern: "^clock-([0-9]+|[0-9a-z-]+)$" << 20 - description: Any name allowed << 21 deprecated: true << 22 << 23 compatible: 14 compatible: 24 enum: 15 enum: >> 16 - allwinner,sun4i-a10-pll3-2x-clk 25 - fixed-factor-clock 17 - fixed-factor-clock 26 18 27 "#clock-cells": 19 "#clock-cells": 28 const: 0 20 const: 0 29 21 30 clocks: 22 clocks: 31 maxItems: 1 23 maxItems: 1 32 24 33 clock-div: 25 clock-div: 34 description: Fixed divider 26 description: Fixed divider 35 $ref: /schemas/types.yaml#/definitions/uin 27 $ref: /schemas/types.yaml#/definitions/uint32 36 minimum: 1 28 minimum: 1 37 29 38 clock-mult: 30 clock-mult: 39 description: Fixed multiplier 31 description: Fixed multiplier 40 $ref: /schemas/types.yaml#/definitions/uin 32 $ref: /schemas/types.yaml#/definitions/uint32 41 33 42 clock-output-names: 34 clock-output-names: 43 maxItems: 1 35 maxItems: 1 44 36 45 required: 37 required: 46 - compatible 38 - compatible 47 - clocks 39 - clocks 48 - "#clock-cells" 40 - "#clock-cells" 49 - clock-div 41 - clock-div 50 - clock-mult 42 - clock-mult 51 43 52 additionalProperties: false 44 additionalProperties: false 53 45 54 examples: 46 examples: 55 - | 47 - | 56 clock { 48 clock { 57 compatible = "fixed-factor-clock"; 49 compatible = "fixed-factor-clock"; 58 clocks = <&parentclk>; 50 clocks = <&parentclk>; 59 #clock-cells = <0>; 51 #clock-cells = <0>; 60 clock-div = <2>; 52 clock-div = <2>; 61 clock-mult = <1>; 53 clock-mult = <1>; 62 }; 54 }; 63 ... 55 ...
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.