summaryrefslogtreecommitdiffstats
path: root/sys/arm/mv/discovery
diff options
context:
space:
mode:
authorraj <raj@FreeBSD.org>2009-06-25 10:03:51 +0000
committerraj <raj@FreeBSD.org>2009-06-25 10:03:51 +0000
commit2ee270938d29b16591e1c229a143d7a4fe8ed872 (patch)
treec66b9ad04d64d518faf77f08a028cbad83efc549 /sys/arm/mv/discovery
parente5cea6596071d683ada05a4ac1cf791da41121c6 (diff)
downloadFreeBSD-src-2ee270938d29b16591e1c229a143d7a4fe8ed872.zip
FreeBSD-src-2ee270938d29b16591e1c229a143d7a4fe8ed872.tar.gz
Enable all populated TWSI (I2C) controllers on Marvell SOCs.
Obtained from: Semihalf
Diffstat (limited to 'sys/arm/mv/discovery')
-rw-r--r--sys/arm/mv/discovery/discovery.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/arm/mv/discovery/discovery.c b/sys/arm/mv/discovery/discovery.c
index f4535b1..de21804 100644
--- a/sys/arm/mv/discovery/discovery.c
+++ b/sys/arm/mv/discovery/discovery.c
@@ -126,7 +126,11 @@ struct obio_device obio_devices[] = {
{ -1 },
CPU_PM_CTRL_GE1
},
- { "twsi", MV_TWSI_BASE, MV_TWSI_SIZE,
+ { "twsi", MV_TWSI0_BASE, MV_TWSI_SIZE,
+ { -1 }, { -1 },
+ CPU_PM_CTRL_NONE
+ },
+ { "twsi", MV_TWSI1_BASE, MV_TWSI_SIZE,
{ -1 }, { -1 },
CPU_PM_CTRL_NONE
},
OpenPOWER on IntegriCloud