brintos

brintos / linux-shallow public Read only

0
0
Text · 1.4 KiB · 880d602 Raw
65 lines · yaml
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)2%YAML 1.23---4$id: http://devicetree.org/schemas/clock/imx7d-clock.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: Freescale i.MX7 Dual Clock Controller8 9maintainers:10  - Frank Li <Frank.Li@nxp.com>11 12description: |13  The clock consumer should specify the desired clock by having the clock14  ID in its "clocks" phandle cell. See include/dt-bindings/clock/imx7d-clock.h15  for the full list of i.MX7 Dual clock IDs.16 17properties:18  compatible:19    const: fsl,imx7d-ccm20 21  reg:22    maxItems: 123 24  interrupts:25    items:26      - description: CCM interrupt request 127      - description: CCM interrupt request 228 29  '#clock-cells':30    const: 131 32  clocks:33    items:34      - description: 32k osc35      - description: 24m osc36 37  clock-names:38    items:39      - const: ckil40      - const: osc41 42required:43  - compatible44  - reg45  - interrupts46  - clocks47  - clock-names48  - '#clock-cells'49 50additionalProperties: false51 52examples:53  - |54    #include <dt-bindings/interrupt-controller/arm-gic.h>55 56    clock-controller@30380000 {57        compatible = "fsl,imx7d-ccm";58        reg = <0x30380000 0x10000>;59        interrupts = <GIC_SPI 85 IRQ_TYPE_LEVEL_HIGH>,60                     <GIC_SPI 86 IRQ_TYPE_LEVEL_HIGH>;61        #clock-cells = <1>;62        clocks = <&ckil>, <&osc>;63        clock-names = "ckil", "osc";64    };65