zephyr/dts/bindings/i2c/i2c-device.yaml

34 lines
675 B
YAML

#
# Copyright (c) 2017, Linaro Limited
#
# SPDX-License-Identifier: Apache-2.0
#
---
title: I2C Device Base Structure
id: i2c-device
version: 0.1
description: >
This binding gives the base structures for all i2c devices
parent:
bus: i2c
properties:
compatible:
type: string
category: required
description: compatible strings
generation: define
reg:
type: array
description: address on i2c bus
generation: define
category: required
label:
type: string
category: required
description: Human readable string describing the device (used by Zephyr for API name)
generation: define
...