summaryrefslogtreecommitdiff
path: root/include/configs/ls2080aqds.h
diff options
context:
space:
mode:
authorChuanhua Han <chuanhua.han@nxp.com>2019-07-26 19:24:01 +0800
committerPrabhakar Kushwaha <prabhakar.kushwaha@nxp.com>2019-08-22 09:07:36 +0530
commit885ae0513a3cfc2e1fbd4452cd2e2c466423049a (patch)
treeceae491c7a173aa19457de6aa5f95eca8193bb91 /include/configs/ls2080aqds.h
parentdb07c447caacd5f9003a57ef2802afa8a4c81348 (diff)
downloadu-boot-885ae0513a3cfc2e1fbd4452cd2e2c466423049a.tar.gz
boards: ls2088aqds: Add support of I2C driver model.
Update ls2088aqds board init code to support DM_I2C. Signed-off-by: Chuanhua Han <chuanhua.han@nxp.com> Reviewed-by: Prabhakar Kushwaha <prabhakar.kushwaha@nxp.com>
Diffstat (limited to 'include/configs/ls2080aqds.h')
-rw-r--r--include/configs/ls2080aqds.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/configs/ls2080aqds.h b/include/configs/ls2080aqds.h
index 81af1d9ea4..e2a897557d 100644
--- a/include/configs/ls2080aqds.h
+++ b/include/configs/ls2080aqds.h
@@ -16,7 +16,9 @@ unsigned long get_board_ddr_clk(void);
#ifdef CONFIG_FSL_QSPI
#define CONFIG_QIXIS_I2C_ACCESS
+#ifndef CONFIG_DM_I2C
#define CONFIG_SYS_I2C_EARLY_INIT
+#endif
#define CONFIG_SYS_I2C_IFDR_DIV 0x7e
#endif
@@ -324,6 +326,7 @@ unsigned long get_board_ddr_clk(void);
*/
#define RTC
#define CONFIG_RTC_DS3231 1
+#define CONFIG_RTC_ENABLE_32KHZ_OUTPUT
#define CONFIG_SYS_I2C_RTC_ADDR 0x68
#define CONFIG_RTC_ENABLE_32KHZ_OUTPUT