162306a36Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0 */
262306a36Sopenharmony_ci/* sunsab.h: Register Definitions for the Siemens SAB82532 DUSCC
362306a36Sopenharmony_ci *
462306a36Sopenharmony_ci * Copyright (C) 1997  Eddie C. Dost  (ecd@skynet.be)
562306a36Sopenharmony_ci */
662306a36Sopenharmony_ci
762306a36Sopenharmony_ci#ifndef _SUNSAB_H
862306a36Sopenharmony_ci#define _SUNSAB_H
962306a36Sopenharmony_ci
1062306a36Sopenharmony_cistruct sab82532_async_rd_regs {
1162306a36Sopenharmony_ci	u8	rfifo[0x20];	/* Receive FIFO				*/
1262306a36Sopenharmony_ci	u8	star;		/* Status Register			*/
1362306a36Sopenharmony_ci	u8	__pad1;
1462306a36Sopenharmony_ci	u8	mode;		/* Mode Register			*/
1562306a36Sopenharmony_ci	u8	timr;		/* Timer Register			*/
1662306a36Sopenharmony_ci	u8	xon;		/* XON Character			*/
1762306a36Sopenharmony_ci	u8	xoff;		/* XOFF Character			*/
1862306a36Sopenharmony_ci	u8	tcr;		/* Termination Character Register	*/
1962306a36Sopenharmony_ci	u8	dafo;		/* Data Format				*/
2062306a36Sopenharmony_ci	u8	rfc;		/* RFIFO Control Register		*/
2162306a36Sopenharmony_ci	u8	__pad2;
2262306a36Sopenharmony_ci	u8	rbcl;		/* Receive Byte Count Low		*/
2362306a36Sopenharmony_ci	u8	rbch;		/* Receive Byte Count High		*/
2462306a36Sopenharmony_ci	u8	ccr0;		/* Channel Configuration Register 0	*/
2562306a36Sopenharmony_ci	u8	ccr1;		/* Channel Configuration Register 1	*/
2662306a36Sopenharmony_ci	u8	ccr2;		/* Channel Configuration Register 2	*/
2762306a36Sopenharmony_ci	u8	ccr3;		/* Channel Configuration Register 3	*/
2862306a36Sopenharmony_ci	u8	__pad3[4];
2962306a36Sopenharmony_ci	u8	vstr;		/* Version Status Register		*/
3062306a36Sopenharmony_ci	u8	__pad4[3];
3162306a36Sopenharmony_ci	u8	gis;		/* Global Interrupt Status		*/
3262306a36Sopenharmony_ci	u8	ipc;		/* Interrupt Port Configuration		*/
3362306a36Sopenharmony_ci	u8	isr0;		/* Interrupt Status 0			*/
3462306a36Sopenharmony_ci	u8	isr1;		/* Interrupt Status 1			*/
3562306a36Sopenharmony_ci	u8	pvr;		/* Port Value Register			*/
3662306a36Sopenharmony_ci	u8	pis;		/* Port Interrupt Status		*/
3762306a36Sopenharmony_ci	u8	pcr;		/* Port Configuration Register		*/
3862306a36Sopenharmony_ci	u8	ccr4;		/* Channel Configuration Register 4	*/
3962306a36Sopenharmony_ci};
4062306a36Sopenharmony_ci
4162306a36Sopenharmony_cistruct sab82532_async_wr_regs {
4262306a36Sopenharmony_ci	u8	xfifo[0x20];	/* Transmit FIFO			*/
4362306a36Sopenharmony_ci	u8	cmdr;		/* Command Register			*/
4462306a36Sopenharmony_ci	u8	__pad1;
4562306a36Sopenharmony_ci	u8	mode;
4662306a36Sopenharmony_ci	u8	timr;
4762306a36Sopenharmony_ci	u8	xon;
4862306a36Sopenharmony_ci	u8	xoff;
4962306a36Sopenharmony_ci	u8	tcr;
5062306a36Sopenharmony_ci	u8	dafo;
5162306a36Sopenharmony_ci	u8	rfc;
5262306a36Sopenharmony_ci	u8	__pad2;
5362306a36Sopenharmony_ci	u8	xbcl;		/* Transmit Byte Count Low		*/
5462306a36Sopenharmony_ci	u8	xbch;		/* Transmit Byte Count High		*/
5562306a36Sopenharmony_ci	u8	ccr0;
5662306a36Sopenharmony_ci	u8	ccr1;
5762306a36Sopenharmony_ci	u8	ccr2;
5862306a36Sopenharmony_ci	u8	ccr3;
5962306a36Sopenharmony_ci	u8	tsax;		/* Time-Slot Assignment Reg. Transmit	*/
6062306a36Sopenharmony_ci	u8	tsar;		/* Time-Slot Assignment Reg. Receive	*/
6162306a36Sopenharmony_ci	u8	xccr;		/* Transmit Channel Capacity Register	*/
6262306a36Sopenharmony_ci	u8	rccr;		/* Receive Channel Capacity Register	*/
6362306a36Sopenharmony_ci	u8	bgr;		/* Baud Rate Generator Register		*/
6462306a36Sopenharmony_ci	u8	tic;		/* Transmit Immediate Character		*/
6562306a36Sopenharmony_ci	u8	mxn;		/* Mask XON Character			*/
6662306a36Sopenharmony_ci	u8	mxf;		/* Mask XOFF Character			*/
6762306a36Sopenharmony_ci	u8	iva;		/* Interrupt Vector Address		*/
6862306a36Sopenharmony_ci	u8	ipc;
6962306a36Sopenharmony_ci	u8	imr0;		/* Interrupt Mask Register 0		*/
7062306a36Sopenharmony_ci	u8	imr1;		/* Interrupt Mask Register 1		*/
7162306a36Sopenharmony_ci	u8	pvr;
7262306a36Sopenharmony_ci	u8	pim;		/* Port Interrupt Mask			*/
7362306a36Sopenharmony_ci	u8	pcr;
7462306a36Sopenharmony_ci	u8	ccr4;
7562306a36Sopenharmony_ci};
7662306a36Sopenharmony_ci
7762306a36Sopenharmony_cistruct sab82532_async_rw_regs {	/* Read/Write registers			*/
7862306a36Sopenharmony_ci	u8	__pad1[0x20];
7962306a36Sopenharmony_ci	u8	__pad2;
8062306a36Sopenharmony_ci	u8	__pad3;
8162306a36Sopenharmony_ci	u8	mode;
8262306a36Sopenharmony_ci	u8	timr;
8362306a36Sopenharmony_ci	u8	xon;
8462306a36Sopenharmony_ci	u8	xoff;
8562306a36Sopenharmony_ci	u8	tcr;
8662306a36Sopenharmony_ci	u8	dafo;
8762306a36Sopenharmony_ci	u8	rfc;
8862306a36Sopenharmony_ci	u8	__pad4;
8962306a36Sopenharmony_ci	u8	__pad5;
9062306a36Sopenharmony_ci	u8	__pad6;
9162306a36Sopenharmony_ci	u8	ccr0;
9262306a36Sopenharmony_ci	u8	ccr1;
9362306a36Sopenharmony_ci	u8	ccr2;
9462306a36Sopenharmony_ci	u8	ccr3;
9562306a36Sopenharmony_ci	u8	__pad7;
9662306a36Sopenharmony_ci	u8	__pad8;
9762306a36Sopenharmony_ci	u8	__pad9;
9862306a36Sopenharmony_ci	u8	__pad10;
9962306a36Sopenharmony_ci	u8	__pad11;
10062306a36Sopenharmony_ci	u8	__pad12;
10162306a36Sopenharmony_ci	u8	__pad13;
10262306a36Sopenharmony_ci	u8	__pad14;
10362306a36Sopenharmony_ci	u8	__pad15;
10462306a36Sopenharmony_ci	u8	ipc;
10562306a36Sopenharmony_ci	u8	__pad16;
10662306a36Sopenharmony_ci	u8	__pad17;
10762306a36Sopenharmony_ci	u8	pvr;
10862306a36Sopenharmony_ci	u8	__pad18;
10962306a36Sopenharmony_ci	u8	pcr;
11062306a36Sopenharmony_ci	u8	ccr4;
11162306a36Sopenharmony_ci};
11262306a36Sopenharmony_ci
11362306a36Sopenharmony_ciunion sab82532_async_regs {
11462306a36Sopenharmony_ci	__volatile__ struct sab82532_async_rd_regs	r;
11562306a36Sopenharmony_ci	__volatile__ struct sab82532_async_wr_regs	w;
11662306a36Sopenharmony_ci	__volatile__ struct sab82532_async_rw_regs	rw;
11762306a36Sopenharmony_ci};
11862306a36Sopenharmony_ci
11962306a36Sopenharmony_ciunion sab82532_irq_status {
12062306a36Sopenharmony_ci	unsigned short			 stat;
12162306a36Sopenharmony_ci	struct {
12262306a36Sopenharmony_ci		unsigned char		 isr0;
12362306a36Sopenharmony_ci		unsigned char		 isr1;
12462306a36Sopenharmony_ci	} sreg;
12562306a36Sopenharmony_ci};
12662306a36Sopenharmony_ci
12762306a36Sopenharmony_ci/* irqflags bits */
12862306a36Sopenharmony_ci#define SAB82532_ALLS			0x00000001
12962306a36Sopenharmony_ci#define SAB82532_XPR			0x00000002
13062306a36Sopenharmony_ci#define SAB82532_REGS_PENDING		0x00000004
13162306a36Sopenharmony_ci
13262306a36Sopenharmony_ci/* RFIFO Status Byte */
13362306a36Sopenharmony_ci#define SAB82532_RSTAT_PE		0x80
13462306a36Sopenharmony_ci#define SAB82532_RSTAT_FE		0x40
13562306a36Sopenharmony_ci#define SAB82532_RSTAT_PARITY		0x01
13662306a36Sopenharmony_ci
13762306a36Sopenharmony_ci/* Status Register (STAR) */
13862306a36Sopenharmony_ci#define SAB82532_STAR_XDOV		0x80
13962306a36Sopenharmony_ci#define SAB82532_STAR_XFW		0x40
14062306a36Sopenharmony_ci#define SAB82532_STAR_RFNE		0x20
14162306a36Sopenharmony_ci#define SAB82532_STAR_FCS		0x10
14262306a36Sopenharmony_ci#define SAB82532_STAR_TEC		0x08
14362306a36Sopenharmony_ci#define SAB82532_STAR_CEC		0x04
14462306a36Sopenharmony_ci#define SAB82532_STAR_CTS		0x02
14562306a36Sopenharmony_ci
14662306a36Sopenharmony_ci/* Command Register (CMDR) */
14762306a36Sopenharmony_ci#define SAB82532_CMDR_RMC		0x80
14862306a36Sopenharmony_ci#define SAB82532_CMDR_RRES		0x40
14962306a36Sopenharmony_ci#define SAB82532_CMDR_RFRD		0x20
15062306a36Sopenharmony_ci#define SAB82532_CMDR_STI		0x10
15162306a36Sopenharmony_ci#define SAB82532_CMDR_XF		0x08
15262306a36Sopenharmony_ci#define SAB82532_CMDR_XRES		0x01
15362306a36Sopenharmony_ci
15462306a36Sopenharmony_ci/* Mode Register (MODE) */
15562306a36Sopenharmony_ci#define SAB82532_MODE_FRTS		0x40
15662306a36Sopenharmony_ci#define SAB82532_MODE_FCTS		0x20
15762306a36Sopenharmony_ci#define SAB82532_MODE_FLON		0x10
15862306a36Sopenharmony_ci#define SAB82532_MODE_RAC		0x08
15962306a36Sopenharmony_ci#define SAB82532_MODE_RTS		0x04
16062306a36Sopenharmony_ci#define SAB82532_MODE_TRS		0x02
16162306a36Sopenharmony_ci#define SAB82532_MODE_TLP		0x01
16262306a36Sopenharmony_ci
16362306a36Sopenharmony_ci/* Timer Register (TIMR) */
16462306a36Sopenharmony_ci#define SAB82532_TIMR_CNT_MASK		0xe0
16562306a36Sopenharmony_ci#define SAB82532_TIMR_VALUE_MASK	0x1f
16662306a36Sopenharmony_ci
16762306a36Sopenharmony_ci/* Data Format (DAFO) */
16862306a36Sopenharmony_ci#define SAB82532_DAFO_XBRK		0x40
16962306a36Sopenharmony_ci#define SAB82532_DAFO_STOP		0x20
17062306a36Sopenharmony_ci#define SAB82532_DAFO_PAR_SPACE		0x00
17162306a36Sopenharmony_ci#define SAB82532_DAFO_PAR_ODD		0x08
17262306a36Sopenharmony_ci#define SAB82532_DAFO_PAR_EVEN		0x10
17362306a36Sopenharmony_ci#define SAB82532_DAFO_PAR_MARK		0x18
17462306a36Sopenharmony_ci#define SAB82532_DAFO_PARE		0x04
17562306a36Sopenharmony_ci#define SAB82532_DAFO_CHL8		0x00
17662306a36Sopenharmony_ci#define SAB82532_DAFO_CHL7		0x01
17762306a36Sopenharmony_ci#define SAB82532_DAFO_CHL6		0x02
17862306a36Sopenharmony_ci#define SAB82532_DAFO_CHL5		0x03
17962306a36Sopenharmony_ci
18062306a36Sopenharmony_ci/* RFIFO Control Register (RFC) */
18162306a36Sopenharmony_ci#define SAB82532_RFC_DPS		0x40
18262306a36Sopenharmony_ci#define SAB82532_RFC_DXS		0x20
18362306a36Sopenharmony_ci#define SAB82532_RFC_RFDF		0x10
18462306a36Sopenharmony_ci#define SAB82532_RFC_RFTH_1		0x00
18562306a36Sopenharmony_ci#define SAB82532_RFC_RFTH_4		0x04
18662306a36Sopenharmony_ci#define SAB82532_RFC_RFTH_16		0x08
18762306a36Sopenharmony_ci#define SAB82532_RFC_RFTH_32		0x0c
18862306a36Sopenharmony_ci#define SAB82532_RFC_TCDE		0x01
18962306a36Sopenharmony_ci
19062306a36Sopenharmony_ci/* Received Byte Count High (RBCH) */
19162306a36Sopenharmony_ci#define SAB82532_RBCH_DMA		0x80
19262306a36Sopenharmony_ci#define SAB82532_RBCH_CAS		0x20
19362306a36Sopenharmony_ci
19462306a36Sopenharmony_ci/* Transmit Byte Count High (XBCH) */
19562306a36Sopenharmony_ci#define SAB82532_XBCH_DMA		0x80
19662306a36Sopenharmony_ci#define SAB82532_XBCH_CAS		0x20
19762306a36Sopenharmony_ci#define SAB82532_XBCH_XC		0x10
19862306a36Sopenharmony_ci
19962306a36Sopenharmony_ci/* Channel Configuration Register 0 (CCR0) */
20062306a36Sopenharmony_ci#define SAB82532_CCR0_PU		0x80
20162306a36Sopenharmony_ci#define SAB82532_CCR0_MCE		0x40
20262306a36Sopenharmony_ci#define SAB82532_CCR0_SC_NRZ		0x00
20362306a36Sopenharmony_ci#define SAB82532_CCR0_SC_NRZI		0x08
20462306a36Sopenharmony_ci#define SAB82532_CCR0_SC_FM0		0x10
20562306a36Sopenharmony_ci#define SAB82532_CCR0_SC_FM1		0x14
20662306a36Sopenharmony_ci#define SAB82532_CCR0_SC_MANCH		0x18
20762306a36Sopenharmony_ci#define SAB82532_CCR0_SM_HDLC		0x00
20862306a36Sopenharmony_ci#define SAB82532_CCR0_SM_SDLC_LOOP	0x01
20962306a36Sopenharmony_ci#define SAB82532_CCR0_SM_BISYNC		0x02
21062306a36Sopenharmony_ci#define SAB82532_CCR0_SM_ASYNC		0x03
21162306a36Sopenharmony_ci
21262306a36Sopenharmony_ci/* Channel Configuration Register 1 (CCR1) */
21362306a36Sopenharmony_ci#define SAB82532_CCR1_ODS		0x10
21462306a36Sopenharmony_ci#define SAB82532_CCR1_BCR		0x08
21562306a36Sopenharmony_ci#define SAB82532_CCR1_CM_MASK		0x07
21662306a36Sopenharmony_ci
21762306a36Sopenharmony_ci/* Channel Configuration Register 2 (CCR2) */
21862306a36Sopenharmony_ci#define SAB82532_CCR2_SOC1		0x80
21962306a36Sopenharmony_ci#define SAB82532_CCR2_SOC0		0x40
22062306a36Sopenharmony_ci#define SAB82532_CCR2_BR9		0x80
22162306a36Sopenharmony_ci#define SAB82532_CCR2_BR8		0x40
22262306a36Sopenharmony_ci#define SAB82532_CCR2_BDF		0x20
22362306a36Sopenharmony_ci#define SAB82532_CCR2_SSEL		0x10
22462306a36Sopenharmony_ci#define SAB82532_CCR2_XCS0		0x20
22562306a36Sopenharmony_ci#define SAB82532_CCR2_RCS0		0x10
22662306a36Sopenharmony_ci#define SAB82532_CCR2_TOE		0x08
22762306a36Sopenharmony_ci#define SAB82532_CCR2_RWX		0x04
22862306a36Sopenharmony_ci#define SAB82532_CCR2_DIV		0x01
22962306a36Sopenharmony_ci
23062306a36Sopenharmony_ci/* Channel Configuration Register 3 (CCR3) */
23162306a36Sopenharmony_ci#define SAB82532_CCR3_PSD		0x01
23262306a36Sopenharmony_ci
23362306a36Sopenharmony_ci/* Time Slot Assignment Register Transmit (TSAX) */
23462306a36Sopenharmony_ci#define SAB82532_TSAX_TSNX_MASK		0xfc
23562306a36Sopenharmony_ci#define SAB82532_TSAX_XCS2		0x02	/* see also CCR2 */
23662306a36Sopenharmony_ci#define SAB82532_TSAX_XCS1		0x01
23762306a36Sopenharmony_ci
23862306a36Sopenharmony_ci/* Time Slot Assignment Register Receive (TSAR) */
23962306a36Sopenharmony_ci#define SAB82532_TSAR_TSNR_MASK		0xfc
24062306a36Sopenharmony_ci#define SAB82532_TSAR_RCS2		0x02	/* see also CCR2 */
24162306a36Sopenharmony_ci#define SAB82532_TSAR_RCS1		0x01
24262306a36Sopenharmony_ci
24362306a36Sopenharmony_ci/* Version Status Register (VSTR) */
24462306a36Sopenharmony_ci#define SAB82532_VSTR_CD		0x80
24562306a36Sopenharmony_ci#define SAB82532_VSTR_DPLA		0x40
24662306a36Sopenharmony_ci#define SAB82532_VSTR_VN_MASK		0x0f
24762306a36Sopenharmony_ci#define SAB82532_VSTR_VN_1		0x00
24862306a36Sopenharmony_ci#define SAB82532_VSTR_VN_2		0x01
24962306a36Sopenharmony_ci#define SAB82532_VSTR_VN_3_2		0x02
25062306a36Sopenharmony_ci
25162306a36Sopenharmony_ci/* Global Interrupt Status Register (GIS) */
25262306a36Sopenharmony_ci#define SAB82532_GIS_PI			0x80
25362306a36Sopenharmony_ci#define SAB82532_GIS_ISA1		0x08
25462306a36Sopenharmony_ci#define SAB82532_GIS_ISA0		0x04
25562306a36Sopenharmony_ci#define SAB82532_GIS_ISB1		0x02
25662306a36Sopenharmony_ci#define SAB82532_GIS_ISB0		0x01
25762306a36Sopenharmony_ci
25862306a36Sopenharmony_ci/* Interrupt Vector Address (IVA) */
25962306a36Sopenharmony_ci#define SAB82532_IVA_MASK		0xf1
26062306a36Sopenharmony_ci
26162306a36Sopenharmony_ci/* Interrupt Port Configuration (IPC) */
26262306a36Sopenharmony_ci#define SAB82532_IPC_VIS		0x80
26362306a36Sopenharmony_ci#define SAB82532_IPC_SLA1		0x10
26462306a36Sopenharmony_ci#define SAB82532_IPC_SLA0		0x08
26562306a36Sopenharmony_ci#define SAB82532_IPC_CASM		0x04
26662306a36Sopenharmony_ci#define SAB82532_IPC_IC_OPEN_DRAIN	0x00
26762306a36Sopenharmony_ci#define SAB82532_IPC_IC_ACT_LOW		0x01
26862306a36Sopenharmony_ci#define SAB82532_IPC_IC_ACT_HIGH	0x03
26962306a36Sopenharmony_ci
27062306a36Sopenharmony_ci/* Interrupt Status Register 0 (ISR0) */
27162306a36Sopenharmony_ci#define SAB82532_ISR0_TCD		0x80
27262306a36Sopenharmony_ci#define SAB82532_ISR0_TIME		0x40
27362306a36Sopenharmony_ci#define SAB82532_ISR0_PERR		0x20
27462306a36Sopenharmony_ci#define SAB82532_ISR0_FERR		0x10
27562306a36Sopenharmony_ci#define SAB82532_ISR0_PLLA		0x08
27662306a36Sopenharmony_ci#define SAB82532_ISR0_CDSC		0x04
27762306a36Sopenharmony_ci#define SAB82532_ISR0_RFO		0x02
27862306a36Sopenharmony_ci#define SAB82532_ISR0_RPF		0x01
27962306a36Sopenharmony_ci
28062306a36Sopenharmony_ci/* Interrupt Status Register 1 (ISR1) */
28162306a36Sopenharmony_ci#define SAB82532_ISR1_BRK		0x80
28262306a36Sopenharmony_ci#define SAB82532_ISR1_BRKT		0x40
28362306a36Sopenharmony_ci#define SAB82532_ISR1_ALLS		0x20
28462306a36Sopenharmony_ci#define SAB82532_ISR1_XOFF		0x10
28562306a36Sopenharmony_ci#define SAB82532_ISR1_TIN		0x08
28662306a36Sopenharmony_ci#define SAB82532_ISR1_CSC		0x04
28762306a36Sopenharmony_ci#define SAB82532_ISR1_XON		0x02
28862306a36Sopenharmony_ci#define SAB82532_ISR1_XPR		0x01
28962306a36Sopenharmony_ci
29062306a36Sopenharmony_ci/* Interrupt Mask Register 0 (IMR0) */
29162306a36Sopenharmony_ci#define SAB82532_IMR0_TCD		0x80
29262306a36Sopenharmony_ci#define SAB82532_IMR0_TIME		0x40
29362306a36Sopenharmony_ci#define SAB82532_IMR0_PERR		0x20
29462306a36Sopenharmony_ci#define SAB82532_IMR0_FERR		0x10
29562306a36Sopenharmony_ci#define SAB82532_IMR0_PLLA		0x08
29662306a36Sopenharmony_ci#define SAB82532_IMR0_CDSC		0x04
29762306a36Sopenharmony_ci#define SAB82532_IMR0_RFO		0x02
29862306a36Sopenharmony_ci#define SAB82532_IMR0_RPF		0x01
29962306a36Sopenharmony_ci
30062306a36Sopenharmony_ci/* Interrupt Mask Register 1 (IMR1) */
30162306a36Sopenharmony_ci#define SAB82532_IMR1_BRK		0x80
30262306a36Sopenharmony_ci#define SAB82532_IMR1_BRKT		0x40
30362306a36Sopenharmony_ci#define SAB82532_IMR1_ALLS		0x20
30462306a36Sopenharmony_ci#define SAB82532_IMR1_XOFF		0x10
30562306a36Sopenharmony_ci#define SAB82532_IMR1_TIN		0x08
30662306a36Sopenharmony_ci#define SAB82532_IMR1_CSC		0x04
30762306a36Sopenharmony_ci#define SAB82532_IMR1_XON		0x02
30862306a36Sopenharmony_ci#define SAB82532_IMR1_XPR		0x01
30962306a36Sopenharmony_ci
31062306a36Sopenharmony_ci/* Port Interrupt Status Register (PIS) */
31162306a36Sopenharmony_ci#define SAB82532_PIS_SYNC_B		0x08
31262306a36Sopenharmony_ci#define SAB82532_PIS_DTR_B		0x04
31362306a36Sopenharmony_ci#define SAB82532_PIS_DTR_A		0x02
31462306a36Sopenharmony_ci#define SAB82532_PIS_SYNC_A		0x01
31562306a36Sopenharmony_ci
31662306a36Sopenharmony_ci/* Channel Configuration Register 4 (CCR4) */
31762306a36Sopenharmony_ci#define SAB82532_CCR4_MCK4		0x80
31862306a36Sopenharmony_ci#define SAB82532_CCR4_EBRG		0x40
31962306a36Sopenharmony_ci#define SAB82532_CCR4_TST1		0x20
32062306a36Sopenharmony_ci#define SAB82532_CCR4_ICD		0x10
32162306a36Sopenharmony_ci
32262306a36Sopenharmony_ci
32362306a36Sopenharmony_ci#endif /* !(_SUNSAB_H) */
324