1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2%YAML 1.2 3--- 4$id: http://devicetree.org/schemas/clock/imx7d-clock.yaml# 5$schema: http://devicetree.org/meta-schemas/core.yaml# 6 7title: Freescale i.MX7 Dual Clock Controller 8 9maintainers: 10 - Frank Li <Frank.Li@nxp.com> 11 12description: | 13 The clock consumer should specify the desired clock by having the clock 14 ID in its "clocks" phandle cell. See include/dt-bindings/clock/imx7d-clock.h 15 for the full list of i.MX7 Dual clock IDs. 16 17properties: 18 compatible: 19 const: fsl,imx7d-ccm 20 21 reg: 22 maxItems: 1 23 24 interrupts: 25 items: 26 - description: CCM interrupt request 1 27 - description: CCM interrupt request 2 28 29 '#clock-cells': 30 const: 1 31 32 clocks: 33 items: 34 - description: 32k osc 35 - description: 24m osc 36 37 clock-names: 38 items: 39 - const: ckil 40 - const: osc 41 42required: 43 - compatible 44 - reg 45 - interrupts 46 - clocks 47 - clock-names 48 - '#clock-cells' 49 50additionalProperties: false 51 52examples: 53 - | 54 #include <dt-bindings/interrupt-controller/arm-gic.h> 55 56 clock-controller@30380000 { 57 compatible = "fsl,imx7d-ccm"; 58 reg = <0x30380000 0x10000>; 59 interrupts = <GIC_SPI 85 IRQ_TYPE_LEVEL_HIGH>, 60 <GIC_SPI 86 IRQ_TYPE_LEVEL_HIGH>; 61 #clock-cells = <1>; 62 clocks = <&ckil>, <&osc>; 63 clock-names = "ckil", "osc"; 64 }; 65