periph.h 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. /*
  2. * Copyright (C) 2012 Samsung Electronics
  3. * Rajeshwari Shinde <rajeshwari.s@samsung.com>
  4. *
  5. * See file CREDITS for list of people who contributed to this
  6. * project.
  7. *
  8. * This program is free software; you can redistribute it and/or
  9. * modify it under the terms of the GNU General Public License as
  10. * published by the Free Software Foundation; either version 2 of
  11. * the License, or (at your option) any later version.
  12. *
  13. * This program is distributed in the hope that it will be useful,
  14. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  15. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  16. * GNU General Public License for more details.
  17. *
  18. * You should have received a copy of the GNU General Public License
  19. * along with this program; if not, write to the Free Software
  20. * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
  21. * MA 02111-1307 USA
  22. */
  23. #ifndef __ASM_ARM_ARCH_PERIPH_H
  24. #define __ASM_ARM_ARCH_PERIPH_H
  25. /*
  26. * Peripherals requiring clock/pinmux configuration. List will
  27. * grow with support for more devices getting added.
  28. *
  29. */
  30. enum periph_id {
  31. PERIPH_ID_I2C0,
  32. PERIPH_ID_I2C1,
  33. PERIPH_ID_I2C2,
  34. PERIPH_ID_I2C3,
  35. PERIPH_ID_I2C4,
  36. PERIPH_ID_I2C5,
  37. PERIPH_ID_I2C6,
  38. PERIPH_ID_I2C7,
  39. PERIPH_ID_SDMMC0,
  40. PERIPH_ID_SDMMC1,
  41. PERIPH_ID_SDMMC2,
  42. PERIPH_ID_SDMMC3,
  43. PERIPH_ID_SROMC,
  44. PERIPH_ID_UART0,
  45. PERIPH_ID_UART1,
  46. PERIPH_ID_UART2,
  47. PERIPH_ID_UART3,
  48. PERIPH_ID_COUNT,
  49. PERIPH_ID_NONE = -1,
  50. };
  51. #endif /* __ASM_ARM_ARCH_PERIPH_H */