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/imxrt1050-clock.yaml#
0005 $schema: http://devicetree.org/meta-schemas/core.yaml#
0006 
0007 title: Clock bindings for Freescale i.MXRT
0008 
0009 maintainers:
0010   - Giulio Benetti <giulio.benetti@benettiengineering.com>
0011   - Jesse Taube <Mr.Bossman075@gmail.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/imxrt*-clock.h
0016   for the full list of i.MXRT clock IDs.
0017 
0018 properties:
0019   compatible:
0020     const: fsl,imxrt1050-ccm
0021 
0022   reg:
0023     maxItems: 1
0024 
0025   interrupts:
0026     maxItems: 2
0027 
0028   clocks:
0029     description: 24m osc
0030     maxItems: 1
0031 
0032   clock-names:
0033     const: osc
0034 
0035   '#clock-cells':
0036     const: 1
0037 
0038 required:
0039   - compatible
0040   - reg
0041   - interrupts
0042   - clocks
0043   - clock-names
0044   - '#clock-cells'
0045 
0046 additionalProperties: false
0047 
0048 examples:
0049   - |
0050     #include <dt-bindings/clock/imxrt1050-clock.h>
0051 
0052     clks: clock-controller@400fc000 {
0053         compatible = "fsl,imxrt1050-ccm";
0054         reg = <0x400fc000 0x4000>;
0055         interrupts = <95>, <96>;
0056         clocks = <&osc>;
0057         clock-names = "osc";
0058         #clock-cells = <1>;
0059     };