1 /* SPDX-License-Identifier: GPL-2.0+ */
2 /*
3  * (C) Copyright 2018
4  * Quentin Schulz, Bootlin, quentin.schulz@bootlin.com
5  *
6  * Structure for use with U_BOOT_DEVICE for pl022 SPI devices or to use
7  * in ofdata_to_platdata.
8  */
9 
10 #ifndef __spi_pl022_h
11 #define __spi_pl022_h
12 
13 #include <fdtdec.h>
14 
15 struct pl022_spi_pdata {
16 	fdt_addr_t addr;
17 	fdt_size_t size;
18 	unsigned int freq;
19 };
20 
21 #endif /* __spi_pl022_h */
22