In order to enable suspend/resume in the PSP
you will need to add the following:
- IRQ line - select GPIO that is capable
waking up the host from suspend, such that, from GPIO0 bank.
- WLAN Enable - For SR1.0 silicon,
AM335x Advisory 1.0.14 GMII_SEL and CPSW Related Pad Control Registers: Context of These
Registers is Lost during transitions of PD_PER is applicable. Normally a pin is chosen
that defaults to being pulled down during AM335x reset, for example, GPIO1_16 (GPMC_A0) was
used on the EVM. It needs to be pulled down during power-up in order to meet power sequencing
requirements. However, for the purpose of WoWLAN, the WL_EN pin must be pulled high. GPIO1_16
suffered from this errata for AM335x SR1.0 which caused the register to always revert back to
its default value during a suspend sequence. For that reason, SR 1.0 silicon must use another
pin that isn't impacted such as GPIO3_16.
- SDIO MMC keep alive – Enable the SDIO
to avoid re-enumeration after resuming from suspend mode, since the assumption is that the SDIO
continue to be in Active mode during Host’s Suspend mode. In Linux, this can be achieved by
using the "keep-power-in-suspend" designator as part of the MMC configuration in the device
tree.