xref: /linux/Documentation/devicetree/bindings/clock/imx6q-clock.yaml (revision 170aafe35cb98e0f3fbacb446ea86389fbce22ea)
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: Freescale i.MX6 Quad Clock Controller
8
9maintainers:
10  - Abel Vesa <abelvesa@kernel.org>
11  - Peng Fan <peng.fan@nxp.com>
12
13properties:
14  compatible:
15    const: fsl,imx6q-ccm
16
17  reg:
18    maxItems: 1
19
20  interrupts:
21    description: CCM provides 2 interrupt requests, request 1 is to generate
22      interrupt for frequency or mux change, request 2 is to generate
23      interrupt for oscillator read or PLL lock.
24    items:
25      - description: CCM interrupt request 1
26      - description: CCM interrupt request 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
61additionalProperties: false
62
63examples:
64  # Clock Control Module node:
65  - |
66    #include <dt-bindings/interrupt-controller/arm-gic.h>
67
68    clock-controller@20c4000 {
69        compatible = "fsl,imx6q-ccm";
70        reg = <0x020c4000 0x4000>;
71        interrupts = <0 87 IRQ_TYPE_LEVEL_HIGH>,
72                     <0 88 IRQ_TYPE_LEVEL_HIGH>;
73        #clock-cells = <1>;
74    };
75