blob: 2e9292eb55be61d5395da1bbec10896b757c7932 [file] [log] [blame]
Tom Rini10e47792018-05-06 17:58:06 -04001/* SPDX-License-Identifier: GPL-2.0+ */
Stefan Roesebe4cb042015-07-06 13:36:33 +02002/*
3 * Copyright (C) 2015 Stefan Roese <sr@denx.de>
Stefan Roesebe4cb042015-07-06 13:36:33 +02004 */
5
6#ifndef __CONFIG_TQMA6_WRU4_H
7#define __CONFIG_TQMA6_WRU4_H
8
Stefan Roesebe4cb042015-07-06 13:36:33 +02009/* 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
Simon Glass4694a742016-10-17 20:12:39 -060017#define CONSOLE_DEV "ttymxc3"
Stefan Roesebe4cb042015-07-06 13:36:33 +020018
19#define CONFIG_MISC_INIT_R
20
21/* Watchdog */
22#define CONFIG_HW_WATCHDOG
23#define CONFIG_IMX_WATCHDOG
24#define CONFIG_WATCHDOG_TIMEOUT_MSECS 60000
25
26/* Config on-board RTC */
27#define CONFIG_RTC_DS1337
28#define CONFIG_SYS_RTC_BUS_NUM 2
29#define CONFIG_SYS_I2C_RTC_ADDR 0x68
30/* Turn off RTC square-wave output to save battery */
Chris Packham2d3ac512017-05-30 12:03:33 +120031#define CONFIG_RTC_DS1337_NOOSC
Stefan Roesebe4cb042015-07-06 13:36:33 +020032
Stefan Roesebe4cb042015-07-06 13:36:33 +020033/* LED */
Stefan Roesebe4cb042015-07-06 13:36:33 +020034
35/* Bootcounter */
Stefan Roesebe4cb042015-07-06 13:36:33 +020036#define CONFIG_SYS_BOOTCOUNT_BE
37
Stefan Roesebe4cb042015-07-06 13:36:33 +020038#endif /* __CONFIG_TQMA6_WRU4_H */