Tom Rini | 83d290c | 2018-05-06 17:58:06 -0400 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0+ */ |
Stefan Roese | 452308c | 2015-07-06 13:36:33 +0200 | [diff] [blame] | 2 | /* |
| 3 | * Copyright (C) 2015 Stefan Roese <sr@denx.de> |
Stefan Roese | 452308c | 2015-07-06 13:36:33 +0200 | [diff] [blame] | 4 | */ |
| 5 | |
| 6 | #ifndef __CONFIG_TQMA6_WRU4_H |
| 7 | #define __CONFIG_TQMA6_WRU4_H |
| 8 | |
Stefan Roese | 452308c | 2015-07-06 13:36:33 +0200 | [diff] [blame] | 9 | /* Ethernet */ |
| 10 | #define CONFIG_FEC_XCV_TYPE RMII |
| 11 | #define CONFIG_ETHPRIME "FEC" |
| 12 | #define CONFIG_FEC_MXC_PHYADDR 0x01 |
Stefan Roese | 452308c | 2015-07-06 13:36:33 +0200 | [diff] [blame] | 13 | |
| 14 | /* UART */ |
| 15 | #define CONFIG_MXC_UART_BASE UART4_BASE |
Simon Glass | 12ca05a | 2016-10-17 20:12:39 -0600 | [diff] [blame] | 16 | #define CONSOLE_DEV "ttymxc3" |
Stefan Roese | 452308c | 2015-07-06 13:36:33 +0200 | [diff] [blame] | 17 | |
Stefan Roese | 452308c | 2015-07-06 13:36:33 +0200 | [diff] [blame] | 18 | /* Watchdog */ |
Stefan Roese | 452308c | 2015-07-06 13:36:33 +0200 | [diff] [blame] | 19 | |
| 20 | /* Config on-board RTC */ |
| 21 | #define CONFIG_RTC_DS1337 |
| 22 | #define CONFIG_SYS_RTC_BUS_NUM 2 |
| 23 | #define CONFIG_SYS_I2C_RTC_ADDR 0x68 |
| 24 | /* Turn off RTC square-wave output to save battery */ |
Chris Packham | 2bd3cab | 2017-05-30 12:03:33 +1200 | [diff] [blame] | 25 | #define CONFIG_RTC_DS1337_NOOSC |
Stefan Roese | 452308c | 2015-07-06 13:36:33 +0200 | [diff] [blame] | 26 | |
Stefan Roese | 452308c | 2015-07-06 13:36:33 +0200 | [diff] [blame] | 27 | /* LED */ |
Stefan Roese | 452308c | 2015-07-06 13:36:33 +0200 | [diff] [blame] | 28 | |
| 29 | /* Bootcounter */ |
Stefan Roese | 452308c | 2015-07-06 13:36:33 +0200 | [diff] [blame] | 30 | #define CONFIG_SYS_BOOTCOUNT_BE |
| 31 | |
Michael Krummsdorf | e7ae6b5 | 2020-04-09 15:21:40 +0200 | [diff] [blame] | 32 | /* I2C */ |
Michael Krummsdorf | e7ae6b5 | 2020-04-09 15:21:40 +0200 | [diff] [blame] | 33 | |
Stefan Roese | 452308c | 2015-07-06 13:36:33 +0200 | [diff] [blame] | 34 | #endif /* __CONFIG_TQMA6_WRU4_H */ |