1# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/pwm/toshiba,pwm-visconti.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Toshiba Visconti PWM Controller
8
9maintainers:
10  - Nobuhiro Iwamatsu <nobuhiro1.iwamatsu@toshiba.co.jp>
11
12properties:
13  compatible:
14    items:
15      - const: toshiba,visconti-pwm
16
17  reg:
18    maxItems: 1
19
20  '#pwm-cells':
21    const: 2
22
23required:
24  - compatible
25  - reg
26  - '#pwm-cells'
27
28additionalProperties: false
29
30examples:
31  - |
32    soc {
33        #address-cells = <2>;
34        #size-cells = <2>;
35
36        pwm: pwm@241c0000 {
37            compatible = "toshiba,visconti-pwm";
38            reg = <0 0x241c0000 0 0x1000>;
39            pinctrl-names = "default";
40            pinctrl-0 = <&pwm_mux>;
41            #pwm-cells = <2>;
42        };
43    };
44