2018-08-31 14:28:29 +00:00
|
|
|
/* SPDX-License-Identifier: GPL-2.0+ */
|
|
|
|
/*
|
|
|
|
* (C) Copyright 2018
|
|
|
|
* Quentin Schulz, Bootlin, quentin.schulz@bootlin.com
|
|
|
|
*
|
2020-12-29 03:34:54 +00:00
|
|
|
* Structure for use with U_BOOT_DRVINFO for pl022 SPI devices or to use
|
2020-12-03 23:55:21 +00:00
|
|
|
* in of_to_plat.
|
2018-08-31 14:28:29 +00:00
|
|
|
*/
|
|
|
|
|
2018-11-22 06:24:08 +00:00
|
|
|
#ifndef __spi_pl022_h
|
|
|
|
#define __spi_pl022_h
|
2018-08-31 14:28:29 +00:00
|
|
|
|
|
|
|
#include <fdtdec.h>
|
|
|
|
|
|
|
|
struct pl022_spi_pdata {
|
|
|
|
fdt_addr_t addr;
|
|
|
|
fdt_size_t size;
|
|
|
|
unsigned int freq;
|
|
|
|
};
|
|
|
|
|
2018-11-22 06:24:08 +00:00
|
|
|
#endif /* __spi_pl022_h */
|