xref: /freebsd/sys/contrib/device-tree/Bindings/clock/imx27-clock.yaml (revision 8bab661a3316d8bd9b9fbd11a3b4371b91507bd2)
1c66ec88fSEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2c66ec88fSEmmanuel Vadot%YAML 1.2
3c66ec88fSEmmanuel Vadot---
4c66ec88fSEmmanuel Vadot$id: http://devicetree.org/schemas/clock/imx27-clock.yaml#
5c66ec88fSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
6c66ec88fSEmmanuel Vadot
7*8bab661aSEmmanuel Vadottitle: Freescale i.MX27 Clock Controller
8c66ec88fSEmmanuel Vadot
9c66ec88fSEmmanuel Vadotmaintainers:
105def4c47SEmmanuel Vadot  - Fabio Estevam <festevam@gmail.com>
11c66ec88fSEmmanuel Vadot
12c66ec88fSEmmanuel Vadotdescription: |
13c66ec88fSEmmanuel Vadot  The clock consumer should specify the desired clock by having the clock
14c66ec88fSEmmanuel Vadot  ID in its "clocks" phandle cell. See include/dt-bindings/clock/imx27-clock.h
15c66ec88fSEmmanuel Vadot  for the full list of i.MX27 clock IDs.
16c66ec88fSEmmanuel Vadot
17c66ec88fSEmmanuel Vadotproperties:
18c66ec88fSEmmanuel Vadot  compatible:
19c66ec88fSEmmanuel Vadot    const: fsl,imx27-ccm
20c66ec88fSEmmanuel Vadot
21c66ec88fSEmmanuel Vadot  reg:
22c66ec88fSEmmanuel Vadot    maxItems: 1
23c66ec88fSEmmanuel Vadot
24c66ec88fSEmmanuel Vadot  interrupts:
25c66ec88fSEmmanuel Vadot    maxItems: 1
26c66ec88fSEmmanuel Vadot
27c66ec88fSEmmanuel Vadot  '#clock-cells':
28c66ec88fSEmmanuel Vadot    const: 1
29c66ec88fSEmmanuel Vadot
30c66ec88fSEmmanuel Vadotrequired:
31c66ec88fSEmmanuel Vadot  - compatible
32c66ec88fSEmmanuel Vadot  - reg
33c66ec88fSEmmanuel Vadot  - '#clock-cells'
34c66ec88fSEmmanuel Vadot
35c66ec88fSEmmanuel VadotadditionalProperties: false
36c66ec88fSEmmanuel Vadot
37c66ec88fSEmmanuel Vadotexamples:
38c66ec88fSEmmanuel Vadot  - |
39c66ec88fSEmmanuel Vadot    #include <dt-bindings/clock/imx27-clock.h>
40c66ec88fSEmmanuel Vadot
41c66ec88fSEmmanuel Vadot    clock-controller@10027000 {
42c66ec88fSEmmanuel Vadot        compatible = "fsl,imx27-ccm";
43c66ec88fSEmmanuel Vadot        reg = <0x10027000 0x1000>;
44c66ec88fSEmmanuel Vadot        interrupts = <31>;
45c66ec88fSEmmanuel Vadot        #clock-cells = <1>;
46c66ec88fSEmmanuel Vadot    };
47