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