xref: /linux/Documentation/devicetree/bindings/clock/nxp,lpc3220-clk.yaml (revision 566ab427f827b0256d3e8ce0235d088e6a9c28bd)
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
7title: NXP LPC32xx Clock Controller
8
9maintainers:
10  - Animesh Agarwal <animeshagarwal28@gmail.com>
11
12properties:
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
34required:
35  - compatible
36  - reg
37  - '#clock-cells'
38  - clocks
39  - clock-names
40
41additionalProperties: false
42
43examples:
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    };
52