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