blob: d94f790148dc509289f68c641d1a3b5bcb6c7c70 [file] [log] [blame]
Stefan Roesebe4cb042015-07-06 13:36:33 +02001/*
2 * Copyright (C) 2015 Stefan Roese <sr@denx.de>
3 *
4 * SPDX-License-Identifier: GPL-2.0+
5 */
6
7#ifndef __CONFIG_TQMA6_WRU4_H
8#define __CONFIG_TQMA6_WRU4_H
9
Stefan Roesebe4cb042015-07-06 13:36:33 +020010/* Ethernet */
11#define CONFIG_FEC_XCV_TYPE RMII
12#define CONFIG_ETHPRIME "FEC"
13#define CONFIG_FEC_MXC_PHYADDR 0x01
14#define CONFIG_PHY_SMSC
15
16/* UART */
17#define CONFIG_MXC_UART_BASE UART4_BASE
Simon Glass4694a742016-10-17 20:12:39 -060018#define CONSOLE_DEV "ttymxc3"
Stefan Roesebe4cb042015-07-06 13:36:33 +020019
20#define CONFIG_MISC_INIT_R
21
22/* Watchdog */
23#define CONFIG_HW_WATCHDOG
24#define CONFIG_IMX_WATCHDOG
25#define CONFIG_WATCHDOG_TIMEOUT_MSECS 60000
26
27/* Config on-board RTC */
28#define CONFIG_RTC_DS1337
29#define CONFIG_SYS_RTC_BUS_NUM 2
30#define CONFIG_SYS_I2C_RTC_ADDR 0x68
31/* Turn off RTC square-wave output to save battery */
Chris Packham2d3ac512017-05-30 12:03:33 +120032#define CONFIG_RTC_DS1337_NOOSC
Stefan Roesebe4cb042015-07-06 13:36:33 +020033
Stefan Roesebe4cb042015-07-06 13:36:33 +020034/* LED */
Stefan Roesebe4cb042015-07-06 13:36:33 +020035
36/* Bootcounter */
Stefan Roesebe4cb042015-07-06 13:36:33 +020037#define CONFIG_SYS_BOOTCOUNT_ADDR IRAM_BASE_ADDR
38#define CONFIG_SYS_BOOTCOUNT_BE
39
Stefan Roesebe4cb042015-07-06 13:36:33 +020040#endif /* __CONFIG_TQMA6_WRU4_H */