arm: pia-am335x: add new leds for E2 Rev 0.3

Signed-off-by: Björn Krombholz <b.krombholz@pironex.de>
arm: pia335x: update ID EEPROM info

- KM E2 revs 0.01 and 0.02 used a 24C00 class eeprom, which catches all
  8 addresses 0x50..0x57
- rev 0.03 is using a 24CS01 fixed to address 0x50
- we don't care about the additional addresses in prototype revisions,
  switch the default address to 0x50 for all boards

Signed-off-by: Björn Krombholz <b.krombholz@pironex.de>
am33xx: force sleep33xx.S to arm mode if thumb is enabled

- adrl doesn't exist in thumb

Signed-off-by: Björn Krombholz <b.krombholz@pironex.de>
arm: pia-am335x: remove ddr2_pdown

- fix compiler error, am33xx_cpuidle_config.ddr2_pdown was removed in
  1d7ab6e5f75627e8d5405d3530ea0c940481907c

Signed-off-by: Björn Krombholz <b.krombholz@pironex.de>
pia-am335x: allow disabling prototype BSP code

Signed-off-by: Björn Krombholz <b.krombholz@pironex.de>
arm: pia-am335x: disable more prototype code

Signed-off-by: Björn Krombholz <b.krombholz@pironex.de>
arm: pia-am335x: add E2 revision 3

Signed-off-by: Björn Krombholz <b.krombholz@pironex.de>
arm: pia-am335x: update GPIO pinmux and config for rev 3

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

Signed-off-by: Björn Krombholz <b.krombholz@pironex.de>
arm: pia-am335x: cleanup revision based code and audio init

- move complete audio initialization routines to tlv init function
- remove unused clkout2 code
- fix output typo

Signed-off-by: Björn Krombholz <b.krombholz@pironex.de>
arm: pia-am335x: add IRQs to LIS3 config

- previous configuration was missing both GPIO IRQ lines

Signed-off-by: Björn Krombholz <b.krombholz@pironex.de>
arm: pia-am335x: disable more prototype-only code

- update SPI, USB and CAN config

Signed-off-by: Björn Krombholz <b.krombholz@pironex.de>
arm: pia-am335x: fix pinmux for LED driver OE

- should be muxed as GPIO

Signed-off-by: Björn Krombholz <b.krombholz@pironex.de>
arm: pia-am335x: mmi: rework LCD init code

- add generic i2c device register function
- move display and touch controller init to a better place

Signed-off-by: Björn Krombholz <b.krombholz@pironex.de>
arm: pia-am335x: move PMIC init to board specific setup

- we need to define the PMIC interrupt GPIO for each board individually
- initialize PMIC later to avoid unnecessary code duplication
- TODO: fix PMIC init for MMI boards

Signed-off-by: Björn Krombholz <b.krombholz@pironex.de>
arm: pia-am335x: add generic gpio initialization

Signed-off-by: Björn Krombholz <b.krombholz@pironex.de>
arm: pia-am335x: init gpios after everything else

- move gpio init to the end of the init process

Signed-off-by: Björn Krombholz <b.krombholz@pironex.de>
arm: pia-am335x: group interface mux tables

- move all device/bus specific tables to the same place
- update comments

Signed-off-by: Björn Krombholz <b.krombholz@pironex.de>
arm: pia-335x: update naming of structs and functions

- use a similar naming scheme for all struct definitions,
  board specific methods

Signed-off-by: Björn Krombholz <b.krombholz@pironex.de>
arm: pia-am335x-mmi: move led pinmux to gpio pin mux table

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