1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/clock/imx6q-clock.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Clock bindings for Freescale i.MX6 Quad
8
9maintainers:
10  - Anson Huang <Anson.Huang@nxp.com>
11
12properties:
13  compatible:
14    const: fsl,imx6q-ccm
15
16  reg:
17    maxItems: 1
18
19  interrupts:
20    description: CCM provides 2 interrupt requests, request 1 is to generate
21      interrupt for frequency or mux change, request 2 is to generate
22      interrupt for oscillator read or PLL lock.
23    items:
24      - description: CCM interrupt request 1
25      - description: CCM interrupt request 2
26    maxItems: 2
27
28  '#clock-cells':
29    const: 1
30
31  clocks:
32    items:
33      - description: 24m osc
34      - description: 32k osc
35      - description: ckih1 clock input
36      - description: anaclk1 clock input
37      - description: anaclk2 clock input
38
39  clock-names:
40    items:
41      - const: osc
42      - const: ckil
43      - const: ckih1
44      - const: anaclk1
45      - const: anaclk2
46
47  fsl,pmic-stby-poweroff:
48    $ref: /schemas/types.yaml#/definitions/flag
49    description: |
50      Use this property if the SoC should be powered off by external power
51      management IC (PMIC) triggered via PMIC_STBY_REQ signal.
52      Boards that are designed to initiate poweroff on PMIC_ON_REQ signal should
53      be using "syscon-poweroff" driver instead.
54
55required:
56  - compatible
57  - reg
58  - interrupts
59  - '#clock-cells'
60
61examples:
62  # Clock Control Module node:
63  - |
64    #include <dt-bindings/interrupt-controller/arm-gic.h>
65
66    clock-controller@20c4000 {
67        compatible = "fsl,imx6q-ccm";
68        reg = <0x020c4000 0x4000>;
69        interrupts = <0 87 IRQ_TYPE_LEVEL_HIGH>,
70                     <0 88 IRQ_TYPE_LEVEL_HIGH>;
71        #clock-cells = <1>;
72    };
73