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,fixed-factor-clock.yaml# 5$schema: http://devicetree.org/meta-schemas/core.yaml# 6 7title: TI fixed factor rate clock sources 8 9maintainers: 10 - Tero Kristo <kristo@kernel.org> 11 - Sukrut Bellary <sbellary@baylibre.com> 12 13description: 14 This consists of a divider and a multiplier used to generate a fixed rate 15 clock. This also uses the autoidle support from TI autoidle clock. 16 17allOf: 18 - $ref: ti,autoidle.yaml# 19 20properties: 21 compatible: 22 const: ti,fixed-factor-clock 23 24 "#clock-cells": 25 const: 0 26 27 reg: 28 maxItems: 1 29 30 ti,clock-div: 31 $ref: /schemas/types.yaml#/definitions/uint32 32 description: Fixed divider 33 minimum: 1 34 35 ti,clock-mult: 36 $ref: /schemas/types.yaml#/definitions/uint32 37 description: Fixed multiplier 38 minimum: 1 39 40 clocks: 41 maxItems: 1 42 43 clock-output-names: 44 maxItems: 1 45 46 ti,set-rate-parent: 47 description: 48 Propagate to parent clock 49 type: boolean 50 51required: 52 - compatible 53 - clocks 54 - "#clock-cells" 55 - ti,clock-mult 56 - ti,clock-div 57 58unevaluatedProperties: false 59 60examples: 61 - | 62 bus{ 63 #address-cells = <1>; 64 #size-cells = <0>; 65 66 clock@1b4 { 67 compatible = "ti,fixed-factor-clock"; 68 reg = <0x1b4>; 69 clocks = <&dpll_usb_ck>; 70 #clock-cells = <0>; 71 ti,clock-mult = <1>; 72 ti,clock-div = <1>; 73 ti,autoidle-shift = <8>; 74 ti,invert-autoidle-bit; 75 }; 76 }; 77