| 1 | |
| 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 <[email protected]>
|
| 11 | - Stephen Boyd <[email protected]>
|
| 12 |
|
| 13 | properties:
|
| 14 | $nodename:
|
| 15 | anyOf:
|
| 16 | - description:
|
| 17 | Preferred name is 'clock-<freq>' with <freq> being the output
|
| 18 | frequency as defined in the 'clock-frequency' property.
|
| 19 | pattern: "^clock-([0-9]+|[a-z0-9-]+)$"
|
| 20 | - description: Any name allowed
|
| 21 | deprecated: true
|
| 22 |
|
| 23 | compatible:
|
| 24 | const: fixed-clock
|
| 25 |
|
| 26 | "#clock-cells":
|
| 27 | const: 0
|
| 28 |
|
| 29 | clock-frequency: true
|
| 30 |
|
| 31 | clock-accuracy:
|
| 32 | description: accuracy of clock in ppb (parts per billion).
|
| 33 | $ref: /schemas/types.yaml#/definitions/uint32
|
| 34 |
|
| 35 | clock-output-names:
|
| 36 | maxItems: 1
|
| 37 |
|
| 38 | required:
|
| 39 | - compatible
|
| 40 | - "#clock-cells"
|
| 41 | - clock-frequency
|
| 42 |
|
| 43 | additionalProperties: false
|
| 44 |
|
| 45 | examples:
|
| 46 | - |
|
| 47 | clock {
|
| 48 | compatible = "fixed-clock";
|
| 49 | #clock-cells = <0>;
|
| 50 | clock-frequency = <1000000000>;
|
| 51 | clock-accuracy = <100>;
|
| 52 | };
|
| 53 | ...
|