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