2018-05-06 21:58:06 +00:00
|
|
|
/* SPDX-License-Identifier: GPL-2.0+ */
|
2015-07-06 11:36:33 +00:00
|
|
|
/*
|
|
|
|
* Copyright (C) 2015 Stefan Roese <sr@denx.de>
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef __CONFIG_TQMA6_WRU4_H
|
|
|
|
#define __CONFIG_TQMA6_WRU4_H
|
|
|
|
|
|
|
|
/* Ethernet */
|
|
|
|
#define CONFIG_FEC_MXC_PHYADDR 0x01
|
|
|
|
|
|
|
|
/* UART */
|
|
|
|
#define CONFIG_MXC_UART_BASE UART4_BASE
|
2016-10-18 02:12:39 +00:00
|
|
|
#define CONSOLE_DEV "ttymxc3"
|
2015-07-06 11:36:33 +00:00
|
|
|
|
|
|
|
/* Watchdog */
|
|
|
|
|
|
|
|
/* Config on-board RTC */
|
|
|
|
#define CONFIG_RTC_DS1337
|
|
|
|
#define CONFIG_SYS_RTC_BUS_NUM 2
|
|
|
|
#define CONFIG_SYS_I2C_RTC_ADDR 0x68
|
|
|
|
/* Turn off RTC square-wave output to save battery */
|
2017-05-30 00:03:33 +00:00
|
|
|
#define CONFIG_RTC_DS1337_NOOSC
|
2015-07-06 11:36:33 +00:00
|
|
|
|
|
|
|
/* LED */
|
|
|
|
|
|
|
|
/* Bootcounter */
|
|
|
|
#define CONFIG_SYS_BOOTCOUNT_BE
|
|
|
|
|
2020-04-09 13:21:40 +00:00
|
|
|
/* I2C */
|
|
|
|
|
2015-07-06 11:36:33 +00:00
|
|
|
#endif /* __CONFIG_TQMA6_WRU4_H */
|