Tom Rini | 53633a8 | 2024-02-29 12:33:36 -0500 | [diff] [blame] | 1 | # SPDX-License-Identifier: GPL-2.0 |
| 2 | %YAML 1.2 |
| 3 | --- |
| 4 | $id: http://devicetree.org/schemas/clock/fixed-clock.yaml# |
| 5 | $schema: http://devicetree.org/meta-schemas/core.yaml# |
| 6 | |
| 7 | title: Simple fixed-rate clock sources |
| 8 | |
| 9 | maintainers: |
| 10 | - Michael Turquette <mturquette@baylibre.com> |
| 11 | - Stephen Boyd <sboyd@kernel.org> |
| 12 | |
| 13 | properties: |
| 14 | compatible: |
| 15 | const: fixed-clock |
| 16 | |
| 17 | "#clock-cells": |
| 18 | const: 0 |
| 19 | |
| 20 | clock-frequency: true |
| 21 | |
| 22 | clock-accuracy: |
| 23 | description: accuracy of clock in ppb (parts per billion). |
| 24 | $ref: /schemas/types.yaml#/definitions/uint32 |
| 25 | |
| 26 | clock-output-names: |
| 27 | maxItems: 1 |
| 28 | |
| 29 | required: |
| 30 | - compatible |
| 31 | - "#clock-cells" |
| 32 | - clock-frequency |
| 33 | |
| 34 | additionalProperties: false |
| 35 | |
| 36 | examples: |
| 37 | - | |
| 38 | clock { |
| 39 | compatible = "fixed-clock"; |
| 40 | #clock-cells = <0>; |
| 41 | clock-frequency = <1000000000>; |
| 42 | clock-accuracy = <100>; |
| 43 | }; |
| 44 | ... |