0001 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
0002 %YAML 1.2
0003 ---
0004 $id: http://devicetree.org/schemas/pwm/toshiba,pwm-visconti.yaml#
0005 $schema: http://devicetree.org/meta-schemas/core.yaml#
0006
0007 title: Toshiba Visconti PWM Controller
0008
0009 maintainers:
0010 - Nobuhiro Iwamatsu <nobuhiro1.iwamatsu@toshiba.co.jp>
0011
0012 allOf:
0013 - $ref: pwm.yaml#
0014
0015 properties:
0016 compatible:
0017 items:
0018 - const: toshiba,visconti-pwm
0019
0020 reg:
0021 maxItems: 1
0022
0023 '#pwm-cells':
0024 const: 2
0025
0026 required:
0027 - compatible
0028 - reg
0029
0030 additionalProperties: false
0031
0032 examples:
0033 - |
0034 soc {
0035 #address-cells = <2>;
0036 #size-cells = <2>;
0037
0038 pwm: pwm@241c0000 {
0039 compatible = "toshiba,visconti-pwm";
0040 reg = <0 0x241c0000 0 0x1000>;
0041 pinctrl-names = "default";
0042 pinctrl-0 = <&pwm_mux>;
0043 #pwm-cells = <2>;
0044 };
0045 };