Index: linux-2.6.23.12-armeb/arch/arm/mach-ixp4xx/dsmg600-setup.c =================================================================== --- linux-2.6.23.12-armeb.orig/arch/arm/mach-ixp4xx/dsmg600-setup.c 2008-01-14 07:48:28.000000000 +1030 +++ linux-2.6.23.12-armeb/arch/arm/mach-ixp4xx/dsmg600-setup.c 2008-01-14 07:50:50.000000000 +1030 @@ -14,6 +14,7 @@ #include #include #include +#include #include #include @@ -51,6 +52,12 @@ }, }; +static struct i2c_board_info __initdata dsmg600_i2c_board_info [] = { + { + I2C_BOARD_INFO("rtc-pcf8563", 0x51), + }, +}; + #ifdef CONFIG_LEDS_CLASS static struct resource dsmg600_led_resources[] = { { @@ -158,6 +165,9 @@ pm_power_off = dsmg600_power_off; + i2c_register_board_info(0, dsmg600_i2c_board_info, + ARRAY_SIZE(dsmg600_i2c_board_info)); + /* The UART is required on the DSM-G600 (Redboot cannot use the * NIC) -- do it here so that it does *not* get removed if * platform_add_devices fails!