Tom Rini | 10e4779 | 2018-05-06 17:58:06 -0400 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0+ */ |
Scott Branden | 5a5cb00 | 2014-08-11 13:58:25 -0700 | [diff] [blame] | 2 | /* |
Suji Velupillai | d2f677a | 2017-07-10 14:05:41 -0700 | [diff] [blame] | 3 | * Copyright 2014-2017 Broadcom. |
Scott Branden | 5a5cb00 | 2014-08-11 13:58:25 -0700 | [diff] [blame] | 4 | */ |
| 5 | |
| 6 | #ifndef __ARCH_CONFIGS_H |
| 7 | #define __ARCH_CONFIGS_H |
| 8 | |
| 9 | #include <asm/iproc-common/configs.h> |
| 10 | |
| 11 | /* uArchitecture specifics */ |
| 12 | |
| 13 | /* Serial Info */ |
| 14 | /* Post pad 3 bytes after each reg addr */ |
| 15 | #define CONFIG_SYS_NS16550_REG_SIZE (-4) |
| 16 | #define CONFIG_SYS_NS16550_MEM32 |
| 17 | |
| 18 | #define CONFIG_SYS_NS16550_CLK 100000000 |
| 19 | #define CONFIG_SYS_NS16550_CLK_DIV 54 |
| 20 | #define CONFIG_SERIAL_MULTI |
Scott Branden | 5a5cb00 | 2014-08-11 13:58:25 -0700 | [diff] [blame] | 21 | #define CONFIG_SYS_NS16550_COM3 0x18023000 |
| 22 | |
Jiandong Zheng | 19b6b69 | 2015-07-15 16:28:14 -0700 | [diff] [blame] | 23 | /* Ethernet */ |
Jiandong Zheng | 19b6b69 | 2015-07-15 16:28:14 -0700 | [diff] [blame] | 24 | #define CONFIG_PHY_BROADCOM |
| 25 | #define CONFIG_PHY_RESET_DELAY 10000 /* PHY reset delay in us*/ |
| 26 | |
Scott Branden | 5a5cb00 | 2014-08-11 13:58:25 -0700 | [diff] [blame] | 27 | #endif /* __ARCH_CONFIGS_H */ |