5.1.8 Unused GPIOs
It is recommended to ensure that the unused general purpose I/O-pins have a defined level. Though most of the digital inputs are disabled in deep sleep modes, floating inputs should be avoided in other modes like Active mode, Power-save mode, and Idle mode to reduce the power consumption.
To minimize the power consumption, configure the unused general purpose I/O-pins as Input with internal pull-up enabled to ensure a defined level and for reduced power consumption.