exynos5-pmu.h 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. /*
  2. * Exynos5 SoC series Power Management Unit (PMU) register offsets
  3. * and bit definitions.
  4. *
  5. * Copyright (C) 2014 Samsung Electronics Co., Ltd.
  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 version 2 as
  9. * published by the Free Software Foundation.
  10. */
  11. #ifndef _LINUX_MFD_SYSCON_PMU_EXYNOS5_H_
  12. #define _LINUX_MFD_SYSCON_PMU_EXYNOS5_H_
  13. /* Exynos5 PMU register definitions */
  14. #define EXYNOS5_HDMI_PHY_CONTROL (0x700)
  15. #define EXYNOS5_USBDRD_PHY_CONTROL (0x704)
  16. /* Exynos5250 specific register definitions */
  17. #define EXYNOS5_USBHOST_PHY_CONTROL (0x708)
  18. #define EXYNOS5_EFNAND_PHY_CONTROL (0x70c)
  19. #define EXYNOS5_MIPI_PHY0_CONTROL (0x710)
  20. #define EXYNOS5_MIPI_PHY1_CONTROL (0x714)
  21. #define EXYNOS5_ADC_PHY_CONTROL (0x718)
  22. #define EXYNOS5_MTCADC_PHY_CONTROL (0x71c)
  23. #define EXYNOS5_DPTX_PHY_CONTROL (0x720)
  24. #define EXYNOS5_SATA_PHY_CONTROL (0x724)
  25. /* Exynos5420 specific register definitions */
  26. #define EXYNOS5420_USBDRD1_PHY_CONTROL (0x708)
  27. #define EXYNOS5420_USBHOST_PHY_CONTROL (0x70c)
  28. #define EXYNOS5420_MIPI_PHY0_CONTROL (0x714)
  29. #define EXYNOS5420_MIPI_PHY1_CONTROL (0x718)
  30. #define EXYNOS5420_MIPI_PHY2_CONTROL (0x71c)
  31. #define EXYNOS5420_ADC_PHY_CONTROL (0x720)
  32. #define EXYNOS5420_MTCADC_PHY_CONTROL (0x724)
  33. #define EXYNOS5420_DPTX_PHY_CONTROL (0x728)
  34. /* Exynos5433 specific register definitions */
  35. #define EXYNOS5433_USBHOST30_PHY_CONTROL (0x728)
  36. #define EXYNOS5433_MIPI_PHY0_CONTROL (0x710)
  37. #define EXYNOS5433_MIPI_PHY1_CONTROL (0x714)
  38. #define EXYNOS5433_MIPI_PHY2_CONTROL (0x718)
  39. #define EXYNOS5_PHY_ENABLE BIT(0)
  40. #define EXYNOS5_MIPI_PHY_S_RESETN BIT(1)
  41. #define EXYNOS5_MIPI_PHY_M_RESETN BIT(2)
  42. #define EXYNOS5433_PAD_RETENTION_AUD_OPTION (0x3028)
  43. #define EXYNOS5433_PAD_INITIATE_WAKEUP_FROM_LOWPWR BIT(28)
  44. #endif /* _LINUX_MFD_SYSCON_PMU_EXYNOS5_H_ */