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