zephyr/dts/bindings/i2c/i2c.yaml

37 lines
787 B
YAML

---
title: I2C Base Structure
id: i2c
version: 0.1
description: >
This binding gives the base structures for all I2C devices
child:
bus: i2c
properties:
"#address-cells":
type: int
category: required
description: should be 1.
"#size-cells":
type: int
category: required
description: should be 0.
clock-frequency :
type: int
category: optional
description: Initial clock frequency in Hz
generation: define
clocks:
type: array
category: required
description: Clock gate information
generation: define
label:
type: string
category: required
description: Human readable string describing the device (used by Zephyr for API name)
generation: define
...