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
12allOf:
13  - $ref: pwm.yaml#
14
15properties:
16  compatible:
17    items:
18      - const: toshiba,visconti-pwm
19
20  reg:
21    maxItems: 1
22
23  '#pwm-cells':
24    const: 2
25
26required:
27  - compatible
28  - reg
29
30additionalProperties: false
31
32examples:
33  - |
34    soc {
35        #address-cells = <2>;
36        #size-cells = <2>;
37
38        pwm: pwm@241c0000 {
39            compatible = "toshiba,visconti-pwm";
40            reg = <0 0x241c0000 0 0x1000>;
41            pinctrl-names = "default";
42            pinctrl-0 = <&pwm_mux>;
43            #pwm-cells = <2>;
44        };
45    };
46