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 */ |
Tom Rini | fa760c3 | 2022-12-04 10:03:53 -0500 | [diff] [blame] | 10 | #define CFG_FEC_MXC_PHYADDR 0x01 |
Stefan Roese | 452308c | 2015-07-06 13:36:33 +0200 | [diff] [blame] | 11 | |
12 | /* UART */ | ||||
Tom Rini | 4db3866 | 2022-12-04 10:04:55 -0500 | [diff] [blame] | 13 | #define CFG_MXC_UART_BASE UART4_BASE |
Simon Glass | 12ca05a | 2016-10-17 20:12:39 -0600 | [diff] [blame] | 14 | #define CONSOLE_DEV "ttymxc3" |
Stefan Roese | 452308c | 2015-07-06 13:36:33 +0200 | [diff] [blame] | 15 | |
Stefan Roese | 452308c | 2015-07-06 13:36:33 +0200 | [diff] [blame] | 16 | /* Watchdog */ |
Stefan Roese | 452308c | 2015-07-06 13:36:33 +0200 | [diff] [blame] | 17 | |
18 | /* Config on-board RTC */ | ||||
Tom Rini | 65cc0e2 | 2022-11-16 13:10:41 -0500 | [diff] [blame] | 19 | #define CFG_SYS_RTC_BUS_NUM 2 |
20 | #define CFG_SYS_I2C_RTC_ADDR 0x68 | ||||
Stefan Roese | 452308c | 2015-07-06 13:36:33 +0200 | [diff] [blame] | 21 | /* Turn off RTC square-wave output to save battery */ |
Stefan Roese | 452308c | 2015-07-06 13:36:33 +0200 | [diff] [blame] | 22 | |
Stefan Roese | 452308c | 2015-07-06 13:36:33 +0200 | [diff] [blame] | 23 | /* LED */ |
Stefan Roese | 452308c | 2015-07-06 13:36:33 +0200 | [diff] [blame] | 24 | |
Michael Krummsdorf | e7ae6b5 | 2020-04-09 15:21:40 +0200 | [diff] [blame] | 25 | /* I2C */ |
Michael Krummsdorf | e7ae6b5 | 2020-04-09 15:21:40 +0200 | [diff] [blame] | 26 | |
Stefan Roese | 452308c | 2015-07-06 13:36:33 +0200 | [diff] [blame] | 27 | #endif /* __CONFIG_TQMA6_WRU4_H */ |