sun3x.h 829 B

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