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

title: i.MX SCU Client Device Node - Power Domain Based on SCU Message Protocol

maintainers:
  - Dong Aisheng <aisheng.dong@nxp.com>

description: i.MX SCU Client Device Node
  Client nodes are maintained as children of the relevant IMX-SCU device node.
  Power domain bindings based on SCU Message Protocol

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

properties:
  compatible:
    items:
      - enum:
          - fsl,imx8dl-scu-pd
          - fsl,imx8qm-scu-pd
          - fsl,imx8qxp-scu-pd
      - const: fsl,scu-pd

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

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

additionalProperties: false

examples:
  - |
    power-controller {
        compatible = "fsl,imx8qxp-scu-pd", "fsl,scu-pd";
        #power-domain-cells = <1>;
    };
