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_LS102XA_GPIO_H_ 14 #define __ASM_ARCH_LS102XA_GPIO_H_ 15 16 struct ccsr_gpio { 17 u32 gpdir; 18 u32 gpodr; 19 u32 gpdat; 20 u32 gpier; 21 u32 gpimr; 22 u32 gpicr; 23 u32 gpibe; 24 }; 25 26 struct mpc8xxx_gpio_plat { 27 ulong addr; 28 ulong size; 29 uint ngpios; 30 }; 31 32 #endif 33