Scott Branden | da1f5ac | 2014-08-11 13:58:25 -0700 | [diff] [blame] | 1 | /* |
| 2 | * Copyright 2014 Broadcom Corporation. |
| 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 | 39d0ce0 | 2015-07-15 16:28:14 -0700 | [diff] [blame] | 25 | /* Ethernet */ |
| 26 | #define CONFIG_BCM_SF2_ETH |
| 27 | #define CONFIG_BCM_SF2_ETH_GMAC |
| 28 | |
| 29 | #define CONFIG_PHYLIB |
| 30 | #define CONFIG_PHY_BROADCOM |
| 31 | #define CONFIG_PHY_RESET_DELAY 10000 /* PHY reset delay in us*/ |
| 32 | |
| 33 | #define CONFIG_CMD_PING |
| 34 | #define CONFIG_CMD_MII |
| 35 | |
Scott Branden | da1f5ac | 2014-08-11 13:58:25 -0700 | [diff] [blame] | 36 | #endif /* __ARCH_CONFIGS_H */ |