8.
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.
9.
Change directory to "source/linux-3.0.35/arch/arm/mach-mx6", edit the "board-
mx6q_ROM-3420.h" and "board-mx6q_advantech.c".
Please add below codes to source/linux-3.0.35/arch/arm/mach-mx6/board-
mx6q_ROM-3420.h:
static struct i2c_board_info mxc_i2c6_board_info[] __initdata = {
/* switch 3 */
{ /* rtc ‐ S35390A */
I2C_BOARD_INFO("s35390a", 0x30),
},
};
Please add below codes to
source/linux-3.0.35/arch/arm/mach-mx6/board-mx6q_advantech.c
i2c_register_board_info(6, mxc_i2c6_board_info,
ARRAY_SIZE(mxc_i2c6_board_info));
10.
Please refer to former Chapter 3.4.2 Build Linux Kernel Image to rebuild the ker-
nel 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 vendor.
ROM-3420 User Manual
Figure 3.2 Selecting Seiko Instruments S-35390A
28