Back to home page

OSCL-LXR

 
 

    


0001 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
0002 %YAML 1.2
0003 ---
0004 $id: http://devicetree.org/schemas/clock/imx6sll-clock.yaml#
0005 $schema: http://devicetree.org/meta-schemas/core.yaml#
0006 
0007 title: Clock bindings for Freescale i.MX6 SLL
0008 
0009 maintainers:
0010   - Anson Huang <Anson.Huang@nxp.com>
0011 
0012 properties:
0013   compatible:
0014     const: fsl,imx6sll-ccm
0015 
0016   reg:
0017     maxItems: 1
0018 
0019   interrupts:
0020     description: CCM provides 2 interrupt requests, request 1 is to generate
0021       interrupt for frequency or mux change, request 2 is to generate
0022       interrupt for oscillator read or PLL lock.
0023     items:
0024       - description: CCM interrupt request 1
0025       - description: CCM interrupt request 2
0026 
0027   '#clock-cells':
0028     const: 1
0029 
0030   clocks:
0031     items:
0032       - description: 32k osc
0033       - description: 24m osc
0034       - description: ipp_di0 clock input
0035       - description: ipp_di1 clock input
0036 
0037   clock-names:
0038     items:
0039       - const: ckil
0040       - const: osc
0041       - const: ipp_di0
0042       - const: ipp_di1
0043 
0044 required:
0045   - compatible
0046   - reg
0047   - interrupts
0048   - '#clock-cells'
0049   - clocks
0050   - clock-names
0051 
0052 additionalProperties: false
0053 
0054 examples:
0055   # Clock Control Module node:
0056   - |
0057     #include <dt-bindings/interrupt-controller/arm-gic.h>
0058 
0059     clock-controller@20c4000 {
0060         compatible = "fsl,imx6sll-ccm";
0061         reg = <0x020c4000 0x4000>;
0062         interrupts = <GIC_SPI 87 IRQ_TYPE_LEVEL_HIGH>,
0063                      <GIC_SPI 88 IRQ_TYPE_LEVEL_HIGH>;
0064         #clock-cells = <1>;
0065         clocks = <&ckil>, <&osc>, <&ipp_di0>, <&ipp_di1>;
0066         clock-names = "ckil", "osc", "ipp_di0", "ipp_di1";
0067     };