arm: mvebu: switch clearfog to use device-tree i2c and gpio
authorJon Nettleton <jon@solid-run.com>
Mon, 28 May 2018 16:10:30 +0000 (19:10 +0300)
committerStefan Roese <sr@denx.de>
Tue, 5 Jun 2018 05:29:09 +0000 (07:29 +0200)
commit4ea813d333feec005385f2eb602c3a676832be64
tree9d6a31fe65e30caa18ef6df959fdf6e6b4bce1d2
parentd6db446f70c56de5cf57077fdb2329aaa58b740d
arm: mvebu: switch clearfog to use device-tree i2c and gpio

This switches the clearfog boards to use DM based gpio and i2c
drivers.  The io expanders are configured via their device-tree
entries.

Signed-off-by: Jon Nettleton <jon@solid-run.com>
[baruch: add DT i2c aliases]
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Reviewed-by: Chris Packham <judge.packham@gmail.com>
Reviewed-by: Stefan Roese <sr@denx.de>
Signed-off-by: Stefan Roese <sr@denx.de>
arch/arm/dts/armada-388-clearfog.dts
board/solidrun/clearfog/clearfog.c
configs/clearfog_defconfig
include/configs/clearfog.h