sun3x.h 868 B

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