]>
Commit | Line | Data |
---|---|---|
83d290c5 | 1 | /* SPDX-License-Identifier: GPL-2.0+ */ |
452308c0 SR |
2 | /* |
3 | * Copyright (C) 2015 Stefan Roese <sr@denx.de> | |
452308c0 SR |
4 | */ |
5 | ||
6 | #ifndef __CONFIG_TQMA6_WRU4_H | |
7 | #define __CONFIG_TQMA6_WRU4_H | |
8 | ||
452308c0 SR |
9 | /* Ethernet */ |
10 | #define CONFIG_FEC_XCV_TYPE RMII | |
11 | #define CONFIG_ETHPRIME "FEC" | |
12 | #define CONFIG_FEC_MXC_PHYADDR 0x01 | |
452308c0 SR |
13 | |
14 | /* UART */ | |
15 | #define CONFIG_MXC_UART_BASE UART4_BASE | |
12ca05a3 | 16 | #define CONSOLE_DEV "ttymxc3" |
452308c0 | 17 | |
452308c0 | 18 | /* Watchdog */ |
452308c0 SR |
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 */ | |
2bd3cab3 | 25 | #define CONFIG_RTC_DS1337_NOOSC |
452308c0 | 26 | |
452308c0 | 27 | /* LED */ |
452308c0 SR |
28 | |
29 | /* Bootcounter */ | |
452308c0 SR |
30 | #define CONFIG_SYS_BOOTCOUNT_BE |
31 | ||
e7ae6b5e | 32 | /* I2C */ |
69d9eda4 | 33 | #define CONFIG_SYS_I2C_LEGACY |
e7ae6b5e | 34 | |
452308c0 | 35 | #endif /* __CONFIG_TQMA6_WRU4_H */ |