1c66ec88fSEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2c66ec88fSEmmanuel Vadot%YAML 1.2 3c66ec88fSEmmanuel Vadot--- 4c66ec88fSEmmanuel Vadot$id: http://devicetree.org/schemas/clock/imx5-clock.yaml# 5c66ec88fSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml# 6c66ec88fSEmmanuel Vadot 7*8bab661aSEmmanuel Vadottitle: Freescale i.MX5 Clock Controller 8c66ec88fSEmmanuel Vadot 9c66ec88fSEmmanuel Vadotmaintainers: 105def4c47SEmmanuel Vadot - Fabio Estevam <festevam@gmail.com> 11c66ec88fSEmmanuel Vadot 12c66ec88fSEmmanuel Vadotdescription: | 13c66ec88fSEmmanuel Vadot The clock consumer should specify the desired clock by having the clock 14c66ec88fSEmmanuel Vadot ID in its "clocks" phandle cell. See include/dt-bindings/clock/imx5-clock.h 15c66ec88fSEmmanuel Vadot for the full list of i.MX5 clock IDs. 16c66ec88fSEmmanuel Vadot 17c66ec88fSEmmanuel Vadotproperties: 18c66ec88fSEmmanuel Vadot compatible: 19c66ec88fSEmmanuel Vadot enum: 20c66ec88fSEmmanuel Vadot - fsl,imx53-ccm 21c66ec88fSEmmanuel Vadot - fsl,imx51-ccm 22c66ec88fSEmmanuel Vadot - fsl,imx50-ccm 23c66ec88fSEmmanuel Vadot 24c66ec88fSEmmanuel Vadot reg: 25c66ec88fSEmmanuel Vadot maxItems: 1 26c66ec88fSEmmanuel Vadot 27c66ec88fSEmmanuel Vadot interrupts: 28c66ec88fSEmmanuel Vadot description: CCM provides 2 interrupt requests, request 1 is to generate 29c66ec88fSEmmanuel Vadot interrupt for frequency or mux change, request 2 is to generate 30c66ec88fSEmmanuel Vadot interrupt for oscillator read or PLL lock. 31c66ec88fSEmmanuel Vadot items: 32c66ec88fSEmmanuel Vadot - description: CCM interrupt request 1 33c66ec88fSEmmanuel Vadot - description: CCM interrupt request 2 34c66ec88fSEmmanuel Vadot 35c66ec88fSEmmanuel Vadot '#clock-cells': 36c66ec88fSEmmanuel Vadot const: 1 37c66ec88fSEmmanuel Vadot 38c66ec88fSEmmanuel Vadotrequired: 39c66ec88fSEmmanuel Vadot - compatible 40c66ec88fSEmmanuel Vadot - reg 41c66ec88fSEmmanuel Vadot - interrupts 42c66ec88fSEmmanuel Vadot - '#clock-cells' 43c66ec88fSEmmanuel Vadot 44c66ec88fSEmmanuel VadotadditionalProperties: false 45c66ec88fSEmmanuel Vadot 46c66ec88fSEmmanuel Vadotexamples: 47c66ec88fSEmmanuel Vadot - | 48c66ec88fSEmmanuel Vadot #include <dt-bindings/clock/imx5-clock.h> 49c66ec88fSEmmanuel Vadot #include <dt-bindings/interrupt-controller/arm-gic.h> 50c66ec88fSEmmanuel Vadot 51c66ec88fSEmmanuel Vadot clock-controller@53fd4000{ 52c66ec88fSEmmanuel Vadot compatible = "fsl,imx53-ccm"; 53c66ec88fSEmmanuel Vadot reg = <0x53fd4000 0x4000>; 54c66ec88fSEmmanuel Vadot interrupts = <0 71 IRQ_TYPE_LEVEL_HIGH>, 55c66ec88fSEmmanuel Vadot <0 72 IRQ_TYPE_LEVEL_HIGH>; 56c66ec88fSEmmanuel Vadot #clock-cells = <1>; 57c66ec88fSEmmanuel Vadot }; 58e67e8565SEmmanuel Vadot... 59