regs-sys.h 843 B

12345678910111213141516171819202122232425262728293031
  1. /*
  2. * Copyright 2008 Openmoko, Inc.
  3. * Copyright 2008 Simtec Electronics
  4. * Ben Dooks <ben@simtec.co.uk>
  5. * http://armlinux.simtec.co.uk/
  6. *
  7. * S3C64XX system register definitions
  8. *
  9. * This program is free software; you can redistribute it and/or modify
  10. * it under the terms of the GNU General Public License version 2 as
  11. * published by the Free Software Foundation.
  12. */
  13. #ifndef __MACH_S3C64XX_REGS_SYS_H
  14. #define __MACH_S3C64XX_REGS_SYS_H __FILE__
  15. #define S3C_SYSREG(x) (S3C_VA_SYS + (x))
  16. #define S3C64XX_AHB_CON0 S3C_SYSREG(0x100)
  17. #define S3C64XX_AHB_CON1 S3C_SYSREG(0x104)
  18. #define S3C64XX_AHB_CON2 S3C_SYSREG(0x108)
  19. #define S3C64XX_SDMA_SEL S3C_SYSREG(0x110)
  20. #define S3C64XX_OTHERS S3C_SYSREG(0x900)
  21. #define S3C64XX_OTHERS_USBMASK (1 << 16)
  22. #define S3C64XX_OTHERS_SYNCMUXSEL (1 << 6)
  23. #endif /* __MACH_S3C64XX_REGS_SYS_H */