NXP LPC32xx Clock Controller

Schema identifier ($id): "http://devicetree.org/schemas/clock/nxp,lpc3220-clk.yaml#"

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

Maintainers (maintainers): "Animesh Agarwal <animeshagarwal28@gmail.com>"

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "nxp,lpc3220-clk"

reg — required here #

Maximum number of items (maxItems): 1

#clock-cells — required here #

Exact value (const): 1

clocks — required here #

Minimum number of items (minItems): 1

Array item rules (items) #

Item 1

External 32768 Hz oscillator.

Item 2

Optional high frequency oscillator.

clock-names — required here #

Minimum number of items (minItems): 1

Array item rules (items) #

Item 1

Exact value (const): "xtal_32k"

Item 2

Exact value (const): "xtal"

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

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

false

Not allowed by this rule.

Examples (examples) #

clock-controller@0 {
    compatible = "nxp,lpc3220-clk";
    reg = <0x00 0x114>;
    #clock-cells = <1>;
    clocks = <&xtal_32k>, <&xtal>;
    clock-names = "xtal_32k", "xtal";
};

Source notes #

Annotations retained from the schema source

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

Edit this page