# Copyright (c) 2018, I-SENSE group of ICCS
# SPDX-License-Identifier: Apache-2.0

# Common fields for STM32 SPI peripherals.

include: spi-controller.yaml

properties:
    reg:
      required: true

    interrupts:
      required: true

    frame-format:
      type: boolean
      required: false
      description: |
        Use Frame Format to support TI or motorola SPI mode when the SPI
        interface is compatible with the TI protocol. The FRF bit of the
        SPIx_CR2 configures the SPI to be compliant with this protocol.
        false: SPI Motorola mode (default)
        true: SPI TI mode

    pinctrl-0:
      type: phandles
      required: false
      description: |
        Pin configuration for SPI signals (MISO, MOSI, SCK and optional NSS).
        We expect that the phandles will reference pinctrl nodes.

        For example the SPI3 would be
           <&spi3_sck_pc10 &spi3_miso_pc11 &spi3_mosi_pc12>;

        Example with NSS Pin
           <&spi3_sck_pc10 &spi3_miso_pc11 &spi3_mosi_pc12 &spi3_nss_pa15>;

# Copyright (c) 2018, I-SENSE group of ICCS
# SPDX-License-Identifier: Apache-2.0

# Common fields for STM32 SPI peripherals.

include: spi-controller.yaml

properties:
    reg:
      required: true

    interrupts:
      required: true

    pinctrl-0:
      type: phandles
      required: false
      description: |
        Pin configuration for SPI signals (MISO, MOSI, SCK and optional NSS).
        We expect that the phandles will reference pinctrl nodes.

        For example the SPI3 would be
           <&spi3_sck_pc10 &spi3_miso_pc11 &spi3_mosi_pc12>;

        Example with NSS Pin
           <&spi3_sck_pc10 &spi3_miso_pc11 &spi3_mosi_pc12 &spi3_nss_pa15>;

Revert "dts: stm32 spi can configure the frame-format"
Revert "dts: stm32 spi can configure the frame-format"

This reverts commit 394996313a76b4d1674428c993a0c0a06a6fd7dc.

Signed-off-by: Christopher Friedt <76f728c1c3997bf5bfe7e9261eff720c92409a2f@gmail.com>
