gpio.h 1.0 KB

12345678910111213141516171819202122232425262728293031
  1. /*
  2. *
  3. * This program is free software; you can redistribute it and/or
  4. * modify it under the terms of the GNU General Public License as
  5. * published by the Free Software Foundation; either version 2 of
  6. * the License, or (at your option) any later version.
  7. *
  8. * This program is distributed in the hope that it will be useful,
  9. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  10. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  11. * GNU General Public License for more details.
  12. *
  13. * You should have received a copy of the GNU General Public License
  14. * along with this program; if not, write to the Free Software
  15. * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
  16. * MA 02111-1307 USA
  17. *
  18. */
  19. #ifndef _GPIO_AM33xx_H
  20. #define _GPIO_AM33xx_H
  21. #include <asm/omap_gpio.h>
  22. #define OMAP_MAX_GPIO 128
  23. #define AM33XX_GPIO0_BASE 0x44E07000
  24. #define AM33XX_GPIO1_BASE 0x4804C000
  25. #define AM33XX_GPIO2_BASE 0x481AC000
  26. #define AM33XX_GPIO3_BASE 0x481AE000
  27. #endif /* _GPIO_AM33xx_H */