![Advantech RSB-4220 User Manual Download Page 49](http://html1.mh-extra.com/html/advantech/rsb-4220/rsb-4220_user-manual_2857962049.webp)
43
RSB-4220 User Manual
Chapter 3
S
oftware
Functionality
9.
Select “Device Drivers”
→
”Real Time Clock”, you will see an option “Seiko
Instruments S-35390A” on the list. Choose this option then exit and save your
configuration.
Figure 3.4 Selecting TI TPS65910 RTC Driver
10.
Change directory to “source/ linux-3.2.0-psp04.06.00.11/arch/arm/mach-
omap2”, edit the “board-rsb4220.h” and “board-advantech.c”.
Please add below codes to source/ linux-3.2.0-psp04.06.00.11/arch/arm/mach-
mx6/board-rsb4220.h:
/* I2C */
static struct i2c_board_info mxc_i2c0_board_info[] __initdata = {
{
I2C_BOARD_INFO("s35390a", 0x30),
},
};
Please add below codes to
source/ linux-3.2.0-psp04.06.00.11/arch/arm/mach-omap2/board-advantech.c
omap_register_i2c_bus(1, 100, am335x_i2c0_boardinfo,
ARRAY_SIZE(am335x_i2c0_boardinfo));
11.
Please refer to former Chapter 3.4.2 to rebuild the kernel with RTC driver (Seiko
Instruments S-35390A) after completing above steps.
Note!
If you cannot find the driver for your device from the list, please contact
your hardware vender.