1 /* SPDX-License-Identifier: GPL-2.0+ */
2 /*
3  * Copyright (C) 2015 Stefan Roese <sr@denx.de>
4  */
5 
6 #ifndef __CONFIG_TQMA6_WRU4_H
7 #define __CONFIG_TQMA6_WRU4_H
8 
9 /* Ethernet */
10 #define CONFIG_FEC_XCV_TYPE		RMII
11 #define CONFIG_ETHPRIME			"FEC"
12 #define CONFIG_FEC_MXC_PHYADDR		0x01
13 #define CONFIG_PHY_SMSC
14 
15 /* UART */
16 #define CONFIG_MXC_UART_BASE		UART4_BASE
17 #define CONSOLE_DEV		"ttymxc3"
18 
19 /* Watchdog */
20 #define CONFIG_WATCHDOG_TIMEOUT_MSECS	60000
21 
22 /* Config on-board RTC */
23 #define CONFIG_RTC_DS1337
24 #define CONFIG_SYS_RTC_BUS_NUM		2
25 #define CONFIG_SYS_I2C_RTC_ADDR		0x68
26 /* Turn off RTC square-wave output to save battery */
27 #define CONFIG_RTC_DS1337_NOOSC
28 
29 /* LED */
30 
31 /* Bootcounter */
32 #define CONFIG_SYS_BOOTCOUNT_BE
33 
34 #endif /* __CONFIG_TQMA6_WRU4_H */
35