NXP LPC18xx/43xx SCU pin controller

Schema identifier ($id): "http://devicetree.org/schemas/pinctrl/nxp,lpc1850-scu.yaml#"

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

Not all pins support all pin generic node properties so either refer to the NXP 1850/4350 user manual or the pin table in the pinctrl-lpc18xx driver for supported pin properties.

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

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "nxp,lpc1850-scu"

reg — required here #

Maximum number of items (maxItems): 1

clocks — required here #

Maximum number of items (maxItems): 1

Properties matching a name pattern (patternProperties) #

-pins$ — name matches this regular expression #

Value type (type): "object"

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

false

Not allowed by this rule.

Properties matching a name pattern (patternProperties) #

_cfg$ — name matches this regular expression

Value type (type): "object"

All of these rules must match (allOf)

Rule 1

Shared schema rule ($ref): pincfg-node.yaml#

Rule 2

Shared schema rule ($ref): pinmux-node.yaml#

Properties not evaluated by applicable rules (unevaluatedProperties)

false

Not allowed by this rule.

Properties and child nodes (properties)

nxp,gpio-pin-interrupt — not listed as required here

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

Minimum value (minimum): 0

Maximum value (maximum): 7

Assign pin to gpio pin interrupt controller irq number 0 to 7. See example below.

Required in this object (required): "compatible", "reg", "clocks"

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): pinctrl.yaml#

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/lpc18xx-ccu.h>

pinctrl@40086000 {
    compatible = "nxp,lpc1850-scu";
    reg = <0x40086000 0x1000>;
    clocks = <&ccu1 CLK_CPU_SCU>;

    gpio-joystick-pins {
        gpio-joystick-1_cfg {
            pins = "p9_0";
            function = "gpio";
            nxp,gpio-pin-interrupt = <0>;
            input-enable;
            bias-disable;
        };
    };
};

Source notes #

Annotations retained from the schema source

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

Edit this page