Berlin PWM controller

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

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

Maintainers (maintainers): "Jisheng Zhang <jszhang@kernel.org>", "Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>"

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "marvell,berlin-pwm"

reg — required here #

Maximum number of items (maxItems): 1

#pwm-cells — not listed as required here #

Exact value (const): 3

clocks — required here #

Maximum number of items (maxItems): 1

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

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) #

pwm@f7f20000 {
    compatible = "marvell,berlin-pwm";
    reg = <0xf7f20000 0x40>;
    clocks = <&chip_clk 12>;
    #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