pia35x: fix compile error

- add header struct as parameter to GPIO init function to allow
  different configurations for different board revisions

Signed-off-by: Björn Krombholz <b.krombholz@pironex.de>
Merge branch 'pia-am335x-mmi-dev' into pia-am335x-e2-dev

* pia-am335x-mmi-dev:
  pia-am335x-mmi: add support for board variants
  pia-am335x-mmi: update Debug UART pinmux
  pia-am335x-mmi: update boards.cfg for new MMI revision 0.2
  pia335x-mmi: disable RMII Refclock signal
  pia335x: fix compile error
Merge commit 'e56dbb1dd34fdbe33861cac7e9c7e23ad7d3aed0' into pia-am335x-e2-dev

* commit 'e56dbb1dd34fdbe33861cac7e9c7e23ad7d3aed0':
  pia-am335x-e2: enable NAND for E2 firststart config
  pia-am335x-eb-tft: add board config
  pia-am335x: update board specs
  pia-am335x: allow ID EEPROM on second I2C bus
  pia-am335x: change NAND initialization if no NAND present
  pia-am335x: get eeprom name from boards.cfg for first start init
  pia335x: eb_tft: add default pin mux for EB_TFT baseboard
  pia-am335x-pm: add base pinmux for piA-AM335x-PM based systems
pia-am335x: fix DDR initialization for piA-AM335x...

- revert BeagleBone testing code which enabled DDR2 mode
- piA-AM335x boards use DDR3 memory only

Signed-off-by: Björn Krombholz <b.krombholz@pironex.de>
Merge commit '8b5b7bc268f3c0b0548ad911395242ab375ffb29' into pia-am335x-e2-dev

* commit '8b5b7bc268f3c0b0548ad911395242ab375ffb29':
  pia-am335x: fix DDR initialization for piA-AM335x...
  pia-am335x-eb-tft: enable backup battery charger
  pia-am335x-eb-tft: add board type check for EB_TFT

Conflicts:
	arch/arm/cpu/armv7/am33xx/board.c
pia-am335x: set correct I2C bus for firststart

- use bus 1 on EB_TFT

Signed-off-by: Björn Krombholz <b.krombholz@pironex.de>
pia-am355x: init epson RTC only on KM E2

Signed-off-by: Björn Krombholz <b.krombholz@pironex.de>
pia-am335x: add new EB_TFT to detection routine output

Signed-off-by: Björn Krombholz <b.krombholz@pironex.de>
pia-am335x: add pull-up to cap touch interrupt pin

- when cap touch is used, we need a pull-up on the GPIO 2_1, if it is not
  it's still safe to add the PU to the pin

Signed-off-by: Björn Krombholz <b.krombholz@pironex.de>
pia-am335x-e2: use board_is_e2() helper in read_eeprom

Signed-off-by: Björn Krombholz <b.krombholz@pironex.de>
pia-am335x: update boot config

- remove unused pre-compiler statements
- enable GPIO command for u-boot command line interface
- make sure we always have CONFIG_EXTRA_ENV_SETTINGS defined

Signed-off-by: Björn Krombholz <b.krombholz@pironex.de>
pia-am335x-e2: disable PoE by default

- don't enable 48V generation by default

Signed-off-by: Björn Krombholz <b.krombholz@pironex.de>
pia-am335x: disable debug kernel parameter

Signed-off-by: Björn Krombholz <b.krombholz@pironex.de>
pia-am335x: make sure we reset the I2C busnum after switching to bus 0

- when the eeprom is on the second bus, RTC initialization would fail
  in firststart mode because the bus was never switched back to 0

Signed-off-by: Björn Krombholz <b.krombholz@pironex.de>
Merge branch 'pia-am335x-dev' into pia-am335x-e2-dev

* pia-am335x-dev:
  pia-am335x-e2: use board_is_e2() helper in read_eeprom
  pia-am335x: add pull-up to cap touch interrupt pin
  pia-am335x: add new EB_TFT to detection routine output
  pia-am355x: init epson RTC only on KM E2
  pia-am335x: set correct I2C bus for firststart
  pia-am335x-eb-tft: enable CPSW initialization
  pia-am335x-eb-tft: implement default pinmux for EB_TFT_Baseboard
  pia-am355x: add new pm baseboards to board_is_pia()
pia-am335x: set eeprom config params after clearing the eeprom struct

Signed-off-by: Björn Krombholz <b.krombholz@pironex.de>
mtd: nand: add debugging output for NAND ID data

- helps identifying the NAND device placed on a board

Signed-off-by: Björn Krombholz <b.krombholz@pironex.de>
pia-am335x-ebtft: add mmc0 to default pinmux

- We are likely to use MMC0 as SD interface on any baseboard.
- Mux it by default to allow booting from MMC0 which will be the dafault
  boot device at least during initialization phase.

Signed-off-by: Björn Krombholz <b.krombholz@pironex.de>
Merge branch 'pia-am335x-e2-dev' into pia-am335x-dev

* pia-am335x-e2-dev:
  mtd: nand: add debugging output for NAND ID data
  pia-am335x: set eeprom config params after clearing the eeprom struct