1 /* SPDX-License-Identifier: GPL-2.0+ */
3 * Copyright (c) 2018 Angelo Dureghello <angelo@sysam.it>
6 #ifndef __spi_coldfire_h
7 #define __spi_coldfire_h
9 #define MAX_CTAR_REGS 8
10 #define MAX_CTAR_FIELDS 8
13 * struct coldfire_spi_platdata - information about a coldfire spi module
15 * @regs_addr: base address for module registers
16 * @speed_hz: default SCK frequency
17 * @mode: default SPI mode
18 * @num_cs: number of DSPI chipselect signals
20 struct coldfire_spi_platdata {
25 uint ctar[MAX_CTAR_REGS][MAX_CTAR_FIELDS];
28 #endif /* __spi_coldfire_h */