1# i2c_interface
2
3## Description
4I2C interface to a device.
5
6Direct I2C communication to the device will be performed using the [i2c-dev
7API](https://www.kernel.org/doc/Documentation/i2c/dev-interface).
8
9To avoid race conditions and conflicts, no device driver should be bound to the
10device.
11
12## Properties
13| Name | Required | Type | Description |
14| :--- | :------: | :--- | :---------- |
15| bus  | yes | number | I2C bus number of the device.  The first bus is 0. |
16| address  | yes | string | 7-bit I2C address of the device expressed in hexadecimal.  Must be prefixed with 0x and surrounded by double quotes. |
17
18## Example
19```
20{
21  "bus": 1,
22  "address": "0x70"
23}
24```
25