1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2%YAML 1.2 3--- 4$id: http://devicetree.org/schemas/pwm/marvell,pxa-pwm.yaml# 5$schema: http://devicetree.org/meta-schemas/core.yaml# 6 7title: Marvell PXA PWM 8 9maintainers: 10 - Duje Mihanović <duje.mihanovic@skole.hr> 11 12allOf: 13 - $ref: pwm.yaml# 14 15properties: 16 compatible: 17 enum: 18 - marvell,pxa250-pwm 19 - marvell,pxa270-pwm 20 - marvell,pxa168-pwm 21 - marvell,pxa910-pwm 22 23 reg: 24 # Length should be 0x10 25 maxItems: 1 26 27 "#pwm-cells": 28 # Used for specifying the period length in nanoseconds 29 const: 1 30 31 clocks: 32 maxItems: 1 33 34required: 35 - compatible 36 - reg 37 - "#pwm-cells" 38 - clocks 39 40additionalProperties: false 41 42examples: 43 - | 44 #include <dt-bindings/clock/pxa-clock.h> 45 46 pwm0: pwm@40b00000 { 47 compatible = "marvell,pxa250-pwm"; 48 reg = <0x40b00000 0x10>; 49 #pwm-cells = <1>; 50 clocks = <&clks CLK_PWM0>; 51 }; 52