NXP LPC32XX PWM controller

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

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

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

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "nxp,lpc3220-pwm", "nxp,lpc3220-motor-pwm"

reg — required here #

Maximum number of items (maxItems): 1

clocks — required here #

Maximum number of items (maxItems): 1

#pwm-cells — required here #

Exact value (const): 3

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

All of these rules must match (allOf) #

Rule 1 #

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

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/lpc32xx-clock.h>

pwm@4005c000 {
    compatible = "nxp,lpc3220-pwm";
    reg = <0x4005c000 0x4>;
    clocks = <&clk LPC32XX_CLK_PWM1>;
    #pwm-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