summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJon Nettleton <jon@solid-run.com>2018-05-28 19:10:30 +0300
committerStefan Roese <sr@denx.de>2018-06-05 07:29:09 +0200
commit4ea813d333feec005385f2eb602c3a676832be64 (patch)
tree9d6a31fe65e30caa18ef6df959fdf6e6b4bce1d2 /include
parentd6db446f70c56de5cf57077fdb2329aaa58b740d (diff)
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>
Diffstat (limited to 'include')
-rw-r--r--include/configs/clearfog.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/include/configs/clearfog.h b/include/configs/clearfog.h
index ed6f000db1..1141aee08b 100644
--- a/include/configs/clearfog.h
+++ b/include/configs/clearfog.h
@@ -21,13 +21,6 @@
* Commands configuration
*/
-/* I2C */
-#define CONFIG_SYS_I2C
-#define CONFIG_SYS_I2C_MVTWSI
-#define CONFIG_I2C_MVTWSI_BASE0 MVEBU_TWSI_BASE
-#define CONFIG_SYS_I2C_SLAVE 0x0
-#define CONFIG_SYS_I2C_SPEED 100000
-
/* SPI NOR flash default params, used by sf commands */
#define CONFIG_SF_DEFAULT_BUS 1