mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-16 17:58:23 +00:00
a7fd6fa1c2
The EXPU1 design is a new 40G capable ethernet service unit card for Hitachi-Powergrids wired-com product lines. The base SoC is same as for already added SELI8 card, consequently the already added u-boot support for SELI8 is reused. Signed-off-by: Rainer Boschung <rainer.boschung@hitachi-powergrids.com> Signed-off-by: Aleksandar Gerasimovski <aleksandar.gerasimovski@hitachi-powergrids.com> [Fixed new line error at EOF] Signed-off-by: Priyanka Jain <priyanka.jain@nxp.com>
53 lines
1.4 KiB
C
53 lines
1.4 KiB
C
/* SPDX-License-Identifier: GPL-2.0+ */
|
|
/*
|
|
* Copyright 2020 Hitachi ABB Power Grids
|
|
*/
|
|
|
|
#ifndef __CONFIG_PG_WCOM_EXPU1_H
|
|
#define __CONFIG_PG_WCOM_EXPU1_H
|
|
|
|
#define WCOM_EXPU1
|
|
#define CONFIG_HOSTNAME "EXPU1"
|
|
|
|
#define CONFIG_KM_UBI_PARTITION_NAME_BOOT "ubi0"
|
|
#define CONFIG_KM_UBI_PARTITION_NAME_APP "ubi1"
|
|
|
|
/* CLIPS FPGA Definitions */
|
|
#define CONFIG_SYS_CSPR3_EXT (0x00)
|
|
#define CONFIG_SYS_CSPR3 (CSPR_PHYS_ADDR(CONFIG_SYS_CLIPS_BASE) | \
|
|
CSPR_PORT_SIZE_8 | \
|
|
CSPR_MSEL_GPCM | \
|
|
CSPR_V)
|
|
#define CONFIG_SYS_AMASK3 IFC_AMASK(64 * 1024)
|
|
#define CONFIG_SYS_CSOR3 (CSOR_GPCM_ADM_SHIFT(0x4) | \
|
|
CSOR_GPCM_TRHZ_40)
|
|
#define CONFIG_SYS_CS3_FTIM0 (FTIM0_GPCM_TACSE(0x6) | \
|
|
FTIM0_GPCM_TEADC(0x7) | \
|
|
FTIM0_GPCM_TEAHC(0x2))
|
|
#define CONFIG_SYS_CS3_FTIM1 (FTIM1_GPCM_TACO(0x2) | \
|
|
FTIM1_GPCM_TRAD(0x12))
|
|
#define CONFIG_SYS_CS3_FTIM2 (FTIM2_GPCM_TCS(0x3) | \
|
|
FTIM2_GPCM_TCH(0x1) | \
|
|
FTIM2_GPCM_TWP(0x12))
|
|
#define CONFIG_SYS_CS3_FTIM3 0x04000000
|
|
|
|
/* PRST */
|
|
#define WCOM_CLIPS_RST 0
|
|
#define WCOM_QSFP_RST 1
|
|
#define WCOM_PHY_RST 2
|
|
#define WCOM_TMG_RST 3
|
|
#define KM_DBG_ETH_RST 15
|
|
|
|
/* QRIO GPIOs used for deblocking */
|
|
#define KM_I2C_DEBLOCK_PORT QRIO_GPIO_A
|
|
#define KM_I2C_DEBLOCK_SCL 20
|
|
#define KM_I2C_DEBLOCK_SDA 21
|
|
|
|
/* ZL30343 on SPI */
|
|
#define WCOM_ZL30343_CFG_ADDR 0xe8070000
|
|
#define WCOM_ZL30343_SPI_BUS 0
|
|
#define WCOM_ZL30343_CS 0
|
|
|
|
#include "km/pg-wcom-ls102xa.h"
|
|
|
|
#endif /* __CONFIG_PG_WCOM_EXPU1_H */
|