/* * Copyright (c) 2016 Scalys B.V. * SPDX-License-Identifier: GPL-2.0+ */ #ifndef _MPC8XXX_GPIO_H #define _MPC8XXX_GPIO_H struct mpc8xxx_gpio_platdata { const char *bank_name; ccsr_gpio_t *regs; int gpio_count; #if defined(CONFIG_MPC8572) || defined(CONFIG_MPC8536) /* shadowed data register used to work around errata on * MPC8572 and MPC8535 where it is not possible to read the * state of an output pin */ uint32_t data; #endif }; #endif