|
| 1 | +# Copyright (c) 2018..2020 Bobby Noelte |
| 2 | +# SPDX-License-Identifier: Apache-2.0 |
| 3 | + |
| 4 | +# -- Assigned clock parents and rates -- |
| 5 | +# Some platforms may require initial configuration of default parent clocks |
| 6 | +# and clock frequencies. Such a configuration can be specified in a device tree |
| 7 | +# node through assigned-clocks, assigned-clock-parents and assigned-clock-rates |
| 8 | +# properties. |
| 9 | + |
| 10 | +description: Clock consumer |
| 11 | + |
| 12 | +compatible: "clock-consumer" |
| 13 | + |
| 14 | +properties: |
| 15 | + clocks: |
| 16 | + type: phandle-array |
| 17 | + required: true |
| 18 | + description: > |
| 19 | + List of phandle and clock specifier pairs, one pair for each clock |
| 20 | + input to the device. Note - if the clock provider specifies '0' for |
| 21 | + clock-cells, then only the phandle portion of the pair will appear. |
| 22 | +
|
| 23 | + clock-names: |
| 24 | + type: string-array |
| 25 | + required: false |
| 26 | + description: > |
| 27 | + List of clock input name strings sorted in the same order as the clocks |
| 28 | + property. |
| 29 | +
|
| 30 | + clock-ranges: |
| 31 | + type: boolean |
| 32 | + required: false |
| 33 | + description: > |
| 34 | + Empty property indicating that child nodes can inherit named clocks from |
| 35 | + this node. Useful for bus nodes to provide a clock to their children. |
| 36 | +
|
| 37 | + assigned-clocks: |
| 38 | + type: phandle-array |
| 39 | + required: false |
| 40 | + description: > |
| 41 | + List of phandle and clock specifier pairs, one pair for each assigned |
| 42 | + clock input. Note - if the clock provider specifies '0' for |
| 43 | + clock-cells, then only the phandle portion of the pair will appear. |
| 44 | +
|
| 45 | + assigned-clock-parents: |
| 46 | + type: phandle-array |
| 47 | + required: false |
| 48 | + description: > |
| 49 | + List of parent clocks in the form of a phandle and clock |
| 50 | + specifier pair. The list shall correspond to the clocks listed in the |
| 51 | + assigned-clocks directive. |
| 52 | +
|
| 53 | + assigned-clock-rates: |
| 54 | + type: array |
| 55 | + required: false |
| 56 | + description: > |
| 57 | + List of frequencies in Hz. The list shall correspond to the clocks |
| 58 | + listed in the assigned-clocks directive. |
0 commit comments