Linux kernel mirror (for testing)
git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel
os
linux
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/clock/imx6q-clock.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Freescale i.MX6 Quad Clock Controller
8
9maintainers:
10 - Abel Vesa <abelvesa@kernel.org>
11 - Peng Fan <peng.fan@nxp.com>
12
13properties:
14 compatible:
15 const: fsl,imx6q-ccm
16
17 reg:
18 maxItems: 1
19
20 interrupts:
21 description: CCM provides 2 interrupt requests, request 1 is to generate
22 interrupt for frequency or mux change, request 2 is to generate
23 interrupt for oscillator read or PLL lock.
24 items:
25 - description: CCM interrupt request 1
26 - description: CCM interrupt request 2
27
28 '#clock-cells':
29 const: 1
30
31 clocks:
32 minItems: 5
33 items:
34 - description: 24m osc
35 - description: 32k osc
36 - description: ckih1 clock input
37 - description: anaclk1 clock input
38 - description: anaclk2 clock input
39 - description: clock input from enet ref pad
40
41 clock-names:
42 minItems: 5
43 items:
44 - const: osc
45 - const: ckil
46 - const: ckih1
47 - const: anaclk1
48 - const: anaclk2
49 - const: enet_ref_pad
50
51 fsl,pmic-stby-poweroff:
52 $ref: /schemas/types.yaml#/definitions/flag
53 description: |
54 Use this property if the SoC should be powered off by external power
55 management IC (PMIC) triggered via PMIC_STBY_REQ signal.
56 Boards that are designed to initiate poweroff on PMIC_ON_REQ signal should
57 be using "syscon-poweroff" driver instead.
58
59required:
60 - compatible
61 - reg
62 - interrupts
63 - '#clock-cells'
64
65additionalProperties: false
66
67examples:
68 # Clock Control Module node:
69 - |
70 #include <dt-bindings/interrupt-controller/arm-gic.h>
71
72 clock-controller@20c4000 {
73 compatible = "fsl,imx6q-ccm";
74 reg = <0x020c4000 0x4000>;
75 interrupts = <0 87 IRQ_TYPE_LEVEL_HIGH>,
76 <0 88 IRQ_TYPE_LEVEL_HIGH>;
77 #clock-cells = <1>;
78 };