2018-01-14 20:14:32 +08:00
|
|
|
#
|
|
|
|
# Copyright (c) 2018, I-SENSE group of ICCS
|
|
|
|
#
|
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
#
|
|
|
|
---
|
|
|
|
title: SPI Device Base Structure
|
|
|
|
version: 0.1
|
|
|
|
|
|
|
|
description: >
|
|
|
|
This binding gives the base structures for all spi devices
|
|
|
|
|
|
|
|
parent:
|
|
|
|
bus: spi
|
|
|
|
|
|
|
|
properties:
|
|
|
|
compatible:
|
|
|
|
type: string
|
|
|
|
category: required
|
|
|
|
description: compatible strings
|
2018-08-20 19:45:55 +08:00
|
|
|
generation: define
|
2018-01-14 20:14:32 +08:00
|
|
|
reg:
|
|
|
|
type: array
|
|
|
|
description: Chip select address of device
|
|
|
|
generation: define
|
|
|
|
category: required
|
|
|
|
spi-max-frequency:
|
|
|
|
type: u32
|
|
|
|
category: required
|
|
|
|
description: Maximum clock frequency of device's SPI interface in Hz
|
|
|
|
generation: define
|
|
|
|
label:
|
|
|
|
type: string
|
|
|
|
category: required
|
|
|
|
description: Human readable string describing the device (used by Zephyr for API name)
|
|
|
|
generation: define
|
|
|
|
...
|