0001 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
0002 %YAML 1.2
0003 ---
0004 $id: http://devicetree.org/schemas/clock/imx6sx-clock.yaml#
0005 $schema: http://devicetree.org/meta-schemas/core.yaml#
0006
0007 title: Clock bindings for Freescale i.MX6 SoloX
0008
0009 maintainers:
0010 - Anson Huang <Anson.Huang@nxp.com>
0011
0012 properties:
0013 compatible:
0014 const: fsl,imx6sx-ccm
0015
0016 reg:
0017 maxItems: 1
0018
0019 interrupts:
0020 description: CCM provides 2 interrupt requests, request 1 is to generate
0021 interrupt for frequency or mux change, request 2 is to generate
0022 interrupt for oscillator read or PLL lock.
0023 items:
0024 - description: CCM interrupt request 1
0025 - description: CCM interrupt request 2
0026
0027 '#clock-cells':
0028 const: 1
0029
0030 clocks:
0031 items:
0032 - description: 32k osc
0033 - description: 24m osc
0034 - description: ipp_di0 clock input
0035 - description: ipp_di1 clock input
0036 - description: anaclk1 clock input
0037 - description: anaclk2 clock input
0038
0039 clock-names:
0040 items:
0041 - const: ckil
0042 - const: osc
0043 - const: ipp_di0
0044 - const: ipp_di1
0045 - const: anaclk1
0046 - const: anaclk2
0047
0048 required:
0049 - compatible
0050 - reg
0051 - interrupts
0052 - '#clock-cells'
0053 - clocks
0054 - clock-names
0055
0056 additionalProperties: false
0057
0058 examples:
0059 # Clock Control Module node:
0060 - |
0061 #include <dt-bindings/interrupt-controller/arm-gic.h>
0062
0063 clock-controller@20c4000 {
0064 compatible = "fsl,imx6sx-ccm";
0065 reg = <0x020c4000 0x4000>;
0066 interrupts = <GIC_SPI 87 IRQ_TYPE_LEVEL_HIGH>,
0067 <GIC_SPI 88 IRQ_TYPE_LEVEL_HIGH>;
0068 #clock-cells = <1>;
0069 clocks = <&ckil>, <&osc>, <&ipp_di0>, <&ipp_di1>, <&anaclk1>, <&anaclk2>;
0070 clock-names = "ckil", "osc", "ipp_di0", "ipp_di1", "anaclk1", "anaclk2";
0071 };