Freescale i.MX5 Clock Controller

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

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

Maintainers (maintainers): "Fabio Estevam <festevam@gmail.com>"

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

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "fsl,imx53-ccm", "fsl,imx51-ccm", "fsl,imx50-ccm"

reg — required here #

Maximum number of items (maxItems): 1

interrupts — required here #

CCM provides 2 interrupt requests, request 1 is to generate interrupt for frequency or mux change, request 2 is to generate interrupt for oscillator read or PLL lock.

Array item rules (items) #

Item 1

CCM interrupt request 1

Item 2

CCM interrupt request 2

#clock-cells — required here #

Exact value (const): 1

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

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

false

Not allowed by this rule.

Examples (examples) #

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

clock-controller@53fd4000{
    compatible = "fsl,imx53-ccm";
    reg = <0x53fd4000 0x4000>;
    interrupts = <0 71 IRQ_TYPE_LEVEL_HIGH>,
                 <0 72 IRQ_TYPE_LEVEL_HIGH>;
    #clock-cells = <1>;
};

Source notes #

Annotations retained from the schema source

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

Edit this page