hc
2024-03-26 e0728245c89800c2038c23308f2d88969d5b41c8
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
/** @file
*
*  Copyright (c) 2018, Hisilicon Limited. All rights reserved.
*  Copyright (c) 2018, Linaro Limited. All rights reserved.
*
*  SPDX-License-Identifier: BSD-2-Clause-Patent
*
**/
 
#ifndef OEM_APEI_HI1620_H_H
#define OEM_APEI_HI1620_H_H
#define GPIO0_BASE             0x94100000
#define GPIO1_BASE             0x94110000
#define GPIO_INT_MASK          0x34
#define GPIO_INT_EN            0x30
#define GPIO_SWPORT_DDR        0x04
#define GPIO_INT_TYPE          0x38
#define GPIO_INT_POLARITY      0x3c
#define GPIO_LS_SYNC           0x60
#define GPIO_INT_COMB          0xffc
#define IOMUX_REG_BASE         0x94190000
#define IOMG051                0xCC
#define IOMG052                0xD0
#define PAD_EX_INT1            0x4
#define CPLD_GPIO10_INT_OFFSET 0xfc
#define CPLD_BASE_ADDR         0x80000000
#define CPLD_MASK              0x01030000
#define CPLD_VALUE             0x01020000
 
#define MAX_GHES                          3
#define GENERIC_HARDWARE_ERROR_BLOCK_SIZE 0x1000
#define HEST_TABLE_SIZE                   0x2000
#define BOOT_ERROR_REGION_SIZE            0x1000
#define GPIO_HEST_NOTIFIED_PIN            BIT8
 
#define ERST_DATASTORE_SIZE               0x2000
#endif