| 1 |
# SPDX-License-Identifier: BSD-2-Clause |
| 2 |
# Copyright 2018 Linaro Ltd. |
| 3 |
# Copyright 2018 Arm Ltd. |
| 4 |
%YAML 1.2 |
| 5 |
--- |
| 6 |
$id: http://devicetree.org/meta-schemas/clocks.yaml# |
| 7 |
$schema: https://json-schema.org/draft/2019-09/schema |
| 8 |
|
| 9 |
properties: |
| 10 |
clocks: |
| 11 |
if: |
| 12 |
type: object |
| 13 |
required: [type] |
| 14 |
then: |
| 15 |
$ref: nodes.yaml |
| 16 |
else: |
| 17 |
$ref: cell.yaml#/array |
| 18 |
clock-ranges: |
| 19 |
$ref: boolean.yaml |
| 20 |
clock-indices: |
| 21 |
$ref: cell.yaml#/array |
| 22 |
assigned-clocks: |
| 23 |
$ref: cell.yaml#/array |
| 24 |
assigned-clock-parents: |
| 25 |
$ref: cell.yaml#/array |
| 26 |
assigned-clock-rates: |
| 27 |
$ref: cell.yaml#/array |
| 28 |
assigned-clock-rates-u64: |
| 29 |
$ref: cell.yaml#/array |
| 30 |
assigned-clock-sscs: |
| 31 |
$ref: cell.yaml#/array |
| 32 |
|
| 33 |
clock-frequency: |
| 34 |
$ref: cell.yaml#/single |
| 35 |
bus-frequency: |
| 36 |
$ref: cell.yaml#/single |
| 37 |
|
| 38 |
dependentRequired: |
| 39 |
clock-output-names: ['#clock-cells'] |
| 40 |
clock-indices: ['#clock-cells'] |
| 41 |
clock-names: [clocks] |
| 42 |
clock-ranges: [clocks] |
| 43 |
assigned-clocks: [clocks] |
| 44 |
assigned-clock-parents: [assigned-clocks] |
| 45 |
assigned-clock-rates: [assigned-clocks] |
| 46 |
assigned-clock-rates-u64: [assigned-clocks] |
| 47 |
assigned-clock-sscs: [assigned-clocks] |