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