blob: b13db573fdca447aaabb821e1953f99395270ddf [file] [log] [blame]
Stefan Roesec6bc1db2012-01-03 16:49:01 +01001/*
2 * Copyright (C) 2012 Stefan Roese <sr@denx.de>
3 *
Wolfgang Denkd79de1d2013-07-08 09:37:19 +02004 * SPDX-License-Identifier: GPL-2.0+
Stefan Roesec6bc1db2012-01-03 16:49:01 +01005 */
6
7#ifndef _SPR_SSP_H
8#define _SPR_SSP_H
9
10struct 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