sh7763rdp.h 1.2 KB

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