xref: /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/power/reset/xlnx,zynqmp-power.txt (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun--------------------------------------------------------------------
2*4882a593SmuzhiyunDevice Tree Bindings for the Xilinx Zynq MPSoC Power Management
3*4882a593Smuzhiyun--------------------------------------------------------------------
4*4882a593SmuzhiyunThe zynqmp-power node describes the power management configurations.
5*4882a593SmuzhiyunIt will control remote suspend/shutdown interfaces.
6*4882a593Smuzhiyun
7*4882a593SmuzhiyunRequired properties:
8*4882a593Smuzhiyun - compatible:		Must contain:	"xlnx,zynqmp-power"
9*4882a593Smuzhiyun - interrupts:		Interrupt specifier
10*4882a593Smuzhiyun
11*4882a593SmuzhiyunOptional properties:
12*4882a593Smuzhiyun - mbox-names	: Name given to channels seen in the 'mboxes' property.
13*4882a593Smuzhiyun		  "tx" - Mailbox corresponding to transmit path
14*4882a593Smuzhiyun		  "rx" - Mailbox corresponding to receive path
15*4882a593Smuzhiyun - mboxes	: Standard property to specify a Mailbox. Each value of
16*4882a593Smuzhiyun		  the mboxes property should contain a phandle to the
17*4882a593Smuzhiyun		  mailbox controller device node and an args specifier
18*4882a593Smuzhiyun		  that will be the phandle to the intended sub-mailbox
19*4882a593Smuzhiyun		  child node to be used for communication. See
20*4882a593Smuzhiyun		  Documentation/devicetree/bindings/mailbox/mailbox.txt
21*4882a593Smuzhiyun		  for more details about the generic mailbox controller
22*4882a593Smuzhiyun		  and client driver bindings. Also see
23*4882a593Smuzhiyun		  Documentation/devicetree/bindings/mailbox/ \
24*4882a593Smuzhiyun		  xlnx,zynqmp-ipi-mailbox.txt for typical controller that
25*4882a593Smuzhiyun		  is used to communicate with this System controllers.
26*4882a593Smuzhiyun
27*4882a593Smuzhiyun--------
28*4882a593SmuzhiyunExamples
29*4882a593Smuzhiyun--------
30*4882a593Smuzhiyun
31*4882a593SmuzhiyunExample with interrupt method:
32*4882a593Smuzhiyun
33*4882a593Smuzhiyunfirmware {
34*4882a593Smuzhiyun	zynqmp_firmware: zynqmp-firmware {
35*4882a593Smuzhiyun		compatible = "xlnx,zynqmp-firmware";
36*4882a593Smuzhiyun		method = "smc";
37*4882a593Smuzhiyun
38*4882a593Smuzhiyun		zynqmp_power: zynqmp-power {
39*4882a593Smuzhiyun			compatible = "xlnx,zynqmp-power";
40*4882a593Smuzhiyun			interrupts = <0 35 4>;
41*4882a593Smuzhiyun		};
42*4882a593Smuzhiyun	};
43*4882a593Smuzhiyun};
44*4882a593Smuzhiyun
45*4882a593SmuzhiyunExample with IPI mailbox method:
46*4882a593Smuzhiyun
47*4882a593Smuzhiyunfirmware {
48*4882a593Smuzhiyun	zynqmp_firmware: zynqmp-firmware {
49*4882a593Smuzhiyun		compatible = "xlnx,zynqmp-firmware";
50*4882a593Smuzhiyun		method = "smc";
51*4882a593Smuzhiyun
52*4882a593Smuzhiyun		zynqmp_power: zynqmp-power {
53*4882a593Smuzhiyun			compatible = "xlnx,zynqmp-power";
54*4882a593Smuzhiyun			interrupt-parent = <&gic>;
55*4882a593Smuzhiyun			interrupts = <0 35 4>;
56*4882a593Smuzhiyun			mboxes = <&ipi_mailbox_pmu0 0>,
57*4882a593Smuzhiyun				 <&ipi_mailbox_pmu0 1>;
58*4882a593Smuzhiyun			mbox-names = "tx", "rx";
59*4882a593Smuzhiyun		};
60*4882a593Smuzhiyun	};
61*4882a593Smuzhiyun};
62