1c66ec88fSEmmanuel Vadot# SPDX-License-Identifier: GPL-2.0 2c66ec88fSEmmanuel Vadot%YAML 1.2 3c66ec88fSEmmanuel Vadot--- 4c66ec88fSEmmanuel Vadot$id: http://devicetree.org/schemas/clock/fixed-clock.yaml# 5c66ec88fSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml# 6c66ec88fSEmmanuel Vadot 78bab661aSEmmanuel Vadottitle: Simple fixed-rate clock sources 8c66ec88fSEmmanuel Vadot 9c66ec88fSEmmanuel Vadotmaintainers: 10c66ec88fSEmmanuel Vadot - Michael Turquette <mturquette@baylibre.com> 11c66ec88fSEmmanuel Vadot - Stephen Boyd <sboyd@kernel.org> 12c66ec88fSEmmanuel Vadot 13c66ec88fSEmmanuel Vadotproperties: 14*7d0873ebSEmmanuel Vadot $nodename: 15*7d0873ebSEmmanuel Vadot anyOf: 16*7d0873ebSEmmanuel Vadot - description: 17*7d0873ebSEmmanuel Vadot Preferred name is 'clock-<freq>' with <freq> being the output 18*7d0873ebSEmmanuel Vadot frequency as defined in the 'clock-frequency' property. 19*7d0873ebSEmmanuel Vadot pattern: "^clock-([0-9]+|[a-z0-9-]+)$" 20*7d0873ebSEmmanuel Vadot - description: Any name allowed 21*7d0873ebSEmmanuel Vadot deprecated: true 22*7d0873ebSEmmanuel Vadot 23c66ec88fSEmmanuel Vadot compatible: 24c66ec88fSEmmanuel Vadot const: fixed-clock 25c66ec88fSEmmanuel Vadot 26c66ec88fSEmmanuel Vadot "#clock-cells": 27c66ec88fSEmmanuel Vadot const: 0 28c66ec88fSEmmanuel Vadot 29c66ec88fSEmmanuel Vadot clock-frequency: true 30c66ec88fSEmmanuel Vadot 31c66ec88fSEmmanuel Vadot clock-accuracy: 32c66ec88fSEmmanuel Vadot description: accuracy of clock in ppb (parts per billion). 33c66ec88fSEmmanuel Vadot $ref: /schemas/types.yaml#/definitions/uint32 34c66ec88fSEmmanuel Vadot 35c66ec88fSEmmanuel Vadot clock-output-names: 36c66ec88fSEmmanuel Vadot maxItems: 1 37c66ec88fSEmmanuel Vadot 38c66ec88fSEmmanuel Vadotrequired: 39c66ec88fSEmmanuel Vadot - compatible 40c66ec88fSEmmanuel Vadot - "#clock-cells" 41c66ec88fSEmmanuel Vadot - clock-frequency 42c66ec88fSEmmanuel Vadot 43c66ec88fSEmmanuel VadotadditionalProperties: false 44c66ec88fSEmmanuel Vadot 45c66ec88fSEmmanuel Vadotexamples: 46c66ec88fSEmmanuel Vadot - | 47c66ec88fSEmmanuel Vadot clock { 48c66ec88fSEmmanuel Vadot compatible = "fixed-clock"; 49c66ec88fSEmmanuel Vadot #clock-cells = <0>; 50c66ec88fSEmmanuel Vadot clock-frequency = <1000000000>; 51c66ec88fSEmmanuel Vadot clock-accuracy = <100>; 52c66ec88fSEmmanuel Vadot }; 53c66ec88fSEmmanuel Vadot... 54