xref: /linux/Documentation/devicetree/bindings/clock/imx6sx-clock.yaml (revision 499f5e3c7cf77355f663ed602334a1b42223c78a)
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/clock/imx6sx-clock.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Freescale i.MX6 SoloX Clock Controller
8
9maintainers:
10  - Abel Vesa <abelvesa@kernel.org>
11  - Peng Fan <peng.fan@nxp.com>
12
13properties:
14  compatible:
15    const: fsl,imx6sx-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: 32k osc
34      - description: 24m osc
35      - description: ipp_di0 clock input
36      - description: ipp_di1 clock input
37      - description: anaclk1 clock input
38      - description: anaclk2 clock input
39
40  clock-names:
41    items:
42      - const: ckil
43      - const: osc
44      - const: ipp_di0
45      - const: ipp_di1
46      - const: anaclk1
47      - const: anaclk2
48
49required:
50  - compatible
51  - reg
52  - interrupts
53  - '#clock-cells'
54  - clocks
55  - clock-names
56
57additionalProperties: false
58
59examples:
60  # Clock Control Module node:
61  - |
62    #include <dt-bindings/interrupt-controller/arm-gic.h>
63
64    clock-controller@20c4000 {
65        compatible = "fsl,imx6sx-ccm";
66        reg = <0x020c4000 0x4000>;
67        interrupts = <GIC_SPI 87 IRQ_TYPE_LEVEL_HIGH>,
68                     <GIC_SPI 88 IRQ_TYPE_LEVEL_HIGH>;
69        #clock-cells = <1>;
70        clocks = <&ckil>, <&osc>, <&ipp_di0>, <&ipp_di1>, <&anaclk1>, <&anaclk2>;
71        clock-names = "ckil", "osc", "ipp_di0", "ipp_di1", "anaclk1", "anaclk2";
72    };
73