1 /* SPDX-License-Identifier: GPL-2.0+ */
2 /*
3  * Copyright 2014 Freescale Semiconductor, Inc.
4  */
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 
13 #ifndef __ASM_ARCH_MX85XX_GPIO_H
14 #define __ASM_ARCH_MX85XX_GPIO_H
15 
16 #ifndef CONFIG_MPC85XX_GPIO
17 #include <asm/mpc85xx_gpio.h>
18 #endif
19 
20 struct mpc8xxx_gpio_plat {
21 	ulong addr;
22 	unsigned long size;
23 	uint ngpios;
24 };
25 
26 #endif
27