mtd: nand: add has_pmecc member

By adding this structure member, we can retrieve the pmecc config, through the device tree.

Signed-off-by: Raphaël Poggi <poggi.raph@gmail.com>
mtd: atmel_nand: retrieve ecc_mode from pdata

By retrieving the ecc_mode from pdata we can use the same code for device tree and
non device tree probing. Which was not possible before, because ecc_mode was arbitrarily set to
NAND_ECC_SOFT.

Signed-off-by: Raphaël Poggi <poggi.raph@gmail.com>
mtd: atmel_nand: add support for device tree

Signed-off-by: Raphaël Poggi <poggi.raph@gmail.com>
of_mtd: add soft_bch and hw_oob_first ecc modes

Signed-off-by: Raphaël Poggi <poggi.raph@gmail.com>
pinctrl: at91: add pinctrl driver

This driver is based on mach-at91/gpio.c and linux pinctrl driver.
The driver contains the gpio and pinctrl parts (like in linux) because the two parts
share some structures and logics.

Signed-off-by: Raphaël Poggi <poggi.raph@gmail.com>
at91sam9g45: add device tree gpio clocks

Signed-off-by: Raphaël Poggi <poggi.raph@gmail.com>
dts: add at91sam9m10g45ek device tree
ARM: AM335x: Beaglebone: enable ethernet

The ethernet mac and mdio nodes must be explicitly enabled to override
the disabled setting in am33xx.dtsi.

Signed-off-by: Jan Luebbe <jlu@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Release v2014.08.0

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>