| 1 |
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) |
| 2 |
%YAML 1.2 |
| 3 |
--- |
| 4 |
$id: http://devicetree.org/schemas/clock/nxp,lpc3220-clk.yaml# |
| 5 |
$schema: http://devicetree.org/meta-schemas/core.yaml# |
| 6 |
|
| 7 |
title: NXP LPC32xx Clock Controller |
| 8 |
|
| 9 |
maintainers: |
| 10 |
- Animesh Agarwal <[email protected]> |
| 11 |
|
| 12 |
properties: |
| 13 |
compatible: |
| 14 |
const: nxp,lpc3220-clk |
| 15 |
|
| 16 |
reg: |
| 17 |
maxItems: 1 |
| 18 |
|
| 19 |
'#clock-cells': |
| 20 |
const: 1 |
| 21 |
|
| 22 |
clocks: |
| 23 |
minItems: 1 |
| 24 |
items: |
| 25 |
- description: External 32768 Hz oscillator. |
| 26 |
- description: Optional high frequency oscillator. |
| 27 |
|
| 28 |
clock-names: |
| 29 |
minItems: 1 |
| 30 |
items: |
| 31 |
- const: xtal_32k |
| 32 |
- const: xtal |
| 33 |
|
| 34 |
required: |
| 35 |
- compatible |
| 36 |
- reg |
| 37 |
- '#clock-cells' |
| 38 |
- clocks |
| 39 |
- clock-names |
| 40 |
|
| 41 |
additionalProperties: false |
| 42 |
|
| 43 |
examples: |
| 44 |
- | |
| 45 |
clock-controller@0 { |
| 46 |
compatible = "nxp,lpc3220-clk"; |
| 47 |
reg = <0x00 0x114>; |
| 48 |
#clock-cells = <1>; |
| 49 |
clocks = <&xtal_32k>, <&xtal>; |
| 50 |
clock-names = "xtal_32k", "xtal"; |
| 51 |
}; |