1354d7675SEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2354d7675SEmmanuel Vadot%YAML 1.2 3354d7675SEmmanuel Vadot--- 4354d7675SEmmanuel Vadot$id: http://devicetree.org/schemas/power/reset/xlnx,zynqmp-power.yaml# 5354d7675SEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml# 6354d7675SEmmanuel Vadot 78bab661aSEmmanuel Vadottitle: Xilinx Zynq MPSoC Power Management 8354d7675SEmmanuel Vadot 9354d7675SEmmanuel Vadotmaintainers: 10f126890aSEmmanuel Vadot - Michal Simek <michal.simek@amd.com> 11354d7675SEmmanuel Vadot 12354d7675SEmmanuel Vadotdescription: | 13354d7675SEmmanuel Vadot The zynqmp-power node describes the power management configurations. 14354d7675SEmmanuel Vadot It will control remote suspend/shutdown interfaces. 15354d7675SEmmanuel Vadot 16354d7675SEmmanuel Vadotproperties: 17354d7675SEmmanuel Vadot compatible: 18b97ee269SEmmanuel Vadot const: xlnx,zynqmp-power 19354d7675SEmmanuel Vadot 20354d7675SEmmanuel Vadot interrupts: 21354d7675SEmmanuel Vadot maxItems: 1 22354d7675SEmmanuel Vadot 23354d7675SEmmanuel Vadot mboxes: 24354d7675SEmmanuel Vadot description: | 25354d7675SEmmanuel Vadot Standard property to specify a Mailbox. Each value of 26354d7675SEmmanuel Vadot the mboxes property should contain a phandle to the 27354d7675SEmmanuel Vadot mailbox controller device node and an args specifier 28354d7675SEmmanuel Vadot that will be the phandle to the intended sub-mailbox 29354d7675SEmmanuel Vadot child node to be used for communication. See 30354d7675SEmmanuel Vadot Documentation/devicetree/bindings/mailbox/mailbox.txt 31354d7675SEmmanuel Vadot for more details about the generic mailbox controller 32354d7675SEmmanuel Vadot and client driver bindings. Also see 33354d7675SEmmanuel Vadot Documentation/devicetree/bindings/mailbox/ \ 34354d7675SEmmanuel Vadot xlnx,zynqmp-ipi-mailbox.txt for typical controller that 35354d7675SEmmanuel Vadot is used to communicate with this System controllers. 36354d7675SEmmanuel Vadot items: 37354d7675SEmmanuel Vadot - description: tx channel 38354d7675SEmmanuel Vadot - description: rx channel 39354d7675SEmmanuel Vadot 40354d7675SEmmanuel Vadot mbox-names: 41354d7675SEmmanuel Vadot description: 42354d7675SEmmanuel Vadot Name given to channels seen in the 'mboxes' property. 43354d7675SEmmanuel Vadot items: 44354d7675SEmmanuel Vadot - const: tx 45354d7675SEmmanuel Vadot - const: rx 46354d7675SEmmanuel Vadot 47354d7675SEmmanuel Vadotrequired: 48354d7675SEmmanuel Vadot - compatible 49354d7675SEmmanuel Vadot - interrupts 50354d7675SEmmanuel Vadot 51354d7675SEmmanuel VadotadditionalProperties: false 52354d7675SEmmanuel Vadot 53354d7675SEmmanuel Vadotexamples: 54354d7675SEmmanuel Vadot - |+ 55354d7675SEmmanuel Vadot 56354d7675SEmmanuel Vadot // Example with interrupt method: 57354d7675SEmmanuel Vadot 58354d7675SEmmanuel Vadot firmware { 59354d7675SEmmanuel Vadot zynqmp-firmware { 60*8d13bc63SEmmanuel Vadot power-management { 61354d7675SEmmanuel Vadot compatible = "xlnx,zynqmp-power"; 62354d7675SEmmanuel Vadot interrupts = <0 35 4>; 63354d7675SEmmanuel Vadot }; 64354d7675SEmmanuel Vadot }; 65354d7675SEmmanuel Vadot }; 66354d7675SEmmanuel Vadot 67354d7675SEmmanuel Vadot - |+ 68354d7675SEmmanuel Vadot 69354d7675SEmmanuel Vadot // Example with IPI mailbox method: 70354d7675SEmmanuel Vadot 71354d7675SEmmanuel Vadot firmware { 72354d7675SEmmanuel Vadot zynqmp-firmware { 73*8d13bc63SEmmanuel Vadot power-management { 74354d7675SEmmanuel Vadot compatible = "xlnx,zynqmp-power"; 75354d7675SEmmanuel Vadot interrupt-parent = <&gic>; 76354d7675SEmmanuel Vadot interrupts = <0 35 4>; 77354d7675SEmmanuel Vadot mboxes = <&ipi_mailbox_pmu1 0>, 78354d7675SEmmanuel Vadot <&ipi_mailbox_pmu1 1>; 79354d7675SEmmanuel Vadot mbox-names = "tx", "rx"; 80354d7675SEmmanuel Vadot }; 81354d7675SEmmanuel Vadot }; 82354d7675SEmmanuel Vadot }; 83354d7675SEmmanuel Vadot... 84