Enable all populated TWSI (I2C) controllers on Marvell SOCs.
Obtained from: Semihalf
This commit is contained in:
parent
b94ee7c781
commit
ebeaf70342
@ -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
|
||||
},
|
||||
|
@ -95,7 +95,7 @@ struct obio_device obio_devices[] = {
|
||||
{ -1 },
|
||||
CPU_PM_CTRL_GE0
|
||||
},
|
||||
{ "twsi", MV_TWSI_BASE, MV_TWSI_SIZE,
|
||||
{ "twsi", MV_TWSI0_BASE, MV_TWSI_SIZE,
|
||||
{ -1 }, { -1 },
|
||||
CPU_PM_CTRL_NONE
|
||||
},
|
||||
|
@ -91,7 +91,8 @@
|
||||
#define MV_GPIO_SIZE 0x20
|
||||
#define MV_RTC_BASE (MV_BASE + 0x10300)
|
||||
#define MV_RTC_SIZE 0x08
|
||||
#define MV_TWSI_BASE (MV_BASE + 0x11000)
|
||||
#define MV_TWSI0_BASE (MV_BASE + 0x11000)
|
||||
#define MV_TWSI1_BASE (MV_BASE + 0x11100)
|
||||
#define MV_TWSI_SIZE 0x20
|
||||
#define MV_UART0_BASE (MV_BASE + 0x12000)
|
||||
#define MV_UART1_BASE (MV_BASE + 0x12100)
|
||||
|
@ -88,7 +88,7 @@ struct obio_device obio_devices[] = {
|
||||
{ -1 },
|
||||
CPU_PM_CTRL_NONE
|
||||
},
|
||||
{ "twsi", MV_TWSI_BASE, MV_TWSI_SIZE,
|
||||
{ "twsi", MV_TWSI0_BASE, MV_TWSI_SIZE,
|
||||
{ -1 }, { -1 },
|
||||
CPU_PM_CTRL_NONE
|
||||
},
|
||||
|
Loading…
x
Reference in New Issue
Block a user