| 1 |
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) |
| 2 |
%YAML 1.2 |
| 3 |
--- |
| 4 |
$id: http://devicetree.org/schemas/misc/lwn,bk4-spi.yaml# |
| 5 |
$schema: http://devicetree.org/meta-schemas/core.yaml# |
| 6 |
|
| 7 |
title: Liebherr's BK4 external SPI controller |
| 8 |
|
| 9 |
maintainers: |
| 10 |
- Lukasz Majewski <[email protected]> |
| 11 |
|
| 12 |
description: | |
| 13 |
Liebherr's BK4 external SPI controller is a device which handles data |
| 14 |
acquisition from compatible industrial peripherals. |
| 15 |
The SPI is used for data and management purposes in both master and |
| 16 |
slave modes. |
| 17 |
|
| 18 |
allOf: |
| 19 |
- $ref: /schemas/spi/spi-peripheral-props.yaml# |
| 20 |
|
| 21 |
properties: |
| 22 |
compatible: |
| 23 |
const: lwn,bk4-spi |
| 24 |
|
| 25 |
reg: |
| 26 |
maxItems: 1 |
| 27 |
|
| 28 |
spi-max-frequency: |
| 29 |
maximum: 30000000 |
| 30 |
|
| 31 |
fsl,spi-cs-sck-delay: true |
| 32 |
|
| 33 |
fsl,spi-sck-cs-delay: true |
| 34 |
|
| 35 |
required: |
| 36 |
- compatible |
| 37 |
- spi-max-frequency |
| 38 |
|
| 39 |
additionalProperties: false |
| 40 |
|
| 41 |
examples: |
| 42 |
- | |
| 43 |
spi { |
| 44 |
#address-cells = <1>; |
| 45 |
#size-cells = <0>; |
| 46 |
|
| 47 |
spidev@0 { |
| 48 |
compatible = "lwn,bk4-spi"; |
| 49 |
reg = <0>; |
| 50 |
spi-max-frequency = <30000000>; |
| 51 |
fsl,spi-cs-sck-delay = <200>; |
| 52 |
fsl,spi-sck-cs-delay = <400>; |
| 53 |
}; |
| 54 |
}; |