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