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/imx7d-clock.yaml#
0005 $schema: http://devicetree.org/meta-schemas/core.yaml#
0006 
0007 title: Clock bindings for Freescale i.MX7 Dual
0008 
0009 maintainers:
0010   - Frank Li <Frank.Li@nxp.com>
0011   - Anson Huang <Anson.Huang@nxp.com>
0012 
0013 description: |
0014   The clock consumer should specify the desired clock by having the clock
0015   ID in its "clocks" phandle cell. See include/dt-bindings/clock/imx7d-clock.h
0016   for the full list of i.MX7 Dual clock IDs.
0017 
0018 properties:
0019   compatible:
0020     const: fsl,imx7d-ccm
0021 
0022   reg:
0023     maxItems: 1
0024 
0025   interrupts:
0026     items:
0027       - description: CCM interrupt request 1
0028       - description: CCM interrupt request 2
0029 
0030   '#clock-cells':
0031     const: 1
0032 
0033   clocks:
0034     items:
0035       - description: 32k osc
0036       - description: 24m osc
0037 
0038   clock-names:
0039     items:
0040       - const: ckil
0041       - const: osc
0042 
0043 required:
0044   - compatible
0045   - reg
0046   - interrupts
0047   - clocks
0048   - clock-names
0049   - '#clock-cells'
0050 
0051 additionalProperties: false
0052 
0053 examples:
0054   - |
0055     #include <dt-bindings/interrupt-controller/arm-gic.h>
0056 
0057     clock-controller@30380000 {
0058         compatible = "fsl,imx7d-ccm";
0059         reg = <0x30380000 0x10000>;
0060         interrupts = <GIC_SPI 85 IRQ_TYPE_LEVEL_HIGH>,
0061                      <GIC_SPI 86 IRQ_TYPE_LEVEL_HIGH>;
0062         #clock-cells = <1>;
0063         clocks = <&ckil>, <&osc>;
0064         clock-names = "ckil", "osc";
0065     };