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/imx6q-clock.yaml# 5c66ec88fSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml# 6c66ec88fSEmmanuel Vadot 78bab661aSEmmanuel Vadottitle: Freescale i.MX6 Quad Clock Controller 8c66ec88fSEmmanuel Vadot 9c66ec88fSEmmanuel Vadotmaintainers: 10*0e8011faSEmmanuel Vadot - Abel Vesa <abelvesa@kernel.org> 11*0e8011faSEmmanuel Vadot - Peng Fan <peng.fan@nxp.com> 12c66ec88fSEmmanuel Vadot 13c66ec88fSEmmanuel Vadotproperties: 14c66ec88fSEmmanuel Vadot compatible: 15c66ec88fSEmmanuel Vadot const: fsl,imx6q-ccm 16c66ec88fSEmmanuel Vadot 17c66ec88fSEmmanuel Vadot reg: 18c66ec88fSEmmanuel Vadot maxItems: 1 19c66ec88fSEmmanuel Vadot 20c66ec88fSEmmanuel Vadot interrupts: 21c66ec88fSEmmanuel Vadot description: CCM provides 2 interrupt requests, request 1 is to generate 22c66ec88fSEmmanuel Vadot interrupt for frequency or mux change, request 2 is to generate 23c66ec88fSEmmanuel Vadot interrupt for oscillator read or PLL lock. 24c66ec88fSEmmanuel Vadot items: 25c66ec88fSEmmanuel Vadot - description: CCM interrupt request 1 26c66ec88fSEmmanuel Vadot - description: CCM interrupt request 2 27c66ec88fSEmmanuel Vadot 28c66ec88fSEmmanuel Vadot '#clock-cells': 29c66ec88fSEmmanuel Vadot const: 1 30c66ec88fSEmmanuel Vadot 31c66ec88fSEmmanuel Vadot clocks: 32c66ec88fSEmmanuel Vadot items: 33c66ec88fSEmmanuel Vadot - description: 24m osc 34c66ec88fSEmmanuel Vadot - description: 32k osc 35c66ec88fSEmmanuel Vadot - description: ckih1 clock input 36c66ec88fSEmmanuel Vadot - description: anaclk1 clock input 37c66ec88fSEmmanuel Vadot - description: anaclk2 clock input 38c66ec88fSEmmanuel Vadot 39c66ec88fSEmmanuel Vadot clock-names: 40c66ec88fSEmmanuel Vadot items: 41c66ec88fSEmmanuel Vadot - const: osc 42c66ec88fSEmmanuel Vadot - const: ckil 43c66ec88fSEmmanuel Vadot - const: ckih1 44c66ec88fSEmmanuel Vadot - const: anaclk1 45c66ec88fSEmmanuel Vadot - const: anaclk2 46c66ec88fSEmmanuel Vadot 47c66ec88fSEmmanuel Vadot fsl,pmic-stby-poweroff: 48c66ec88fSEmmanuel Vadot $ref: /schemas/types.yaml#/definitions/flag 49c66ec88fSEmmanuel Vadot description: | 50c66ec88fSEmmanuel Vadot Use this property if the SoC should be powered off by external power 51c66ec88fSEmmanuel Vadot management IC (PMIC) triggered via PMIC_STBY_REQ signal. 52c66ec88fSEmmanuel Vadot Boards that are designed to initiate poweroff on PMIC_ON_REQ signal should 53c66ec88fSEmmanuel Vadot be using "syscon-poweroff" driver instead. 54c66ec88fSEmmanuel Vadot 55c66ec88fSEmmanuel Vadotrequired: 56c66ec88fSEmmanuel Vadot - compatible 57c66ec88fSEmmanuel Vadot - reg 58c66ec88fSEmmanuel Vadot - interrupts 59c66ec88fSEmmanuel Vadot - '#clock-cells' 60c66ec88fSEmmanuel Vadot 616be33864SEmmanuel VadotadditionalProperties: false 626be33864SEmmanuel Vadot 63c66ec88fSEmmanuel Vadotexamples: 64c66ec88fSEmmanuel Vadot # Clock Control Module node: 65c66ec88fSEmmanuel Vadot - | 66c66ec88fSEmmanuel Vadot #include <dt-bindings/interrupt-controller/arm-gic.h> 67c66ec88fSEmmanuel Vadot 68c66ec88fSEmmanuel Vadot clock-controller@20c4000 { 69c66ec88fSEmmanuel Vadot compatible = "fsl,imx6q-ccm"; 70c66ec88fSEmmanuel Vadot reg = <0x020c4000 0x4000>; 71c66ec88fSEmmanuel Vadot interrupts = <0 87 IRQ_TYPE_LEVEL_HIGH>, 72c66ec88fSEmmanuel Vadot <0 88 IRQ_TYPE_LEVEL_HIGH>; 73c66ec88fSEmmanuel Vadot #clock-cells = <1>; 74c66ec88fSEmmanuel Vadot }; 75