gpio.h 555 B

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