gpio.h 449 B

12345678910111213141516171819202122
  1. /* SPDX-License-Identifier: GPL-2.0+ */
  2. /*
  3. * Copyright 2020 NXP
  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. struct mpc8xxx_gpio_plat {
  14. ulong addr;
  15. ulong size;
  16. uint ngpios;
  17. };
  18. #endif