board-trimslice.h 952 B

123456789101112131415161718192021222324252627282930
  1. /*
  2. * arch/arm/mach-tegra/board-trimslice.h
  3. *
  4. * Copyright (C) 2011 CompuLab, Ltd.
  5. *
  6. * This software is licensed under the terms of the GNU General Public
  7. * License version 2, as published by the Free Software Foundation, and
  8. * may be copied, distributed, and modified under those terms.
  9. *
  10. * This program is distributed in the hope that it will be useful,
  11. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  12. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  13. * GNU General Public License for more details.
  14. *
  15. */
  16. #ifndef _MACH_TEGRA_BOARD_TRIMSLICE_H
  17. #define _MACH_TEGRA_BOARD_TRIMSLICE_H
  18. #include <mach/gpio-tegra.h>
  19. #define TRIMSLICE_GPIO_SD4_CD TEGRA_GPIO_PP1 /* mmc4 cd */
  20. #define TRIMSLICE_GPIO_SD4_WP TEGRA_GPIO_PP2 /* mmc4 wp */
  21. #define TRIMSLICE_GPIO_USB1_MODE TEGRA_GPIO_PV2 /* USB1 mode */
  22. #define TRIMSLICE_GPIO_USB2_RST TEGRA_GPIO_PV0 /* USB2 PHY reset */
  23. void trimslice_pinmux_init(void);
  24. #endif