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