hardware.h 937 B

123456789101112131415161718192021222324252627282930
  1. #ifndef _NAS782X_HARDWARE_H
  2. #define _NAS782X_HARDWARE_H
  3. /* Core addresses */
  4. #define USB_HOST_BASE 0x40200000
  5. #define MACA_BASE 0x40400000
  6. #define MACB_BASE 0x40800000
  7. #define MAC_BASE MACA_BASE
  8. #define STATIC_CS0_BASE 0x41000000
  9. #define STATIC_CS1_BASE 0x41400000
  10. #define STATIC_CONTROL_BASE 0x41C00000
  11. #define SATA_DATA_BASE 0x42000000 /* non-functional, DMA just needs an address */
  12. #define GPIO_1_BASE 0x44000000
  13. #define GPIO_2_BASE 0x44100000
  14. #define UART_1_BASE 0x44200000
  15. #define UART_2_BASE 0x44300000
  16. #define SYS_CONTROL_BASE 0x44e00000
  17. #define SEC_CONTROL_BASE 0x44f00000
  18. #define RPSA_BASE 0x44400000
  19. #define RPSC_BASE 0x44500000
  20. #define DDR_BASE 0x44700000
  21. #define SATA_BASE 0x45900000
  22. #define SATA_0_REGS_BASE 0x45900000
  23. #define SATA_1_REGS_BASE 0x45910000
  24. #define SATA_DMA_REGS_BASE 0x459a0000
  25. #define SATA_SGDMA_REGS_BASE 0x459b0000
  26. #define SATA_HOST_REGS_BASE 0x459e0000
  27. #endif /* _NAS782X_HARDWARE_H */