temperatureVariance.h 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. /*
  2. * arch/arm/mach-pxa/include/mach/mfp-pxa320.h
  3. *
  4. * PXA320 specific MFP configuration definitions
  5. *
  6. * Copyright (C) 2007 Marvell International Ltd.
  7. * 2007-08-21: eric miao <eric.miao@marvell.com>
  8. * initial version
  9. *
  10. * This program is free software; you can redistribute it and/or modify
  11. * it under the terms of the GNU General Public License version 2 as
  12. * published by the Free Software Foundation.
  13. */
  14. #ifndef __ASM_ARCH_MFP_PXA320_H
  15. #define __ASM_ARCH_MFP_PXA320_H
  16. #include <mach/mfp-pxa3xx.h>
  17. /* GPIO */
  18. #define GPIO46_GPIO MFP_CFG(GPIO46, AF0)
  19. #define GPIO49_GPIO MFP_CFG(GPIO49, AF0)
  20. #define GPIO50_GPIO MFP_CFG(GPIO50, AF0)
  21. #define GPIO51_GPIO MFP_CFG(GPIO51, AF0)
  22. #define GPIO52_GPIO MFP_CFG(GPIO52, AF0)
  23. #define GPIO7_2_GPIO MFP_CFG(GPIO7_2, AF0)
  24. #define GPIO8_2_GPIO MFP_CFG(GPIO8_2, AF0)
  25. #define GPIO9_2_GPIO MFP_CFG(GPIO9_2, AF0)
  26. #define GPIO10_2_GPIO MFP_CFG(GPIO10_2, AF0)
  27. #define GPIO11_2_GPIO MFP_CFG(GPIO11_2, AF0)
  28. #define GPIO12_2_GPIO MFP_CFG(GPIO12_2, AF0)
  29. #define GPIO13_2_GPIO MFP_CFG(GPIO13_2, AF0)
  30. #define GPIO14_2_GPIO MFP_CFG(GPIO14_2, AF0)
  31. #define GPIO15_2_GPIO MFP_CFG(GPIO15_2, AF0)
  32. #define GPIO16_2_GPIO MFP_CFG(GPIO16_2, AF0)
  33. #define GPIO17_2_GPIO MFP_CFG(GPIO17_2, AF0)
  34. /* Chip Select */
  35. #define GPIO3_nCS2 MFP_CFG(GPIO3, AF1)
  36. #define GPIO4_nCS3 MFP_CFG(GPIO4, AF1)
  37. /* AC97 */
  38. #define GPIO34_AC97_SYSCLK MFP_CFG(GPIO34, AF1)
  39. #define GPIO39_AC97_BITCLK MFP_CFG(GPIO39, AF1)
  40. #define GPIO40_AC97_nACRESET MFP_CFG(GPIO40, AF1)
  41. #define GPIO35_AC97_SDATA_IN_0 MFP_CFG(GPIO35, AF1)
  42. #define GPIO36_AC97_SDATA_IN_1 MFP_CFG(GPIO36, AF1)
  43. #define GPIO32_AC97_SDATA_IN_2 MFP_CFG(GPIO32, AF2)
  44. #define GPIO33_AC97_SDATA_IN_3 MFP_CFG(GPIO33, AF2)
  45. #define GPIO11_AC97_SDATA_IN_2 MFP_CFG(GPIO11, AF3)
  46. #define GPIO12_AC97_SDATA_IN_3 MFP_CFG(GPIO12, AF3)
  47. #define GPIO37_AC97_SDATA_OUT MFP_CFG(GPIO37, AF1)
  48. #define GPIO38_AC97_SYNC MFP_CFG(GPIO38, AF1)
  49. /* I2C */