0001 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
0002 %YAML 1.2
0003 ---
0004 $id: http://devicetree.org/schemas/pwm/brcm,iproc-pwm.yaml#
0005 $schema: http://devicetree.org/meta-schemas/core.yaml#
0006
0007 title: Broadcom iProc PWM controller
0008
0009 maintainers:
0010 - Rafał Miłecki <rafal@milecki.pl>
0011
0012 description:
0013 This controller has 4 channels.
0014
0015 allOf:
0016 - $ref: pwm.yaml#
0017
0018 properties:
0019 compatible:
0020 const: brcm,iproc-pwm
0021
0022 reg:
0023 maxItems: 1
0024
0025 clocks:
0026 description: external clock
0027 maxItems: 1
0028
0029 "#pwm-cells":
0030 const: 3
0031
0032 unevaluatedProperties: false
0033
0034 required:
0035 - reg
0036 - clocks
0037
0038 examples:
0039 - |
0040 pwm@18031000 {
0041 compatible = "brcm,iproc-pwm";
0042 reg = <0x18031000 0x28>;
0043 clocks = <&osc>;
0044 #pwm-cells = <3>;
0045 };