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