xref: /freebsd/sys/contrib/device-tree/Bindings/pwm/toshiba,pwm-visconti.yaml (revision c9ccf3a32da427475985b85d7df023ccfb138c27)
12eb4d8dcSEmmanuel Vadot# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
22eb4d8dcSEmmanuel Vadot%YAML 1.2
32eb4d8dcSEmmanuel Vadot---
42eb4d8dcSEmmanuel Vadot$id: http://devicetree.org/schemas/pwm/toshiba,pwm-visconti.yaml#
52eb4d8dcSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
62eb4d8dcSEmmanuel Vadot
72eb4d8dcSEmmanuel Vadottitle: Toshiba Visconti PWM Controller
82eb4d8dcSEmmanuel Vadot
92eb4d8dcSEmmanuel Vadotmaintainers:
102eb4d8dcSEmmanuel Vadot  - Nobuhiro Iwamatsu <nobuhiro1.iwamatsu@toshiba.co.jp>
112eb4d8dcSEmmanuel Vadot
12*c9ccf3a3SEmmanuel VadotallOf:
13*c9ccf3a3SEmmanuel Vadot  - $ref: pwm.yaml#
14*c9ccf3a3SEmmanuel Vadot
152eb4d8dcSEmmanuel Vadotproperties:
162eb4d8dcSEmmanuel Vadot  compatible:
172eb4d8dcSEmmanuel Vadot    items:
182eb4d8dcSEmmanuel Vadot      - const: toshiba,visconti-pwm
192eb4d8dcSEmmanuel Vadot
202eb4d8dcSEmmanuel Vadot  reg:
212eb4d8dcSEmmanuel Vadot    maxItems: 1
222eb4d8dcSEmmanuel Vadot
232eb4d8dcSEmmanuel Vadot  '#pwm-cells':
242eb4d8dcSEmmanuel Vadot    const: 2
252eb4d8dcSEmmanuel Vadot
262eb4d8dcSEmmanuel Vadotrequired:
272eb4d8dcSEmmanuel Vadot  - compatible
282eb4d8dcSEmmanuel Vadot  - reg
292eb4d8dcSEmmanuel Vadot
302eb4d8dcSEmmanuel VadotadditionalProperties: false
312eb4d8dcSEmmanuel Vadot
322eb4d8dcSEmmanuel Vadotexamples:
332eb4d8dcSEmmanuel Vadot  - |
342eb4d8dcSEmmanuel Vadot    soc {
352eb4d8dcSEmmanuel Vadot        #address-cells = <2>;
362eb4d8dcSEmmanuel Vadot        #size-cells = <2>;
372eb4d8dcSEmmanuel Vadot
382eb4d8dcSEmmanuel Vadot        pwm: pwm@241c0000 {
392eb4d8dcSEmmanuel Vadot            compatible = "toshiba,visconti-pwm";
402eb4d8dcSEmmanuel Vadot            reg = <0 0x241c0000 0 0x1000>;
412eb4d8dcSEmmanuel Vadot            pinctrl-names = "default";
422eb4d8dcSEmmanuel Vadot            pinctrl-0 = <&pwm_mux>;
432eb4d8dcSEmmanuel Vadot            #pwm-cells = <2>;
442eb4d8dcSEmmanuel Vadot        };
452eb4d8dcSEmmanuel Vadot    };
46