# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/power/stericsson,ux500-pm-domains.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: ST-Ericsson UX500 power domains

maintainers:
  - Linus Walleij <linusw@kernel.org>
  - Ulf Hansson <ulfh@kernel.org>

description:
  The UX500 power domain controller gates power to one or more peripherals on
  the SoC. Domain specifiers use one cell containing one of the DOMAIN_*
  indexes defined in include/dt-bindings/arm/ux500_pm_domains.h.

allOf:
  - $ref: power-domain.yaml#

properties:
  compatible:
    const: stericsson,ux500-pm-domains

  '#power-domain-cells':
    const: 1

required:
  - compatible
  - '#power-domain-cells'

unevaluatedProperties: false

examples:
  - |
    #include <dt-bindings/arm/ux500_pm_domains.h>

    pm_domains: power-controller {
        compatible = "stericsson,ux500-pm-domains";
        #power-domain-cells = <1>;
    };