pia-am335x: move some defines from boards.cfg to board config.h

- also add more complete check for a PM board in case we use 2 eeproms

Signed-off-by: Björn Krombholz <b.krombholz@pironex.de>
pia-am335x-pm: cleanup emmc reset setup

Signed-off-by: Björn Krombholz <b.krombholz@pironex.de>
pia-am335x-apc: add support for APC baseboard

Signed-off-by: Björn Krombholz <b.krombholz@pironex.de>
pia-am335x: Update EEPROM detection

- be more verbose about which board combination we detected
- hang() if there was an error during detection, we don't want to
  got any further

Signed-off-by: Björn Krombholz <b.krombholz@pironex.de>
pia-am335x: enable TPS battery charger only for boards supporting it

Signed-off-by: Björn Krombholz <b.krombholz@pironex.de>
pia-am335x-apc: update defaults for Power and GSM gpios

- keep the SIMCOM module turned off
- enable the battery power path

Signed-off-by: Björn Krombholz <b.krombholz@pironex.de>