1 What: /sys/devices/platform/firmware\:zynqmp-firmware/ggs*
4 Contact: "Jolly Shah" <jollys@xilinx.com>
6 Read/Write PMU global general storage register value,
7 GLOBAL_GEN_STORAGE{0:3}.
8 Global general storage register that can be used
9 by system to pass information between masters.
11 The register is reset during system or power-on
12 resets. Three registers are used by the FSBL and
13 other Xilinx software products: GLOBAL_GEN_STORAGE{4:6}.
17 # cat /sys/devices/platform/firmware\:zynqmp-firmware/ggs0
18 # echo <value> > /sys/devices/platform/firmware\:zynqmp-firmware/ggs0
22 # cat /sys/devices/platform/firmware\:zynqmp-firmware/ggs0
23 # echo 0x1234ABCD > /sys/devices/platform/firmware\:zynqmp-firmware/ggs0
27 What: /sys/devices/platform/firmware\:zynqmp-firmware/pggs*
30 Contact: "Jolly Shah" <jollys@xilinx.com>
32 Read/Write PMU persistent global general storage register
33 value, PERS_GLOB_GEN_STORAGE{0:3}.
34 Persistent global general storage register that
35 can be used by system to pass information between
38 This register is only reset by the power-on reset
39 and maintains its value through a system reset.
40 Four registers are used by the FSBL and other Xilinx
41 software products: PERS_GLOB_GEN_STORAGE{4:7}.
42 Register is reset only by a POR reset.
46 # cat /sys/devices/platform/firmware\:zynqmp-firmware/pggs0
47 # echo <value> > /sys/devices/platform/firmware\:zynqmp-firmware/pggs0
51 # cat /sys/devices/platform/firmware\:zynqmp-firmware/pggs0
52 # echo 0x1234ABCD > /sys/devices/platform/firmware\:zynqmp-firmware/pggs0
56 What: /sys/devices/platform/firmware\:zynqmp-firmware/shutdown_scope
59 Contact: "Jolly Shah" <jollys@xilinx.com>
61 This sysfs interface allows to set the shutdown scope for the
62 next shutdown request. When the next shutdown is performed, the
63 platform specific portion of PSCI-system_off can use the chosen
66 Following are available shutdown scopes(subtypes):
69 Only the APU along with all of its peripherals
70 not used by other processing units will be
71 shut down. This may result in the FPD power
72 domain being shut down provided that no other
73 processing unit uses FPD peripherals or DRAM.
75 The complete PS will be shut down, including the
76 RPU, PMU, etc. Only the PL domain (FPGA)
79 The complete system/device is shut down.
83 # cat /sys/devices/platform/firmware\:zynqmp-firmware/shutdown_scope
84 # echo <scope> > /sys/devices/platform/firmware\:zynqmp-firmware/shutdown_scope
88 # cat /sys/devices/platform/firmware\:zynqmp-firmware/shutdown_scope
89 # echo "subsystem" > /sys/devices/platform/firmware\:zynqmp-firmware/shutdown_scope
93 What: /sys/devices/platform/firmware\:zynqmp-firmware/health_status
96 Contact: "Jolly Shah" <jollys@xilinx.com>
98 This sysfs interface allows to set the health status. If PMUFW
99 is compiled with CHECK_HEALTHY_BOOT, it will check the healthy
100 bit on FPD WDT expiration. If healthy bit is set by a user
101 application running in Linux, PMUFW will do APU only restart. If
102 healthy bit is not set during FPD WDT expiration, PMUFW will do
109 # echo 1 > /sys/devices/platform/firmware\:zynqmp-firmware/health_status
113 # echo 0 > /sys/devices/platform/firmware\:zynqmp-firmware/health_status