OpenBIC
OpenSource Bridge-IC
plat_i2c.h File Reference
#include "hal_i2c.h"
Include dependency graph for plat_i2c.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define I2C_BUS1   0
 
#define I2C_BUS2   1
 
#define I2C_BUS3   2
 
#define I2C_BUS4   3
 
#define I2C_BUS5   4
 
#define I2C_BUS6   5
 
#define I2C_BUS7   6
 
#define I2C_BUS8   7
 
#define I2C_BUS10   9
 
#define I2C_BUS14   13
 
#define CPLD_IO_I2C_BUS   I2C_BUS5
 
#define CPLD_IO_I2C_ADDR   0x21
 
#define CPLD_REG_BOARD_REVISION_ID   0x08
 
#define CPLD_REG_BMC_INTERFACE   0x0D
 
#define CPLD_REG_RETIMER_TYPE   0x12
 
#define I2C_BUS_MAX_NUM   14
 

Macro Definition Documentation

◆ CPLD_IO_I2C_ADDR

#define CPLD_IO_I2C_ADDR   0x21

◆ CPLD_IO_I2C_BUS

#define CPLD_IO_I2C_BUS   I2C_BUS5

◆ CPLD_REG_BMC_INTERFACE

#define CPLD_REG_BMC_INTERFACE   0x0D

◆ CPLD_REG_BOARD_REVISION_ID

#define CPLD_REG_BOARD_REVISION_ID   0x08

◆ CPLD_REG_RETIMER_TYPE

#define CPLD_REG_RETIMER_TYPE   0x12

◆ I2C_BUS1

#define I2C_BUS1   0

◆ I2C_BUS10

#define I2C_BUS10   9

◆ I2C_BUS14

#define I2C_BUS14   13

◆ I2C_BUS2

#define I2C_BUS2   1

◆ I2C_BUS3

#define I2C_BUS3   2

◆ I2C_BUS4

#define I2C_BUS4   3

◆ I2C_BUS5

#define I2C_BUS5   4

◆ I2C_BUS6

#define I2C_BUS6   5

◆ I2C_BUS7

#define I2C_BUS7   6

◆ I2C_BUS8

#define I2C_BUS8   7

◆ I2C_BUS_MAX_NUM

#define I2C_BUS_MAX_NUM   14