xref: /freebsd/sys/contrib/device-tree/Bindings/clock/imx21-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/imx21-clock.yaml#
5c66ec88fSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
6c66ec88fSEmmanuel Vadot
7*8bab661aSEmmanuel Vadottitle: Freescale i.MX21 Clock Controller
8c66ec88fSEmmanuel Vadot
9c66ec88fSEmmanuel Vadotmaintainers:
10c66ec88fSEmmanuel Vadot  - Alexander Shiyan <shc_work@mail.ru>
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/imx21-clock.h
15c66ec88fSEmmanuel Vadot  for the full list of i.MX21 clock IDs.
16c66ec88fSEmmanuel Vadot
17c66ec88fSEmmanuel Vadotproperties:
18c66ec88fSEmmanuel Vadot  compatible:
19c66ec88fSEmmanuel Vadot    const: fsl,imx21-ccm
20c66ec88fSEmmanuel Vadot
21c66ec88fSEmmanuel Vadot  reg:
22c66ec88fSEmmanuel Vadot    maxItems: 1
23c66ec88fSEmmanuel Vadot
24c66ec88fSEmmanuel Vadot  '#clock-cells':
25c66ec88fSEmmanuel Vadot    const: 1
26c66ec88fSEmmanuel Vadot
27c66ec88fSEmmanuel Vadotrequired:
28c66ec88fSEmmanuel Vadot  - compatible
29c66ec88fSEmmanuel Vadot  - reg
30c66ec88fSEmmanuel Vadot  - '#clock-cells'
31c66ec88fSEmmanuel Vadot
32c66ec88fSEmmanuel VadotadditionalProperties: false
33c66ec88fSEmmanuel Vadot
34c66ec88fSEmmanuel Vadotexamples:
35c66ec88fSEmmanuel Vadot  - |
36c66ec88fSEmmanuel Vadot    #include <dt-bindings/clock/imx21-clock.h>
37c66ec88fSEmmanuel Vadot
38c66ec88fSEmmanuel Vadot    clock-controller@10027000 {
39c66ec88fSEmmanuel Vadot        compatible = "fsl,imx21-ccm";
40c66ec88fSEmmanuel Vadot        reg = <0x10027000 0x800>;
41c66ec88fSEmmanuel Vadot        #clock-cells = <1>;
42c66ec88fSEmmanuel Vadot    };
43