18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0 */ 28c2ecf20Sopenharmony_ci#ifndef SUN3X_H 38c2ecf20Sopenharmony_ci#define SUN3X_H 48c2ecf20Sopenharmony_ci 58c2ecf20Sopenharmony_ci/* hardware addresses */ 68c2ecf20Sopenharmony_ci#define SUN3X_IOMMU 0x60000000 78c2ecf20Sopenharmony_ci#define SUN3X_ENAREG 0x61000000 88c2ecf20Sopenharmony_ci#define SUN3X_INTREG 0x61001400 98c2ecf20Sopenharmony_ci#define SUN3X_DIAGREG 0x61001800 108c2ecf20Sopenharmony_ci#define SUN3X_ZS1 0x62000000 118c2ecf20Sopenharmony_ci#define SUN3X_ZS2 0x62002000 128c2ecf20Sopenharmony_ci#define SUN3X_LANCE 0x65002000 138c2ecf20Sopenharmony_ci#define SUN3X_EEPROM 0x64000000 148c2ecf20Sopenharmony_ci#define SUN3X_IDPROM 0x640007d8 158c2ecf20Sopenharmony_ci#define SUN3X_VIDEO_BASE 0x50000000 168c2ecf20Sopenharmony_ci#define SUN3X_VIDEO_P4ID 0x50300000 178c2ecf20Sopenharmony_ci#define SUN3X_ESP_BASE 0x66000000 188c2ecf20Sopenharmony_ci#define SUN3X_ESP_DMA 0x66001000 198c2ecf20Sopenharmony_ci#define SUN3X_FDC 0x6e000000 208c2ecf20Sopenharmony_ci#define SUN3X_FDC_FCR 0x6e000400 218c2ecf20Sopenharmony_ci#define SUN3X_FDC_FVR 0x6e000800 228c2ecf20Sopenharmony_ci 238c2ecf20Sopenharmony_ci/* some NVRAM addresses */ 248c2ecf20Sopenharmony_ci#define SUN3X_EEPROM_CONS (SUN3X_EEPROM + 0x1f) 258c2ecf20Sopenharmony_ci#define SUN3X_EEPROM_PORTA (SUN3X_EEPROM + 0x58) 268c2ecf20Sopenharmony_ci#define SUN3X_EEPROM_PORTB (SUN3X_EEPROM + 0x60) 278c2ecf20Sopenharmony_ci 288c2ecf20Sopenharmony_ci#endif 29