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 allOf: 36 minimum: 1 !! 28 - $ref: /schemas/types.yaml#/definitions/uint32 >> 29 - minimum: 1 37 30 38 clock-mult: 31 clock-mult: 39 description: Fixed multiplier 32 description: Fixed multiplier 40 $ref: /schemas/types.yaml#/definitions/uin 33 $ref: /schemas/types.yaml#/definitions/uint32 41 34 42 clock-output-names: 35 clock-output-names: 43 maxItems: 1 36 maxItems: 1 44 37 45 required: 38 required: 46 - compatible 39 - compatible 47 - clocks 40 - clocks 48 - "#clock-cells" 41 - "#clock-cells" 49 - clock-div 42 - clock-div 50 - clock-mult 43 - clock-mult 51 44 52 additionalProperties: false 45 additionalProperties: false 53 46 54 examples: 47 examples: 55 - | 48 - | 56 clock { 49 clock { 57 compatible = "fixed-factor-clock"; 50 compatible = "fixed-factor-clock"; 58 clocks = <&parentclk>; 51 clocks = <&parentclk>; 59 #clock-cells = <0>; 52 #clock-cells = <0>; 60 clock-div = <2>; 53 clock-div = <2>; 61 clock-mult = <1>; 54 clock-mult = <1>; 62 }; 55 }; 63 ... 56 ...
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.