File: imxrt1050-clock.yaml

package info (click to toggle)
linux 6.12.69-1
  • links: PTS, VCS
  • area: main
  • in suites: trixie-proposed-updates
  • size: 1,675,776 kB
  • sloc: ansic: 25,915,311; asm: 269,652; sh: 136,658; python: 65,456; makefile: 55,720; perl: 37,753; xml: 19,284; cpp: 5,895; yacc: 4,927; lex: 2,939; awk: 1,594; sed: 28; ruby: 25
file content (59 lines) | stat: -rw-r--r-- 1,214 bytes parent folder | download | duplicates (31)
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>;
    };