Freescale i.MX7 Dual Clock Controller

Schema identifier ($id): "http://devicetree.org/schemas/clock/imx7d-clock.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Frank Li <Frank.Li@nxp.com>"

The clock consumer should specify the desired clock by having the clock ID in its "clocks" phandle cell. See include/dt-bindings/clock/imx7d-clock.h for the full list of i.MX7 Dual clock IDs.

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "fsl,imx7d-ccm"

reg — required here #

Maximum number of items (maxItems): 1

interrupts — required here #

Array item rules (items) #

Item 1

CCM interrupt request 1

Item 2

CCM interrupt request 2

#clock-cells — required here #

Exact value (const): 1

clocks — required here #

Array item rules (items) #

Item 1

32k osc

Item 2

24m osc

clock-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "ckil"

Item 2

Exact value (const): "osc"

Required in this object (required): "compatible", "reg", "interrupts", "clocks", "clock-names", "#clock-cells"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/interrupt-controller/arm-gic.h>

clock-controller@30380000 {
    compatible = "fsl,imx7d-ccm";
    reg = <0x30380000 0x10000>;
    interrupts = <GIC_SPI 85 IRQ_TYPE_LEVEL_HIGH>,
                 <GIC_SPI 86 IRQ_TYPE_LEVEL_HIGH>;
    #clock-cells = <1>;
    clocks = <&ckil>, <&osc>;
    clock-names = "ckil", "osc";
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Edit this page