xref: /OK3568_Linux_fs/kernel/arch/m68k/include/asm/sun3x.h (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun /* SPDX-License-Identifier: GPL-2.0 */
2*4882a593Smuzhiyun #ifndef SUN3X_H
3*4882a593Smuzhiyun #define SUN3X_H
4*4882a593Smuzhiyun 
5*4882a593Smuzhiyun /* hardware addresses */
6*4882a593Smuzhiyun #define SUN3X_IOMMU       0x60000000
7*4882a593Smuzhiyun #define SUN3X_ENAREG      0x61000000
8*4882a593Smuzhiyun #define SUN3X_INTREG      0x61001400
9*4882a593Smuzhiyun #define SUN3X_DIAGREG     0x61001800
10*4882a593Smuzhiyun #define SUN3X_ZS1         0x62000000
11*4882a593Smuzhiyun #define SUN3X_ZS2         0x62002000
12*4882a593Smuzhiyun #define SUN3X_LANCE       0x65002000
13*4882a593Smuzhiyun #define SUN3X_EEPROM      0x64000000
14*4882a593Smuzhiyun #define SUN3X_IDPROM      0x640007d8
15*4882a593Smuzhiyun #define SUN3X_VIDEO_BASE  0x50000000
16*4882a593Smuzhiyun #define SUN3X_VIDEO_P4ID  0x50300000
17*4882a593Smuzhiyun #define SUN3X_ESP_BASE	  0x66000000
18*4882a593Smuzhiyun #define SUN3X_ESP_DMA	  0x66001000
19*4882a593Smuzhiyun #define SUN3X_FDC         0x6e000000
20*4882a593Smuzhiyun #define SUN3X_FDC_FCR     0x6e000400
21*4882a593Smuzhiyun #define SUN3X_FDC_FVR     0x6e000800
22*4882a593Smuzhiyun 
23*4882a593Smuzhiyun /* some NVRAM addresses */
24*4882a593Smuzhiyun #define SUN3X_EEPROM_CONS	(SUN3X_EEPROM + 0x1f)
25*4882a593Smuzhiyun #define SUN3X_EEPROM_PORTA	(SUN3X_EEPROM + 0x58)
26*4882a593Smuzhiyun #define SUN3X_EEPROM_PORTB	(SUN3X_EEPROM + 0x60)
27*4882a593Smuzhiyun 
28*4882a593Smuzhiyun #endif
29