gpio.h 549 B

123456789101112131415161718192021222324252627
  1. /*
  2. * Copyright 2014 Freescale Semiconductor, Inc.
  3. *
  4. * SPDX-License-Identifier: GPL-2.0+
  5. */
  6. /*
  7. * Dummy header file to enable CONFIG_OF_CONTROL.
  8. * If CONFIG_OF_CONTROL is enabled, lib/fdtdec.c is compiled.
  9. * It includes <asm/arch/gpio.h> via <asm/gpio.h>, so those SoCs that enable
  10. * OF_CONTROL must have arch/gpio.h.
  11. */
  12. #ifndef __ASM_ARCH_MX85XX_GPIO_H
  13. #define __ASM_ARCH_MX85XX_GPIO_H
  14. #ifndef CONFIG_MPC85XX_GPIO
  15. #include <asm/mpc85xx_gpio.h>
  16. #endif
  17. struct mpc8xxx_gpio_plat {
  18. ulong addr;
  19. unsigned long size;
  20. uint ngpios;
  21. };
  22. #endif