blob: 517652b5d0f34a9247ee152c5000ae0f79f5054b [file] [log] [blame]
Tom Rini10e47792018-05-06 17:58:06 -04001/* SPDX-License-Identifier: GPL-2.0+ */
Ruchika Gupta71bed682014-12-10 11:47:03 +05302/*
Ruchika Gupta9c078c32015-07-27 09:07:39 +05303 * Copyright 2014 Freescale Semiconductor, Inc.
Ruchika Gupta71bed682014-12-10 11:47:03 +05304 */
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
Biwen Lidb5d53b2021-02-05 19:01:47 +080016struct 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
26struct mpc8xxx_gpio_plat {
27 ulong addr;
28 ulong size;
29 uint ngpios;
30};
31
Ruchika Gupta71bed682014-12-10 11:47:03 +053032#endif