summaryrefslogtreecommitdiff
path: root/include/configs/tqma6.h
diff options
context:
space:
mode:
authorMichael Krummsdorf <michael.krummsdorf@ew.tq-group.com>2020-04-09 15:21:40 +0200
committerStefano Babic <sbabic@denx.de>2020-04-17 18:58:20 +0200
commite7ae6b5e046c336217cf89a0c923a407f98db8ec (patch)
treef5f63f5a05f26db179bb427db266041fb48ef049 /include/configs/tqma6.h
parent45fde2ac7abfb127e24fa4e213bbf4fc9116a356 (diff)
configs: tqma6x_mba6x: update default configs for device model
Fixes compilation for WRU4 board. Signed-off-by: Michael Krummsdorf <michael.krummsdorf@ew.tq-group.com>
Diffstat (limited to 'include/configs/tqma6.h')
-rw-r--r--include/configs/tqma6.h9
1 files changed, 2 insertions, 7 deletions
diff --git a/include/configs/tqma6.h b/include/configs/tqma6.h
index 1ea6332878f..895cd0324e1 100644
--- a/include/configs/tqma6.h
+++ b/include/configs/tqma6.h
@@ -28,18 +28,11 @@
#define PHYS_SDRAM_SIZE (SZ_1G)
#endif
-#define CONFIG_MXC_UART
-
/* SPI Flash */
#define TQMA6_SPI_FLASH_SECTOR_SIZE SZ_64K
/* I2C Configs */
-#define CONFIG_SYS_I2C
-#define CONFIG_SYS_I2C_MXC
-#define CONFIG_SYS_I2C_MXC_I2C1 /* enable I2C bus 1 */
-#define CONFIG_SYS_I2C_MXC_I2C2 /* enable I2C bus 2 */
-#define CONFIG_SYS_I2C_MXC_I2C3 /* enable I2C bus 3 */
#define CONFIG_I2C_MULTI_BUS
#define CONFIG_SYS_I2C_SPEED 100000
@@ -49,11 +42,13 @@
#define CONFIG_SYS_I2C_EEPROM_PAGE_WRITE_BITS 5 /* 32 Bytes */
#define CONFIG_SYS_I2C_EEPROM_PAGE_WRITE_DELAY_MS 20
+#if !defined(CONFIG_DM_PMIC)
#define CONFIG_POWER
#define CONFIG_POWER_I2C
#define CONFIG_POWER_PFUZE100
#define CONFIG_POWER_PFUZE100_I2C_ADDR 0x08
#define TQMA6_PFUZE100_I2C_BUS 2
+#endif
/* MMC Configs */
#define CONFIG_SYS_FSL_ESDHC_ADDR 0