OpenBIC
OpenSource Bridge-IC
plat_ipmb.h
Go to the documentation of this file.
1/*
2 * Copyright (c) Meta Platforms, Inc. and affiliates.
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16
17#ifndef PLAT_IPMB_H
18#define PLAT_IPMB_H
19
20#include "plat_i2c.h"
21#include "ipmb.h"
22
23#define IPMB_BMC_BUS I2C_BUS1
24#define IPMB_ME_BUS I2C_BUS6
25#define IPMB_EXP1_BUS I2C_BUS3
26#define IPMB_EXP2_BUS I2C_BUS4
27#define IPMB_BB_BIC_BUS I2C_BUS3
28
29#define BMC_I2C_ADDRESS 0x10
30#define ME_I2C_ADDRESS 0x16
31#define SELF_I2C_ADDRESS 0x20
32#define BIC1_I2C_ADDRESS 0x20
33#define BIC2_I2C_ADDRESS 0x20
34#define BB_BIC_I2C_ADDRESS 0x20
35#define MAX_IPMB_IDX 5
36
37enum {
43};
44
46#endif
IPMB_config pal_IPMB_config_table[]
Definition: plat_ipmb.c:19
Definition: ipmb.h:138
@ ME_IPMB_IDX
Definition: plat_ipmb.h:35
@ BMC_IPMB_IDX
Definition: plat_ipmb.h:34
@ EXP1_IPMB_IDX
Definition: plat_ipmb.h:40
@ EXP2_IPMB_IDX
Definition: plat_ipmb.h:42
@ BB_IPMB_IDX
Definition: plat_ipmb.h:41