xref: /freebsd/sys/contrib/device-tree/Bindings/clock/imx93-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/imx93-clock.yaml#
5c9ccf3a3SEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
6c9ccf3a3SEmmanuel Vadot
7*8bab661aSEmmanuel Vadottitle: NXP i.MX93 Clock Control Module
8c9ccf3a3SEmmanuel Vadot
9c9ccf3a3SEmmanuel Vadotmaintainers:
10c9ccf3a3SEmmanuel Vadot  - Peng Fan <peng.fan@nxp.com>
11c9ccf3a3SEmmanuel Vadot
12c9ccf3a3SEmmanuel Vadotdescription: |
13c9ccf3a3SEmmanuel Vadot  i.MX93 clock control module is an integrated clock controller, which
14c9ccf3a3SEmmanuel Vadot  includes clock generator, clock gate and supplies to all modules.
15c9ccf3a3SEmmanuel Vadot
16c9ccf3a3SEmmanuel Vadotproperties:
17c9ccf3a3SEmmanuel Vadot  compatible:
18c9ccf3a3SEmmanuel Vadot    enum:
19c9ccf3a3SEmmanuel Vadot      - fsl,imx93-ccm
20c9ccf3a3SEmmanuel Vadot
21c9ccf3a3SEmmanuel Vadot  reg:
22c9ccf3a3SEmmanuel Vadot    maxItems: 1
23c9ccf3a3SEmmanuel Vadot
24c9ccf3a3SEmmanuel Vadot  clocks:
25c9ccf3a3SEmmanuel Vadot    description:
26c9ccf3a3SEmmanuel Vadot      specify the external clocks used by the CCM module.
27c9ccf3a3SEmmanuel Vadot    items:
28c9ccf3a3SEmmanuel Vadot      - description: 32k osc
29c9ccf3a3SEmmanuel Vadot      - description: 24m osc
30c9ccf3a3SEmmanuel Vadot      - description: ext1 clock input
31c9ccf3a3SEmmanuel Vadot
32c9ccf3a3SEmmanuel Vadot  clock-names:
33c9ccf3a3SEmmanuel Vadot    description:
34c9ccf3a3SEmmanuel Vadot      specify the external clocks names used by the CCM module.
35c9ccf3a3SEmmanuel Vadot    items:
36c9ccf3a3SEmmanuel Vadot      - const: osc_32k
37c9ccf3a3SEmmanuel Vadot      - const: osc_24m
38c9ccf3a3SEmmanuel Vadot      - const: clk_ext1
39c9ccf3a3SEmmanuel Vadot
40c9ccf3a3SEmmanuel Vadot  '#clock-cells':
41c9ccf3a3SEmmanuel Vadot    const: 1
42c9ccf3a3SEmmanuel Vadot    description:
43c9ccf3a3SEmmanuel Vadot      See include/dt-bindings/clock/imx93-clock.h for the full list of
44c9ccf3a3SEmmanuel Vadot      i.MX93 clock IDs.
45c9ccf3a3SEmmanuel Vadot
46c9ccf3a3SEmmanuel Vadotrequired:
47c9ccf3a3SEmmanuel Vadot  - compatible
48c9ccf3a3SEmmanuel Vadot  - reg
49c9ccf3a3SEmmanuel Vadot  - '#clock-cells'
50c9ccf3a3SEmmanuel Vadot
51c9ccf3a3SEmmanuel VadotadditionalProperties: false
52c9ccf3a3SEmmanuel Vadot
53c9ccf3a3SEmmanuel Vadotexamples:
54c9ccf3a3SEmmanuel Vadot  # Clock Control Module node:
55c9ccf3a3SEmmanuel Vadot  - |
56c9ccf3a3SEmmanuel Vadot    clock-controller@44450000 {
57c9ccf3a3SEmmanuel Vadot        compatible = "fsl,imx93-ccm";
58c9ccf3a3SEmmanuel Vadot        reg = <0x44450000 0x10000>;
59c9ccf3a3SEmmanuel Vadot        #clock-cells = <1>;
60c9ccf3a3SEmmanuel Vadot    };
61c9ccf3a3SEmmanuel Vadot
62c9ccf3a3SEmmanuel Vadot...
63