1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/clock/imxrt1050-clock.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Clock bindings for Freescale i.MXRT
8
9maintainers:
10  - Giulio Benetti <giulio.benetti@benettiengineering.com>
11  - Jesse Taube <Mr.Bossman075@gmail.com>
12
13description: |
14  The clock consumer should specify the desired clock by having the clock
15  ID in its "clocks" phandle cell. See include/dt-bindings/clock/imxrt*-clock.h
16  for the full list of i.MXRT clock IDs.
17
18properties:
19  compatible:
20    const: fsl,imxrt1050-ccm
21
22  reg:
23    maxItems: 1
24
25  interrupts:
26    maxItems: 2
27
28  clocks:
29    description: 24m osc
30    maxItems: 1
31
32  clock-names:
33    const: osc
34
35  '#clock-cells':
36    const: 1
37
38required:
39  - compatible
40  - reg
41  - interrupts
42  - clocks
43  - clock-names
44  - '#clock-cells'
45
46additionalProperties: false
47
48examples:
49  - |
50    #include <dt-bindings/clock/imxrt1050-clock.h>
51
52    clks: clock-controller@400fc000 {
53        compatible = "fsl,imxrt1050-ccm";
54        reg = <0x400fc000 0x4000>;
55        interrupts = <95>, <96>;
56        clocks = <&osc>;
57        clock-names = "osc";
58        #clock-cells = <1>;
59    };
60