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