# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/clock/toshiba,tmpv770x-pismu.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Toshiba Visconti5 TMPV770x SMU controller

maintainers:
  - Nobuhiro Iwamatsu <nobuhiro1.iwamatsu@toshiba.co.jp>

description:
  Toshia Visconti5 SMU (System Management Unit) which supports the clock
  and resets on TMPV770x.

properties:
  compatible:
    items:
      - const: toshiba,tmpv7708-pismu
      - const: syscon

  reg:
    maxItems: 1

  '#clock-cells':
    const: 1

  '#reset-cells':
    const: 1

required:
  - compatible
  - reg
  - "#clock-cells"
  - "#reset-cells"

additionalProperties: false

examples:
  - |
    soc {
        #address-cells = <2>;
        #size-cells = <2>;

        pismu: syscon@24200000 {
            compatible = "toshiba,tmpv7708-pismu", "syscon";
            reg = <0 0x24200000 0 0x2140>;
            #clock-cells = <1>;
            #reset-cells = <1>;
        };
    };
...