]> git.kernelconcepts.de Git - karo-tx-uboot.git/blob - arch/arm/include/asm/arch-spear/spr_ssp.h
Add GPL-2.0+ SPDX-License-Identifier to source files
[karo-tx-uboot.git] / arch / arm / include / asm / arch-spear / spr_ssp.h
1 /*
2  * Copyright (C) 2012 Stefan Roese <sr@denx.de>
3  *
4  * SPDX-License-Identifier:     GPL-2.0+
5  */
6
7 #ifndef _SPR_SSP_H
8 #define _SPR_SSP_H
9
10 struct ssp_regs {
11         u32 sspcr0;
12         u32 sspcr1;
13         u32 sspdr;
14         u32 sspsr;
15         u32 sspcpsr;
16         u32 sspimsc;
17         u32 sspicr;
18         u32 sspdmacr;
19 };
20
21 #define SSPCR0_FRF_MOT_SPI      0x0000
22 #define SSPCR0_DSS_16BITS       0x000f
23
24 #define SSPCR1_SSE              0x0002
25
26 #define SSPSR_TNF               0x2
27 #define SSPSR_TFE               0x1
28
29 #endif