2018-02-28 17:37:41 +08:00
|
|
|
#
|
|
|
|
# Copyright (c) 2017 I-SENSE group of ICCS
|
|
|
|
#
|
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
#
|
2017-06-29 22:20:30 +08:00
|
|
|
---
|
|
|
|
title: I2C Base Structure
|
|
|
|
id: i2c
|
|
|
|
version: 0.1
|
|
|
|
|
|
|
|
description: >
|
|
|
|
This binding gives the base structures for all I2C devices
|
|
|
|
|
2017-10-19 22:31:44 +08:00
|
|
|
child:
|
|
|
|
bus: i2c
|
|
|
|
|
2017-06-29 22:20:30 +08:00
|
|
|
properties:
|
2017-11-23 15:48:10 +08:00
|
|
|
"#address-cells":
|
2017-07-14 01:51:32 +08:00
|
|
|
type: int
|
|
|
|
category: required
|
|
|
|
description: should be 1.
|
2017-11-23 15:48:10 +08:00
|
|
|
"#size-cells":
|
2017-07-14 01:51:32 +08:00
|
|
|
type: int
|
|
|
|
category: required
|
|
|
|
description: should be 0.
|
2017-11-23 15:48:10 +08:00
|
|
|
clock-frequency :
|
2017-06-29 22:20:30 +08:00
|
|
|
type: int
|
|
|
|
category: optional
|
2017-08-11 00:22:24 +08:00
|
|
|
description: Initial clock frequency in Hz
|
2017-06-29 22:20:30 +08:00
|
|
|
generation: define
|
2017-11-23 15:48:10 +08:00
|
|
|
clocks:
|
2017-06-29 22:20:30 +08:00
|
|
|
type: array
|
|
|
|
category: required
|
|
|
|
description: Clock gate information
|
|
|
|
generation: define
|
2017-11-23 15:48:10 +08:00
|
|
|
label:
|
2017-06-29 22:20:30 +08:00
|
|
|
type: string
|
|
|
|
category: required
|
|
|
|
description: Human readable string describing the device (used by Zephyr for API name)
|
|
|
|
generation: define
|
|
|
|
...
|