| 1 |
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) |
| 2 |
%YAML 1.2 |
| 3 |
--- |
| 4 |
$id: http://devicetree.org/schemas/axis,artpec6-clkctrl.yaml# |
| 5 |
$schema: http://devicetree.org/meta-schemas/core.yaml# |
| 6 |
|
| 7 |
title: Axis ARTPEC-6 clock controller |
| 8 |
|
| 9 |
maintainers: |
| 10 |
- Lars Persson <[email protected]> |
| 11 |
|
| 12 |
properties: |
| 13 |
compatible: |
| 14 |
const: axis,artpec6-clkctrl |
| 15 |
|
| 16 |
reg: |
| 17 |
maxItems: 1 |
| 18 |
|
| 19 |
"#clock-cells": |
| 20 |
const: 1 |
| 21 |
|
| 22 |
clocks: |
| 23 |
minItems: 1 |
| 24 |
items: |
| 25 |
- description: external 50 MHz oscillator. |
| 26 |
- description: optional audio reference clock. |
| 27 |
- description: fractional audio clock divider 0. |
| 28 |
- description: fractional audio clock divider 1. |
| 29 |
|
| 30 |
clock-names: |
| 31 |
minItems: 1 |
| 32 |
items: |
| 33 |
- const: sys_refclk |
| 34 |
- const: i2s_refclk |
| 35 |
- const: frac_clk0 |
| 36 |
- const: frac_clk1 |
| 37 |
|
| 38 |
required: |
| 39 |
- compatible |
| 40 |
- reg |
| 41 |
- "#clock-cells" |
| 42 |
- clocks |
| 43 |
- clock-names |
| 44 |
|
| 45 |
additionalProperties: false |
| 46 |
|
| 47 |
examples: |
| 48 |
- | |
| 49 |
clock-controller@f8000000 { |
| 50 |
compatible = "axis,artpec6-clkctrl"; |
| 51 |
reg = <0xf8000000 0x48>; |
| 52 |
#clock-cells = <1>; |
| 53 |
clocks = <&ext_clk>; |
| 54 |
clock-names = "sys_refclk"; |
| 55 |
}; |