brintos

brintos / linux-shallow public Read only

0
0
Text · 2.0 KiB · 7998316 Raw
84 lines · yaml
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)2%YAML 1.23---4$id: http://devicetree.org/schemas/power/reset/xlnx,zynqmp-power.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: Xilinx Zynq MPSoC Power Management8 9maintainers:10  - Michal Simek <michal.simek@amd.com>11 12description: |13  The zynqmp-power node describes the power management configurations.14  It will control remote suspend/shutdown interfaces.15 16properties:17  compatible:18    const: xlnx,zynqmp-power19 20  interrupts:21    maxItems: 122 23  mboxes:24    description: |25      Standard property to specify a Mailbox. Each value of26      the mboxes property should contain a phandle to the27      mailbox controller device node and an args specifier28      that will be the phandle to the intended sub-mailbox29      child node to be used for communication. See30      Documentation/devicetree/bindings/mailbox/mailbox.txt31      for more details about the generic mailbox controller32      and client driver bindings. Also see33      Documentation/devicetree/bindings/mailbox/ \34      xlnx,zynqmp-ipi-mailbox.txt for typical controller that35      is used to communicate with this System controllers.36    items:37      - description: tx channel38      - description: rx channel39 40  mbox-names:41    description:42      Name given to channels seen in the 'mboxes' property.43    items:44      - const: tx45      - const: rx46 47required:48  - compatible49  - interrupts50 51additionalProperties: false52 53examples:54  - |+55 56    // Example with interrupt method:57 58    firmware {59      zynqmp-firmware {60        power-management {61          compatible = "xlnx,zynqmp-power";62          interrupts = <0 35 4>;63        };64      };65    };66 67  - |+68 69    // Example with IPI mailbox method:70 71    firmware {72      zynqmp-firmware {73        power-management {74          compatible = "xlnx,zynqmp-power";75          interrupt-parent = <&gic>;76          interrupts = <0 35 4>;77          mboxes = <&ipi_mailbox_pmu1 0>,78                   <&ipi_mailbox_pmu1 1>;79          mbox-names = "tx", "rx";80        };81      };82    };83...84