51 lines · yaml
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)2%YAML 1.23---4$id: http://devicetree.org/schemas/pwm/marvell,pxa-pwm.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: Marvell PXA PWM8 9maintainers:10 - Duje Mihanović <duje.mihanovic@skole.hr>11 12allOf:13 - $ref: pwm.yaml#14 15properties:16 compatible:17 enum:18 - marvell,pxa250-pwm19 - marvell,pxa270-pwm20 - marvell,pxa168-pwm21 - marvell,pxa910-pwm22 23 reg:24 # Length should be 0x1025 maxItems: 126 27 "#pwm-cells":28 # Used for specifying the period length in nanoseconds29 const: 130 31 clocks:32 maxItems: 133 34required:35 - compatible36 - reg37 - clocks38 39additionalProperties: false40 41examples:42 - |43 #include <dt-bindings/clock/pxa-clock.h>44 45 pwm0: pwm@40b00000 {46 compatible = "marvell,pxa250-pwm";47 reg = <0x40b00000 0x10>;48 #pwm-cells = <1>;49 clocks = <&clks CLK_PWM0>;50 };51