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/imx6ul-clock.yaml# 5c66ec88fSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml# 6c66ec88fSEmmanuel Vadot 7*8bab661aSEmmanuel Vadottitle: Freescale i.MX6 UltraLite Clock Controller 8c66ec88fSEmmanuel Vadot 9c66ec88fSEmmanuel Vadotmaintainers: 10c66ec88fSEmmanuel Vadot - Anson Huang <Anson.Huang@nxp.com> 11c66ec88fSEmmanuel Vadot 12c66ec88fSEmmanuel Vadotproperties: 13c66ec88fSEmmanuel Vadot compatible: 14c66ec88fSEmmanuel Vadot const: fsl,imx6ul-ccm 15c66ec88fSEmmanuel Vadot 16c66ec88fSEmmanuel Vadot reg: 17c66ec88fSEmmanuel Vadot maxItems: 1 18c66ec88fSEmmanuel Vadot 19c66ec88fSEmmanuel Vadot interrupts: 20c66ec88fSEmmanuel Vadot description: CCM provides 2 interrupt requests, request 1 is to generate 21c66ec88fSEmmanuel Vadot interrupt for frequency or mux change, request 2 is to generate 22c66ec88fSEmmanuel Vadot interrupt for oscillator read or PLL lock. 23c66ec88fSEmmanuel Vadot items: 24c66ec88fSEmmanuel Vadot - description: CCM interrupt request 1 25c66ec88fSEmmanuel Vadot - description: CCM interrupt request 2 26c66ec88fSEmmanuel Vadot 27c66ec88fSEmmanuel Vadot '#clock-cells': 28c66ec88fSEmmanuel Vadot const: 1 29c66ec88fSEmmanuel Vadot 30c66ec88fSEmmanuel Vadot clocks: 31c66ec88fSEmmanuel Vadot items: 32c66ec88fSEmmanuel Vadot - description: 32k osc 33c66ec88fSEmmanuel Vadot - description: 24m osc 34c66ec88fSEmmanuel Vadot - description: ipp_di0 clock input 35c66ec88fSEmmanuel Vadot - description: ipp_di1 clock input 36c66ec88fSEmmanuel Vadot 37c66ec88fSEmmanuel Vadot clock-names: 38c66ec88fSEmmanuel Vadot items: 39c66ec88fSEmmanuel Vadot - const: ckil 40c66ec88fSEmmanuel Vadot - const: osc 41c66ec88fSEmmanuel Vadot - const: ipp_di0 42c66ec88fSEmmanuel Vadot - const: ipp_di1 43c66ec88fSEmmanuel Vadot 44c66ec88fSEmmanuel Vadotrequired: 45c66ec88fSEmmanuel Vadot - compatible 46c66ec88fSEmmanuel Vadot - reg 47c66ec88fSEmmanuel Vadot - interrupts 48c66ec88fSEmmanuel Vadot - '#clock-cells' 49c66ec88fSEmmanuel Vadot - clocks 50c66ec88fSEmmanuel Vadot - clock-names 51c66ec88fSEmmanuel Vadot 526be33864SEmmanuel VadotadditionalProperties: false 536be33864SEmmanuel Vadot 54c66ec88fSEmmanuel Vadotexamples: 55c66ec88fSEmmanuel Vadot # Clock Control Module node: 56c66ec88fSEmmanuel Vadot - | 57c66ec88fSEmmanuel Vadot #include <dt-bindings/interrupt-controller/arm-gic.h> 58c66ec88fSEmmanuel Vadot 59c66ec88fSEmmanuel Vadot clock-controller@20c4000 { 60c66ec88fSEmmanuel Vadot compatible = "fsl,imx6ul-ccm"; 61c66ec88fSEmmanuel Vadot reg = <0x020c4000 0x4000>; 62c66ec88fSEmmanuel Vadot interrupts = <GIC_SPI 87 IRQ_TYPE_LEVEL_HIGH>, 63c66ec88fSEmmanuel Vadot <GIC_SPI 88 IRQ_TYPE_LEVEL_HIGH>; 64c66ec88fSEmmanuel Vadot #clock-cells = <1>; 65c66ec88fSEmmanuel Vadot clocks = <&ckil>, <&osc>, <&ipp_di0>, <&ipp_di1>; 66c66ec88fSEmmanuel Vadot clock-names = "ckil", "osc", "ipp_di0", "ipp_di1"; 67c66ec88fSEmmanuel Vadot }; 68