iomap.h 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. /* SPDX-License-Identifier: GPL-2.0+ */
  2. /*
  3. * Copyright (C) 2017, Bin Meng <bmeng.cn@gmail.com>
  4. */
  5. #ifndef _BRASWELL_IOMAP_H_
  6. #define _BRASWELL_IOMAP_H_
  7. /* Memory Mapped IO bases */
  8. /* Power Management Controller */
  9. #define PMC_BASE_ADDRESS 0xfed03000
  10. #define PMC_BASE_SIZE 0x400
  11. /* Power Management Unit */
  12. #define PUNIT_BASE_ADDRESS 0xfed05000
  13. #define PUNIT_BASE_SIZE 0x800
  14. /* Intel Legacy Block */
  15. #define ILB_BASE_ADDRESS 0xfed08000
  16. #define ILB_BASE_SIZE 0x400
  17. /* SPI Bus */
  18. #define SPI_BASE_ADDRESS 0xfed01000
  19. #define SPI_BASE_SIZE 0x400
  20. /* Root Complex Base Address */
  21. #define RCBA_BASE_ADDRESS 0xfed1c000
  22. #define RCBA_BASE_SIZE 0x400
  23. /* IO Memory */
  24. #define IO_BASE_ADDRESS 0xfed80000
  25. #define IO_BASE_SIZE 0x4000
  26. /* MODPHY */
  27. #define MPHY_BASE_ADDRESS 0xfef00000
  28. #define MPHY_BASE_SIZE 0x100000
  29. /* IO Port bases */
  30. #define ACPI_BASE_ADDRESS 0x400
  31. #define ACPI_BASE_SIZE 0x80
  32. #define GPIO_BASE_ADDRESS 0x500
  33. #define GPIO_BASE_SIZE 0x100
  34. #define SMBUS_BASE_ADDRESS 0xefa0
  35. #endif /* _BRASWELL_IOMAP_H_ */