Documentation / devicetree / bindings / misc / lwn,bk4-spi.yaml


Based on kernel version 6.14. Page generated on 2025-04-02 08:20 EST.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/misc/lwn,bk4-spi.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Liebherr's BK4 external SPI controller

maintainers:
  - Lukasz Majewski <lukma@denx.de>

description: |
  Liebherr's BK4 external SPI controller is a device which handles data
  acquisition from compatible industrial peripherals.
  The SPI is used for data and management purposes in both master and
  slave modes.

allOf:
  - $ref: /schemas/spi/spi-peripheral-props.yaml#

properties:
  compatible:
    const: lwn,bk4-spi

  reg:
    maxItems: 1

  spi-max-frequency:
    maximum: 30000000

  fsl,spi-cs-sck-delay: true

  fsl,spi-sck-cs-delay: true

required:
  - compatible
  - spi-max-frequency

additionalProperties: false

examples:
  - |
    spi {
        #address-cells = <1>;
        #size-cells = <0>;
 
        spidev@0 {
            compatible = "lwn,bk4-spi";
            reg = <0>;
            spi-max-frequency = <30000000>;
            fsl,spi-cs-sck-delay = <200>;
            fsl,spi-sck-cs-delay = <400>;
        };
    };