Add necessary clocks & defines to get I2C support for i.MX27
Signed-off-by: Eric Benard <eric@eukrea.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
This commit is contained in:
parent
e5b873753d
commit
21a9d8d87e
|
@ -16,6 +16,7 @@
|
|||
#define IMX_UART2_BASE (0x0b000 + IMX_IO_BASE)
|
||||
#define IMX_UART3_BASE (0x0c000 + IMX_IO_BASE)
|
||||
#define IMX_UART4_BASE (0x0d000 + IMX_IO_BASE)
|
||||
#define IMX_I2C1_BASE (0x12000 + IMX_IO_BASE)
|
||||
#define IMX_GPIO_BASE (0x15000 + IMX_IO_BASE)
|
||||
#define IMX_TIM4_BASE (0x19000 + IMX_IO_BASE)
|
||||
#define IMX_TIM5_BASE (0x1a000 + IMX_IO_BASE)
|
||||
|
|
|
@ -154,6 +154,11 @@ ulong imx_get_lcdclk(void)
|
|||
return imx_get_perclk3();
|
||||
}
|
||||
|
||||
ulong imx_get_i2cclk(void)
|
||||
{
|
||||
return imx_get_ipgclk();
|
||||
}
|
||||
|
||||
void imx_dump_clocks(void)
|
||||
{
|
||||
uint32_t cid = CID;
|
||||
|
|
Loading…
Reference in New Issue