blob: 90db96599c1ba59e3842f8e9afd04e8121ca40f7 [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 */
Stefan Roesebe4cb042015-07-06 13:36:33 +020010#define CONFIG_FEC_MXC_PHYADDR 0x01
Stefan Roesebe4cb042015-07-06 13:36:33 +020011
12/* UART */
13#define CONFIG_MXC_UART_BASE UART4_BASE
Simon Glass4694a742016-10-17 20:12:39 -060014#define CONSOLE_DEV "ttymxc3"
Stefan Roesebe4cb042015-07-06 13:36:33 +020015
Stefan Roesebe4cb042015-07-06 13:36:33 +020016/* Watchdog */
Stefan Roesebe4cb042015-07-06 13:36:33 +020017
18/* Config on-board RTC */
19#define CONFIG_RTC_DS1337
20#define CONFIG_SYS_RTC_BUS_NUM 2
21#define CONFIG_SYS_I2C_RTC_ADDR 0x68
22/* Turn off RTC square-wave output to save battery */
Chris Packham2d3ac512017-05-30 12:03:33 +120023#define CONFIG_RTC_DS1337_NOOSC
Stefan Roesebe4cb042015-07-06 13:36:33 +020024
Stefan Roesebe4cb042015-07-06 13:36:33 +020025/* LED */
Stefan Roesebe4cb042015-07-06 13:36:33 +020026
27/* Bootcounter */
Stefan Roesebe4cb042015-07-06 13:36:33 +020028#define CONFIG_SYS_BOOTCOUNT_BE
29
Michael Krummsdorf3072f6e2020-04-09 15:21:40 +020030/* I2C */
Michael Krummsdorf3072f6e2020-04-09 15:21:40 +020031
Stefan Roesebe4cb042015-07-06 13:36:33 +020032#endif /* __CONFIG_TQMA6_WRU4_H */