Xilinx Zynq MPSoC Power Management

Schema identifier ($id): "http://devicetree.org/schemas/power/reset/xlnx,zynqmp-power.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Michal Simek <michal.simek@amd.com>"

The zynqmp-power node describes the power management configurations. It will control remote suspend/shutdown interfaces.

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "xlnx,zynqmp-power"

interrupts — not listed as required here #

Maximum number of items (maxItems): 1

mboxes — not listed as required here #

Standard property to specify a Mailbox. Each value of the mboxes property should contain a phandle to the mailbox controller device node and an args specifier that will be the phandle to the intended sub-mailbox child node to be used for communication. See Documentation/devicetree/bindings/mailbox/mailbox.txt for more details about the generic mailbox controller and client driver bindings. Also see Documentation/devicetree/bindings/mailbox/ \ xlnx,zynqmp-ipi-mailbox.txt for typical controller that is used to communicate with this System controllers.

Array item rules (items) #

Item 1

tx channel

Item 2

rx channel

mbox-names — not listed as required here #

Name given to channels seen in the 'mboxes' property.

Array item rules (items) #

Item 1

Exact value (const): "tx"

Item 2

Exact value (const): "rx"

Required in this object (required): "compatible"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #


// Example with interrupt method:

firmware {
  zynqmp-firmware {
    power-management {
      compatible = "xlnx,zynqmp-power";
      interrupts = <0 35 4>;
    };
  };
};


// Example with IPI mailbox method:

firmware {
  zynqmp-firmware {
    power-management {
      compatible = "xlnx,zynqmp-power";
      interrupt-parent = <&gic>;
      interrupts = <0 35 4>;
      mboxes = <&ipi_mailbox_pmu1 0>,
               <&ipi_mailbox_pmu1 1>;
      mbox-names = "tx", "rx";
    };
  };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Edit this page