blob: 79ba7868c26c938936ac50b9e60ae5aedadfdade [file] [log] [blame]
Tom Rini10e47792018-05-06 17:58:06 -04001/* SPDX-License-Identifier: GPL-2.0+ */
Ruchika Gupta1ef97e72014-12-10 11:52:50 +05302/*
Ruchika Gupta9c078c32015-07-27 09:07:39 +05303 * Copyright 2014 Freescale Semiconductor, Inc.
Ruchika Gupta1ef97e72014-12-10 11:52:50 +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_MX85XX_GPIO_H
14#define __ASM_ARCH_MX85XX_GPIO_H
15
mario.six@gdsys.cc5b59a352016-05-25 15:15:20 +020016#ifndef CONFIG_MPC85XX_GPIO
Oleksandr G Zhadan2d24af12015-04-28 13:59:50 -040017#include <asm/mpc85xx_gpio.h>
mario.six@gdsys.cc5b59a352016-05-25 15:15:20 +020018#endif
Oleksandr G Zhadan2d24af12015-04-28 13:59:50 -040019
Mario Sixd006f682018-01-15 11:07:48 +010020struct mpc8xxx_gpio_plat {
Bin Meng09fb76d2021-02-25 17:22:50 +080021 phys_addr_t addr;
Hamish Martin47ca9fc2016-06-14 10:17:05 +120022 unsigned long size;
23 uint ngpios;
24};
25
Ruchika Gupta1ef97e72014-12-10 11:52:50 +053026#endif