bcm2835_soc.h 905 B

1234567891011121314151617181920212223242526272829
  1. /*
  2. * Copyright (C) 2012 Stephen Warren
  3. *
  4. * Derived from code:
  5. * Copyright (C) 2010 Broadcom
  6. *
  7. * This program is free software; you can redistribute it and/or modify
  8. * it under the terms of the GNU General Public License as published by
  9. * the Free Software Foundation; either version 2 of the License, or
  10. * (at your option) any later version.
  11. *
  12. * This program is distributed in the hope that it will be useful,
  13. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  14. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  15. * GNU General Public License for more details.
  16. */
  17. #ifndef __MACH_BCM2835_BCM2835_SOC_H__
  18. #define __MACH_BCM2835_BCM2835_SOC_H__
  19. #include <asm/sizes.h>
  20. #define BCM2835_PERIPH_PHYS 0x20000000
  21. #define BCM2835_PERIPH_VIRT 0xf0000000
  22. #define BCM2835_PERIPH_SIZE SZ_16M
  23. #define BCM2835_DEBUG_PHYS 0x20201000
  24. #define BCM2835_DEBUG_VIRT 0xf0201000
  25. #endif