-- Copyright (c) 2024 Huawei Technologies Co., Ltd.
-- openUBMC is licensed under Mulan PSL v2.
-- You can use this software according to the terms and conditions of the Mulan PSL v2.
-- You may obtain a copy of Mulan PSL v2 at:
--         http://license.coscl.org.cn/MulanPSL2
-- THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
-- EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
-- MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
-- See the Mulan PSL v2 for more details.

local vrd_enums = {}

vrd_enums.POWER_TYPE = {
    CORE = 0,
    UNCORE = 1,
    DDR = 2,
    Nimbus = 3,
    VDDQ = 4,
    CORE_MEM = 5,
    UNCORE_MEM = 6,
    SIOE = 7,
    HBM = 8,
    SERDES = 13,
    IO_DVDD09 = 14
}

vrd_enums.POWER_DIEID = {
    NA = 0,
    TA = 1,
    NB = 2,
    TB = 3,
    NC = 4,
    TC = 5,
    ND = 6,
    TD = 7,
    D0_NOT_EXIST = 80,
    D1_NOT_EXIST = 81,
    NOT_EXIST = 0xff -- UNCORE, DDR, VDDQ都会返回die id 0xff
}

return vrd_enums
