Documentation / devicetree / bindings / clock / imxrt1050-clock.yaml


Based on kernel version 6.8. Page generated on 2024-03-11 21:26 EST.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/clock/imxrt1050-clock.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Freescale i.MXRT Clock Controller

maintainers:
  - Giulio Benetti <giulio.benetti@benettiengineering.com>
  - Jesse Taube <Mr.Bossman075@gmail.com>

description: |
  The clock consumer should specify the desired clock by having the clock
  ID in its "clocks" phandle cell. See include/dt-bindings/clock/imxrt*-clock.h
  for the full list of i.MXRT clock IDs.

properties:
  compatible:
    const: fsl,imxrt1050-ccm

  reg:
    maxItems: 1

  interrupts:
    maxItems: 2

  clocks:
    description: 24m osc
    maxItems: 1

  clock-names:
    const: osc
 
  '#clock-cells':
    const: 1

required:
  - compatible
  - reg
  - interrupts
  - clocks
  - clock-names
  - '#clock-cells'

additionalProperties: false

examples:
  - |
    #include <dt-bindings/clock/imxrt1050-clock.h>
 
    clks: clock-controller@400fc000 {
        compatible = "fsl,imxrt1050-ccm";
        reg = <0x400fc000 0x4000>;
        interrupts = <95>, <96>;
        clocks = <&osc>;
        clock-names = "osc";
        #clock-cells = <1>;
    };