Liebherr's BK4 external SPI controller

Schema identifier ($id): "http://devicetree.org/schemas/misc/lwn,bk4-spi.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Lukasz Majewski <lukma@denx.de>"

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.

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): /schemas/spi/spi-peripheral-props.yaml#

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "lwn,bk4-spi"

reg — not listed as required here #

Maximum number of items (maxItems): 1

spi-max-frequency — required here #

Maximum value (maximum): 30000000

fsl,spi-cs-sck-delay — not listed as required here #

true — No constraints added by this property rule.

fsl,spi-sck-cs-delay — not listed as required here #

true — No constraints added by this property rule.

Required in this object (required): "compatible", "spi-max-frequency"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (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>;
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Edit this page