Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
torvalds
GitHub Repository: torvalds/linux
Path: blob/master/arch/sh/include/mach-common/mach/sh7763rdp.h
26495 views
1
/* SPDX-License-Identifier: GPL-2.0 */
2
#ifndef __ASM_SH_SH7763RDP_H
3
#define __ASM_SH_SH7763RDP_H
4
5
/*
6
* linux/include/asm-sh/sh7763drp.h
7
*
8
* Copyright (C) 2008 Renesas Solutions
9
* Copyright (C) 2008 Nobuhiro Iwamatsu <[email protected]>
10
*/
11
#include <asm/addrspace.h>
12
13
/* clock control */
14
#define MSTPCR1 0xFFC80038
15
16
/* PORT */
17
#define PORT_PSEL0 0xFFEF0070
18
#define PORT_PSEL1 0xFFEF0072
19
#define PORT_PSEL2 0xFFEF0074
20
#define PORT_PSEL3 0xFFEF0076
21
#define PORT_PSEL4 0xFFEF0078
22
23
#define PORT_PACR 0xFFEF0000
24
#define PORT_PCCR 0xFFEF0004
25
#define PORT_PFCR 0xFFEF000A
26
#define PORT_PGCR 0xFFEF000C
27
#define PORT_PHCR 0xFFEF000E
28
#define PORT_PICR 0xFFEF0010
29
#define PORT_PJCR 0xFFEF0012
30
#define PORT_PKCR 0xFFEF0014
31
#define PORT_PLCR 0xFFEF0016
32
#define PORT_PMCR 0xFFEF0018
33
#define PORT_PNCR 0xFFEF001A
34
35
/* FPGA */
36
#define CPLD_BOARD_ID_ERV_REG 0xB1000000
37
#define CPLD_CPLD_CMD_REG 0xB1000006
38
39
/*
40
* USB SH7763RDP board can use Host only.
41
*/
42
#define USB_USBHSC 0xFFEC80f0
43
44
/* arch/sh/boards/renesas/sh7763rdp/irq.c */
45
void init_sh7763rdp_IRQ(void);
46
int sh7763rdp_irq_demux(int irq);
47
#define __IO_PREFIX sh7763rdp
48
#include <asm/io_generic.h>
49
50
#endif /* __ASM_SH_SH7763RDP_H */
51
52