blob: 92b1c5e2d671b54693a32d52716a688e8b9bf14b [file] [log] [blame]
Scott Branden5a5cb002014-08-11 13:58:25 -07001/*
Suji Velupillaid2f677a2017-07-10 14:05:41 -07002 * Copyright 2014-2017 Broadcom.
Scott Branden5a5cb002014-08-11 13:58:25 -07003 *
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 Zheng19b6b692015-07-15 16:28:14 -070025/* Ethernet */
Jiandong Zheng19b6b692015-07-15 16:28:14 -070026#define CONFIG_PHY_BROADCOM
27#define CONFIG_PHY_RESET_DELAY 10000 /* PHY reset delay in us*/
28
Scott Branden5a5cb002014-08-11 13:58:25 -070029#endif /* __ARCH_CONFIGS_H */