1*b2441318SGreg Kroah-Hartman /* SPDX-License-Identifier: GPL-2.0 */ 249148020SSam Ravnborg #ifndef SUN3X_H 349148020SSam Ravnborg #define SUN3X_H 449148020SSam Ravnborg 549148020SSam Ravnborg /* hardware addresses */ 649148020SSam Ravnborg #define SUN3X_IOMMU 0x60000000 749148020SSam Ravnborg #define SUN3X_ENAREG 0x61000000 849148020SSam Ravnborg #define SUN3X_INTREG 0x61001400 949148020SSam Ravnborg #define SUN3X_DIAGREG 0x61001800 1049148020SSam Ravnborg #define SUN3X_ZS1 0x62000000 1149148020SSam Ravnborg #define SUN3X_ZS2 0x62002000 1249148020SSam Ravnborg #define SUN3X_LANCE 0x65002000 1349148020SSam Ravnborg #define SUN3X_EEPROM 0x64000000 1449148020SSam Ravnborg #define SUN3X_IDPROM 0x640007d8 1549148020SSam Ravnborg #define SUN3X_VIDEO_BASE 0x50000000 1649148020SSam Ravnborg #define SUN3X_VIDEO_P4ID 0x50300000 1749148020SSam Ravnborg #define SUN3X_ESP_BASE 0x66000000 1849148020SSam Ravnborg #define SUN3X_ESP_DMA 0x66001000 1949148020SSam Ravnborg #define SUN3X_FDC 0x6e000000 2049148020SSam Ravnborg #define SUN3X_FDC_FCR 0x6e000400 2149148020SSam Ravnborg #define SUN3X_FDC_FVR 0x6e000800 2249148020SSam Ravnborg 2349148020SSam Ravnborg /* some NVRAM addresses */ 2449148020SSam Ravnborg #define SUN3X_EEPROM_CONS (SUN3X_EEPROM + 0x1f) 2549148020SSam Ravnborg #define SUN3X_EEPROM_PORTA (SUN3X_EEPROM + 0x58) 2649148020SSam Ravnborg #define SUN3X_EEPROM_PORTB (SUN3X_EEPROM + 0x60) 2749148020SSam Ravnborg 2849148020SSam Ravnborg #endif 29