NXP LPC32xx System Control Block

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

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

Maintainers (maintainers): "Vladimir Zapolskiy <vz@mleia.com>"

NXP LPC32xx SoC series have a System Control Block, which serves for a multitude of purposes including clock management, DMA muxes, storing SoC unique ID etc.

Properties and child nodes (properties) #

compatible — required here #

Array item rules (items) #

Item 1

Allowed values (enum): "nxp,lpc3220-scb"

Item 2

Exact value (const): "syscon"

Item 3

Exact value (const): "simple-mfd"

reg — required here #

Maximum number of items (maxItems): 1

ranges — not listed as required here #

true — No constraints added by this property rule.

#address-cells — required here #

Exact value (const): 1

#size-cells — required here #

Exact value (const): 1

Properties matching a name pattern (patternProperties) #

^clock-controller@[0-9a-f]+$ — name matches this regular expression #

Shared schema rule ($ref): /schemas/clock/nxp,lpc3220-clk.yaml#

^dma-router@[0-9a-f]+$ — name matches this regular expression #

Shared schema rule ($ref): /schemas/dma/nxp,lpc3220-dmamux.yaml#

Required in this object (required): "compatible", "reg", "#address-cells", "#size-cells"

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

false

Not allowed by this rule.

Examples (examples) #

syscon@400040000 {
    compatible = "nxp,lpc3220-scb", "syscon", "simple-mfd";
    reg = <0x40004000 0x1000>;
    #address-cells = <1>;
    #size-cells = <1>;
    ranges = <0 0x40004000 0x1000>;

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

    dma-router@78 {
        compatible = "nxp,lpc3220-dmamux";
        reg = <0x78 0x8>;
        dma-masters = <&dma>;
        #dma-cells = <3>;
    };
};

Source notes #

Annotations retained from the schema source

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

Edit this page