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 7 title: Marvell PXA PWM 8 9 maintainers: 10 - Duje Mihanović <duje.mihanovic@skole.hr> 11 12 allOf: 13 - $ref: pwm.yaml# 14 15 properties: 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 34 required: 35 - compatible 36 - reg 37 - clocks 38 39 additionalProperties: false 40 41 examples: 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 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.