1*6a0abce4SKuninori Morimoto /* SPDX-License-Identifier: GPL-2.0 */
27639a454SPaul Mundt #ifndef __ASM_SH_SH7763RDP_H
37639a454SPaul Mundt #define __ASM_SH_SH7763RDP_H
47639a454SPaul Mundt 
57639a454SPaul Mundt /*
67639a454SPaul Mundt  * linux/include/asm-sh/sh7763drp.h
77639a454SPaul Mundt  *
87639a454SPaul Mundt  * Copyright (C) 2008 Renesas Solutions
97639a454SPaul Mundt  * Copyright (C) 2008 Nobuhiro Iwamatsu <iwamatsu.nobuhiro@renesas.com>
107639a454SPaul Mundt  */
117639a454SPaul Mundt #include <asm/addrspace.h>
127639a454SPaul Mundt 
137639a454SPaul Mundt /* clock control */
147639a454SPaul Mundt #define MSTPCR1 0xFFC80038
157639a454SPaul Mundt 
167639a454SPaul Mundt /* PORT */
177639a454SPaul Mundt #define PORT_PSEL0	0xFFEF0070
187639a454SPaul Mundt #define PORT_PSEL1	0xFFEF0072
197639a454SPaul Mundt #define PORT_PSEL2	0xFFEF0074
207639a454SPaul Mundt #define PORT_PSEL3	0xFFEF0076
217639a454SPaul Mundt #define PORT_PSEL4	0xFFEF0078
227639a454SPaul Mundt 
237639a454SPaul Mundt #define PORT_PACR	0xFFEF0000
247639a454SPaul Mundt #define PORT_PCCR	0xFFEF0004
257639a454SPaul Mundt #define PORT_PFCR	0xFFEF000A
267639a454SPaul Mundt #define PORT_PGCR	0xFFEF000C
277639a454SPaul Mundt #define PORT_PHCR	0xFFEF000E
287639a454SPaul Mundt #define PORT_PICR	0xFFEF0010
297639a454SPaul Mundt #define PORT_PJCR	0xFFEF0012
307639a454SPaul Mundt #define PORT_PKCR	0xFFEF0014
317639a454SPaul Mundt #define PORT_PLCR	0xFFEF0016
327639a454SPaul Mundt #define PORT_PMCR	0xFFEF0018
337639a454SPaul Mundt #define PORT_PNCR	0xFFEF001A
347639a454SPaul Mundt 
357639a454SPaul Mundt /* FPGA */
367639a454SPaul Mundt #define CPLD_BOARD_ID_ERV_REG	0xB1000000
377639a454SPaul Mundt #define CPLD_CPLD_CMD_REG		0xB1000006
387639a454SPaul Mundt 
397639a454SPaul Mundt /*
407639a454SPaul Mundt  * USB SH7763RDP board can use Host only.
417639a454SPaul Mundt  */
427639a454SPaul Mundt #define USB_USBHSC	0xFFEC80f0
437639a454SPaul Mundt 
447639a454SPaul Mundt /* arch/sh/boards/renesas/sh7763rdp/irq.c */
457639a454SPaul Mundt void init_sh7763rdp_IRQ(void);
467639a454SPaul Mundt int sh7763rdp_irq_demux(int irq);
477639a454SPaul Mundt #define __IO_PREFIX	sh7763rdp
487639a454SPaul Mundt #include <asm/io_generic.h>
497639a454SPaul Mundt 
507639a454SPaul Mundt #endif /* __ASM_SH_SH7763RDP_H */
51