xref: /openbmc/phosphor-power/phosphor-power-sequencer/docs/config_file/i2c_interface.md (revision d1312fca296a458b0bb7e7d44c650285ee01bec6)
1# i2c_interface
2
3## Description
4
5I2C interface to a device.
6
7## Properties
8
9| Name    | Required | Type   | Description                                                                                                         |
10| :------ | :------: | :----- | :------------------------------------------------------------------------------------------------------------------ |
11| bus     |   yes    | number | I2C bus number of the device. The first bus is 0.                                                                   |
12| address |   yes    | string | 7-bit I2C address of the device expressed in hexadecimal. Must be prefixed with 0x and surrounded by double quotes. |
13
14## Example
15
16```json
17{
18  "bus": 1,
19  "address": "0x70"
20}
21```
22