From c023b8b295ff71df223746e6d9fd0e56cfe72846 Mon Sep 17 00:00:00 2001 From: Linus Walleij Date: Thu, 11 Apr 2013 15:13:39 +0200 Subject: ARM: u300: register I2C bus drivers from device tree This adds the two I2C busses to the device tree so these probe properly. Signed-off-by: Linus Walleij --- arch/arm/mach-u300/core.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'arch/arm/mach-u300/core.c') diff --git a/arch/arm/mach-u300/core.c b/arch/arm/mach-u300/core.c index a210b1c4ccf4..abe97041128a 100644 --- a/arch/arm/mach-u300/core.c +++ b/arch/arm/mach-u300/core.c @@ -714,6 +714,10 @@ static struct of_dev_auxdata u300_auxdata_lookup[] __initdata = { "uart0", &uart0_plat_data), OF_DEV_AUXDATA("arm,primecell", U300_UART1_BASE, "uart1", &uart1_plat_data), + OF_DEV_AUXDATA("st,ddci2c", U300_I2C0_BASE, + "stu300.0", NULL), + OF_DEV_AUXDATA("st,ddci2c", U300_I2C1_BASE, + "stu300.1", NULL), OF_DEV_AUXDATA("arm,primecell", U300_MMCSD_BASE, "mmci", &mmcsd_platform_data), { /* sentinel */ }, -- cgit v1.2.3