42 lines
874 B
YAML
42 lines
874 B
YAML
#
|
|
# Copyright (c) 2017 I-SENSE group of ICCS
|
|
#
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
#
|
|
---
|
|
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
|
|
...
|