Documentation / devicetree / bindings / pwm / marvell,berlin-pwm.yaml


Based on kernel version 6.14. Page generated on 2025-04-02 08:20 EST.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/pwm/marvell,berlin-pwm.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Berlin PWM controller

maintainers:
  - Jisheng Zhang <jszhang@kernel.org>
  - Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>

properties:
  compatible:
    const: marvell,berlin-pwm

  reg:
    maxItems: 1
 
  "#pwm-cells":
    const: 3

  clocks:
    maxItems: 1

required:
  - compatible
  - reg
  - clocks

allOf:
  - $ref: pwm.yaml#

unevaluatedProperties: false

examples:
  - |
    pwm@f7f20000 {
        compatible = "marvell,berlin-pwm";
        reg = <0xf7f20000 0x40>;
        clocks = <&chip_clk 12>;
        #pwm-cells = <3>;
    };