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/imx6q-clock.yaml#
0005 $schema: http://devicetree.org/meta-schemas/core.yaml#
0006 
0007 title: Clock bindings for Freescale i.MX6 Quad
0008 
0009 maintainers:
0010   - Anson Huang <Anson.Huang@nxp.com>
0011 
0012 properties:
0013   compatible:
0014     const: fsl,imx6q-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: 24m osc
0033       - description: 32k osc
0034       - description: ckih1 clock input
0035       - description: anaclk1 clock input
0036       - description: anaclk2 clock input
0037 
0038   clock-names:
0039     items:
0040       - const: osc
0041       - const: ckil
0042       - const: ckih1
0043       - const: anaclk1
0044       - const: anaclk2
0045 
0046   fsl,pmic-stby-poweroff:
0047     $ref: /schemas/types.yaml#/definitions/flag
0048     description: |
0049       Use this property if the SoC should be powered off by external power
0050       management IC (PMIC) triggered via PMIC_STBY_REQ signal.
0051       Boards that are designed to initiate poweroff on PMIC_ON_REQ signal should
0052       be using "syscon-poweroff" driver instead.
0053 
0054 required:
0055   - compatible
0056   - reg
0057   - interrupts
0058   - '#clock-cells'
0059 
0060 additionalProperties: false
0061 
0062 examples:
0063   # Clock Control Module node:
0064   - |
0065     #include <dt-bindings/interrupt-controller/arm-gic.h>
0066 
0067     clock-controller@20c4000 {
0068         compatible = "fsl,imx6q-ccm";
0069         reg = <0x020c4000 0x4000>;
0070         interrupts = <0 87 IRQ_TYPE_LEVEL_HIGH>,
0071                      <0 88 IRQ_TYPE_LEVEL_HIGH>;
0072         #clock-cells = <1>;
0073     };